mev-relay-proxy allows validators to connect to mev boost relay via grpc.
mev-relay-proxy server proto files are defined as part of github.com/bloXroute-Labs/relay-grpc
mev-relay-proxy can run in any machine, as long as it is reachable by the validator client. The default port is 18550. The most common setup is to install it in the same machine as the validator client.
Install the dependencies:
sudo apt install make gcc
make build
This guide provides instructions on how to run the mev-relay-proxy as Docker container.
a
docker stop mev-relay-proxy
docker rm mev-relay-proxy
docker run --name=mev-relay-proxy \
--hostname=0ba39b5ff5c5 \
--workdir=/app \
-p 18550:18550 \
--restart=no \
--runtime=runc \
--detach=true \
bloxroute/mev-relay-proxy:v0.0.1 \
--addr 0.0.0.0:18551 \
--relays {RELAY_IP_1:PORT},{RELAY_IP_2:PORT}
--relay flag in mev boostRun MEV-Boost pointed at a Goerli relay and relay-proxy:
./mev-boost -goerli -relay-check -relays http://0x821f2a65afb70e7f2e820a925a9b4c80a159620582c1766b1b09729fec178b11ea22abb3a51f07b288be815a1a2ff516@bloxroute.max-profit.builder.goerli.blxrbdn.com,http://0x821f2a65afb70e7f2e820a925a9b4c80a159620582c1766b1b09729fec178b11ea22abb3a51f07b288be815a1a2ff516@54.164.127.218:18551 &
Run MEV-Boost pointed at a mainnet max profit relay and relay-proxy running as local host:
./mev-boost -goerli -relay-check -relays https://0x8b5d2e73e2a3a55c6c87b8b6eb92e0149a125c852751db1422fa951e42a09b82c142c3ea98d0d9930b056a3bc9896b8f@bloxroute.max-profit.blxrbdn.com,https://0x8b5d2e73e2a3a55c6c87b8b6eb92e0149a125c852751db1422fa951e42a09b82c142c3ea98d0d9930b056a3bc9896b8f@localhost:18551 &
Run MEV-Boost pointed at a mainnet regulated relay and relay-proxy running as local host:
./mev-boost -goerli -relay-check -relays https://0xb0b07cd0abef743db4260b0ed50619cf6ad4d82064cb4fbec9d3ec530f7c5e6793d9f286c4e082c0244ffb9f2658fe88@bloxroute.regulated.blxrbdn.com,https://0xb0b07cd0abef743db4260b0ed50619cf6ad4d82064cb4fbec9d3ec530f7c5e6793d9f286c4e082c0244ffb9f2658fe88@localhost:18551 &
Content type
Image
Digest
sha256:42d039538…
Size
14.2 MB
Last updated
over 2 years ago
docker pull bloxroute/mev-relay-proxy