Enabling mev-commit on your relay is simple and requires minimal changes to your existing setup.
This guide explains how to integrate your relay with mev-commit.
Your relay will check if the current slot’s validator has opted into mev-commit:
To implement this, your relay needs to track two things:
View the Example Implementation
MEV_COMMIT_RPC=wss://chainrpc-wss.mev-commit.xyz PROVIDER_REGISTRY_ADDR=
Test and Deploy
Test filtering behavior on Holesky:
Register Your Relay
You have now successfully integrated your relay with mev-commit.
To track which validators have opted into mev-commit, you’ll want to monitor the following contracts:
Validator Registry Router on Ethereum L1:
0x251Fbc993f58cBfDA8Ad7b0278084F915aCE7fc3
tbd
Provider Registry on mev-commit-chain:
tbd
0x1C2a592950E5dAd49c0E2F3A402DCF496bdf7b67
By monitoring these contracts, you can determine which validators and providers have opted into mev-commit and ensure compliance with the protocol.
The mev-commit provider registry contract maintains the list of authorized providers such as block builders. You can query this contract to validate builder addresses.
Contract Details:
How to query the registry for connected providers
You can retrieve all connected providers using the following script:
Expected Output
The output will be a list of providers, identified by their BLS pubkey, that have registered with mev-commit.
Enabling mev-commit on your relay is simple and requires minimal changes to your existing setup.
This guide explains how to integrate your relay with mev-commit.
Your relay will check if the current slot’s validator has opted into mev-commit:
To implement this, your relay needs to track two things:
View the Example Implementation
MEV_COMMIT_RPC=wss://chainrpc-wss.mev-commit.xyz PROVIDER_REGISTRY_ADDR=
Test and Deploy
Test filtering behavior on Holesky:
Register Your Relay
You have now successfully integrated your relay with mev-commit.
To track which validators have opted into mev-commit, you’ll want to monitor the following contracts:
Validator Registry Router on Ethereum L1:
0x251Fbc993f58cBfDA8Ad7b0278084F915aCE7fc3
tbd
Provider Registry on mev-commit-chain:
tbd
0x1C2a592950E5dAd49c0E2F3A402DCF496bdf7b67
By monitoring these contracts, you can determine which validators and providers have opted into mev-commit and ensure compliance with the protocol.
The mev-commit provider registry contract maintains the list of authorized providers such as block builders. You can query this contract to validate builder addresses.
Contract Details:
How to query the registry for connected providers
You can retrieve all connected providers using the following script:
Expected Output
The output will be a list of providers, identified by their BLS pubkey, that have registered with mev-commit.