Quickstart for mev-commit bidder node
Step into the Primev ecosystem with ease. This guide covers everything you need to set up your mev-commit bidder node. For providers, please refer to the manual start mev-commit section
Launch mev-commit Bidder Node
Fund Your Account
To fund your account, please visit our Testnet Faucet. Details about the account address will be displayed after running the command above.
Send a Bid
Open a new terminal window to send a bid and receive commitments from providers. Run the following command:
You can change the values in the fields txHashes
, amount
, blockNumber
, decayStartTimestamp
, decayEndTimestamp
and revertingTxHashes
as desired.
Make sure your bid amount is sufficiently high for the commitment you’re requesting, and your target L1 block number is accurate. It’s up to the providers to commit to your bid, so try to ensure a commitment is feasible to your bid by its construction. Selecting a target block of n+1 where n is the current block number generally makes it easy to receive a commitment for standard bid amounts.
We recommend sending the raw transaction payloads in the bid. The rawTransactions
field contains hexadecimal string of the RLP encoded raw transaction payloads. Only one out of txHashes
or rawTransactions
need to be sent in a bid.
Preconf Bot Example with Docker
Ready to work preconf bot examples can be found here and ready to be dockerized. Additionally, the dockerized bidder node example repository can be found here.