Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wording and add warning about switching RPCs #524

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/flashbots-protect/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Flashbots Protect screens all transactions to check if they need MEV protection.

The following functions do not typically require MEV protection: `transfer`, `transferFrom`, `approve`, `(weth) withdraw`, `(weth) deposit`, `safe transfer (NFT)`.

:::warning Switching RPCs Before Transaction Confirmation
If you submit a transaction through Flashbots Protect using MetaMask and then switch RPCs before the transaction is confirmed, MetaMask may resend the transaction to the public mempool. This could expose your transaction to MEV attacks.

To avoid this, ensure you do not switch RPCs until your transaction has been successfully included in a block.
:::

## Using Flashbots Protect

There are three ways to use Flashbots Protect:
Expand Down
Loading