Registering as a Provider
To register on the mev-commit network, providers need to stake ETH in the provider registry contract. This adds credibility to issued commitments, as stake may be slashed in the event of a broken commitment, such as committing to a preconfirmation bid and not including the relevant transaction in a block.
Once a provider is registered on the network, other nodes will connect to it, and the provider node will receive bids.
You can use the provider API to stake and check your stake balance.
Launch mev-commit Node
Make sure you’ve launched a mev-commit node first.
Fund Account
Make sure you’ve also funded your account on the mev-commit chain.
Check Minimum Stake Amount
Check the minimum amount that can be staked, and consider staking more than the minimum. Bidders will only connect to providers which have stake higher than this minimum. The larger a provider’s stake, the greater the credibility behind that provider’s commitments. The amount is set in wei
.
Get Provider's Ethereum Address
Get your provider’s Ethereum address from the topology endpoint. This will be used as the challenge message for BLS signing:
Generate BLS Signature
Rewards on mev-commit now rely on the BLS key found in the relay and are then tied to the BLS key registered. The BLS key that is sending messages to the relay should be registered. This registration can now be done automatically without manual intervention. Once the registration is done, the settlement chain will be able to correctly attribute the winning providers on L1.
Download the bls-signer tool from the releases page and use it to generate your signature:
Make note of both the public key and signature outputs - you’ll need these in the next step.
Submit Stake Registration
You can map multiple BLS keys to a single stake registration by including multiple public keys and signatures in the arrays. This allows you to use different BLS keys while maintaining a single stake amount.
Register your stake by submitting:
- The stake amount (in wei)
- Your BLS public key from the previous step
- The BLS signature you generated
Here’s an example request:
Verify Registration
Once staked, peer connection logs should appear within a few minutes. You can check the /topology
endpoint again to verify connected peers.
Other commands that can be used are:
-
Check stake balance
-
Get the account address of your node
We recommend reading the consuming bids section next to consume bids effectively.