This guide will walk you through integrating your relay with mev-commit.
Once integrated, your relay will automatically:
View the Example Implementation
Test and Deploy
Test filtering behavior on Holesky:
Register Your Relay
You have now successfully integrated your relay with mev-commit.
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.
To track which validators have opted into mev-commit monitor the appropriate validator registry contracts:
When receiving bids from builders:
First, check if target validator has opted into mev-commit. For opted-in validators, verify the submitting builder:
Only forward bids that satisfy one of these conditions.
This guide will walk you through integrating your relay with mev-commit.
Once integrated, your relay will automatically:
View the Example Implementation
Test and Deploy
Test filtering behavior on Holesky:
Register Your Relay
You have now successfully integrated your relay with mev-commit.
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.
To track which validators have opted into mev-commit monitor the appropriate validator registry contracts:
When receiving bids from builders:
First, check if target validator has opted into mev-commit. For opted-in validators, verify the submitting builder:
Only forward bids that satisfy one of these conditions.