Maximal Extractable Value (MEV) refers to the maximum value that can be extracted from block production in excess of the standard block reward and gas fees. MEV-Boost is a specialized "sidecar" software developed by Flashbots that allows Ethereum stakers to access a competitive market of block builders.
By default, your Ethereum node builds blocks locally using the transactions available in its own mempool. However, specialized entities called "Builders" use advanced algorithms to order transactions more efficiently, often extracting significant MEV. Through MEV-Boost, these builders submit their pre-built blocks to "Relays," which then offer the most profitable block to your validator. Running MEV-Boost can increase your staking rewards by an average of 60% or more depending on network volatility.
Before proceeding with the configuration, ensure your environment meets the following requirements:
The most common way to install MEV-Boost is by downloading the official binary from the Flashbots GitHub repository. You can also compile from source if you prefer, but for most users, the binary is safer and faster.
# Create a directory for MEV-Boost
mkdir ~/mev-boost && cd ~/mev-boost
# Download the latest release (check GitHub for the current version)
wget https://github.com/flashbots/mev-boost/releases/download/v1.6.0/mev-boost_1.6.0_linux_amd64.tar.gz
# Extract the archive
tar -xvf mev-boost_1.6.0_linux_amd64.tar.gz
# Move the binary to a global location
sudo mv mev-boost /usr/local/bin/
Test the installation by running mev-boost --version to ensure the binary is executable.
Relays are the bridges between block builders and your validator. It is a best practice to connect to multiple reputable relays to ensure redundancy and maximize profit potential. Using only one relay introduces a single point of failure; if that relay goes offline, your validator may miss a block proposal.
Commonly used relays include:
You will need the URL of each relay's "Relay ID," which usually looks like a long string of characters in an HTTPS URL.
To ensure MEV-Boost runs automatically on startup and restarts if it crashes, you should create a systemd service file.
sudo nano /etc/systemd/system/mev-boost.service
Paste the following configuration into the file, replacing the relay URLs with the ones you have selected:
[Unit]
Description=MEV-Boost Service
After=network.target
[Service]
User=mevboost
Group=mevboost
Type=simple
Restart=always
RestartSec=5
ExecStart=/usr/local/bin/mev-boost \
-mainnet \
-relay-check \
-relays https://0xac6e...other-relay-urls-here
[Install]
WantedBy=multi-user.target
Save and close the file, then enable the service:
sudo systemctl daemon-reload
sudo systemctl enable mev-boost
sudo systemctl start mev-boost
Your Consensus Client (Beacon Node) needs to be told to look for MEV-Boost when a block proposal is due. This is done by adding a "builder" flag to your Consensus Client startup script.
For Lighthouse: Add --builder http://127.0.0.1:18550 to your lighthouse beacon_node command.
For Prysm: Add --http-mev-relay=http://127.0.0.1:18550 and --register-validator to your beacon node flags.
For Teku: Add --validators-builder-registration-default-enabled=true and --builder-endpoint=http://127.0.0.1:18550.
After adding these flags, restart your Consensus Client service to apply the changes.
Once everything is restarted, check the MEV-Boost logs to ensure it is communicating with the relays correctly. Use the following command:
journalctl -u mev-boost -f
Look for messages like "Checking relay" and "relay reached". This indicates that MEV-Boost is successfully connected. Additionally, check your Consensus Client logs; you should see confirmation that the builder API is enabled and that it has successfully registered your validator with the builder network.
Is MEV-Boost mandatory for Ethereum validators?
No, it is optional. However, if you do not run it, you will only receive rewards from the local mempool, which are typically much lower than builder-optimized blocks.
What happens if MEV-Boost fails?
If MEV-Boost is down or the relays fail to respond, modern Consensus Clients have a "fail-safe" mechanism that will fall back to local block production. This ensures you still propose a block, though it may have lower rewards.
Does MEV-Boost affect my validator security?
MEV-Boost is a sidecar software. It does not have access to your validator's private signing keys. It only sends block headers for you to sign, keeping your keys isolated within your validator client.
2TB NVMe SSD
View on AmazonIntel NUC Mini PC
View on AmazonShare this guide: