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

Add an integrations section and remove that copy from the wallet quick start #420

Closed
wants to merge 12 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
title: Private transactions
---

This has been moved to the [Flashbots Protect](/flashbots-protect/additional-documentation/eth-sendPrivateTransaction) portion of the docs.

This has been moved to the [Flashbots Protect](/flashbots-protect/additional-documentation/eth-sendPrivateTransaction) portion of the docs.
9 changes: 9 additions & 0 deletions docs/flashbots-protect/integrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Integrations
---

## Using Flashbots Protect
There are three ways to use Flashbots Protect:
1. Add the Flashbots Protect RPC (`https://rpc.flashbots.net`) to your wallet. Most users will do this. You can see the [wallet quick start guide](/flashbots-protect/rpc/quick-start) to get started and use our "add to your wallet" button.
2. Send transactions to `https://rpc.flashbots.net` using [eth_sendRawTransaction](https://docs.alchemy.com/reference/eth-sendrawtransaction).
3. Send transactions to Flashbots using [eth_sendPrivateTransaction](/docs/flashbots-protect/additional-documentation/eth-sendPrivateTransaction).
2 changes: 1 addition & 1 deletion docs/flashbots-protect/mev-share.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ProtectButtonSelector from "@site/src/components/ProtectButtonSelector"
## Introduction
MEV-Share allows users to gain up to 90% of the MEV that their transactions create. By default, Protect users' transactions are sent to Flashbots [MEV-Share Node](/flashbots-mev-share/overview), which returns them up to 90% of the MEV that their transactions create. By default, Protect users will be connected with the [Stable](/flashbots-protect/mev-share#stable-configuration) configuration, which is continuously tuned by Flashbots to optimize execution while protecting users from harmful MEV. This document guides users on the nuances and configurations of MEV-Share.

Flashbots MEV-Share Node maintains a [Stable](/flashbots-protect/mev-share#stable-configuration) configuration that is continuously optimized to attempt to give users better execution while protecting them from harmful MEV. All users need to do to benefit is to [send transactions](/flashbots-protect/rpc/quick-start) to Flashbots Protect.
The Flashbots MEV-Share Node maintains a [Stable](/flashbots-protect/mev-share#stable-configuration) configuration that is continuously optimized to attempt to give users better execution while protecting them from harmful MEV. All users need to do to benefit is to [send transactions](/flashbots-protect/rpc/quick-start) to Flashbots Protect.

Advanced users can exert more control over their transactions and preferences through the advanced panel or by manually setting up their Protect RPC request.

Expand Down
13 changes: 3 additions & 10 deletions docs/flashbots-protect/rpc/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,11 @@ Flashbots Protect is a user-friendly, secure, and powerful way to transact on Et
It has the following key benefits:
- **Configurable:** you can choose which builders to send to and your mev-share settings.
- **Frontrunning protection:** your transaction will not be seen by hungry sandwich bots in the public mempool.
- **Get MEV back**: if your transaction creates MEV, you get up to 90% of it back through [MEV-Share](/flashbots-mev-share/overview).
- **Get MEV back**: if your transaction creates MEV, you get up to 90% of it back through [MEV-Share](/flashbots-protect/mev-share).
- **No failed transactions:** your transaction will only be included if it doesn't include any reverts, so you don't pay for failed transactions.

## Using Flashbots Protect
There are three ways to use Flashbots Protect:
1. Add the Flashbots Protect RPC (`https://rpc.flashbots.net`) to your wallet. Most users will do this.
2. Send transactions to `https://rpc.flashbots.net` using [eth_sendRawTransaction](https://docs.alchemy.com/reference/eth-sendrawtransaction).
3. Send transactions to Flashbots using [eth_sendPrivateTransaction](/flashbots-protect/additional-documentation/eth-sendPrivateTransaction).


Which way you integrate is up to you and your preferences. The most simple way to use Flashbots Protect is to add the Flashbots Protect RPC to your wallet. You can do so using the below button or by following the manual instructions below. **Note that you can configure the builders you send to and your MEV-Share hints as well**.

## Add the Flashbots Protect RPC
You can add the Flashbots Protect RPC to your wallet and configure your desired builders and [MEV-Share](/flashbots-protect/mev-share) settings below. For others ways to integrate, please see [integrations](/flashbots-protect/integrations).
<ProtectButtonSelector />

## Adding Flashbots Protect RPC Manually
Expand Down
1 change: 1 addition & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ module.exports = {
"Flashbots Protect": [
'flashbots-protect/overview',
'flashbots-protect/rpc/quick-start',
'flashbots-protect/integrations',
'flashbots-protect/mev-share',
'flashbots-protect/key_considerations',
'flashbots-protect/cancellations',
Expand Down
Loading