- https://github.com/flashbots/mev-boost-relay (extensive documentation in the README)
- https://flashbots.notion.site/Running-mev-boost-relay-at-scale-draft-4040ccd5186c425d9a860cbb29bbfe09
To make the builder land transactions, send bundles to the builder using https://github.com/flashbots/mev-flood
- We'll put mev-flood into a Docker image
- there's no docker image yet so there are several steps:
Building and installing dependencies:
git clone https://github.com/flashbots/mev-flood.git
yarn install
yarn build
Setup an env file with private key of funded wallet, chain_id and EL endpoint:
cp .env .env.mainnet # name of testnet
export NODE_ENV=mainnet
Funding wallets
yarn script.fundWallets
Sending Bundles:
yarn dumb-dev 0 5
mev-boost only requires the genesis fork version of a particular network, which can be configured with the GENESIS_FORK_VERSION
environment variable, or -genesis-fork-version
cli argument.
You can disable verification of relay signatures on the bids with SKIP_RELAY_SIGNATURE_CHECK=1
(in order to avoid configuring the specific relay public key). See also flashbots/mev-boost#499
Also set the genesis timestamp with GENESIS_TIMESTAMP
, which is used for logging how late into the slot the requests were started.
The relay requires a number of testnet parameters, which you can set the following way:
- run the services with
--network=custom
- set the following environment variables
GENESIS_FORK_VERSION
GENESIS_VALIDATORS_ROOT
BELLATRIX_FORK_VERSION
CAPELLA_FORK_VERSION
See also: