Quickstart for mev-commit bidder node
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
Mainnet
Testnet
Fund Your Account
In order to fund your account, you’ll need to bridge ETH to the mev-commit chain. The easiest way to do this is through our web interface:
- Visit mev-commit.xyz/bridge
- Connect your wallet (MetaMask or WalletConnect supported)
- Select Ethereum as the source chain and mev-commit as the destination
- Enter the amount of ETH you want to transfer
- Click “Bridge” and approve the transaction
Wait for the bridge transaction to complete (approximately 15 minutes for L1 finality). You can see detailed instructions in our Bridge UI guide.
For automated or programmatic bridging, you can use our CLI tool by first confirming your operating system and architecture by running uname -sm
then downloading the appropriate bridge user CLI binary from the releases page.
Or download the 1.0.0 bridge CLI directly from the links below:
The CLI application provides two sub-commands to bridge to and from the settlement chain. For more details go the the bridge documentation.
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 amount
, blockNumber
, decayStartTimestamp
, decayEndTimestamp
and revertingTxHashes
as desired. The rawTransactions
field contains hexadecimal string of the RLP encoded raw transaction payloads, include raw transaction payloads in your bid in the atomic sequence in which they need to be placed in the block. Only one out of txHashes
or rawTransactions
need to be sent in a bid.
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.
Alternatively you can send a bid using the txHashes
field instead of rawTransactions
to refer to a transaction a provider has in their own environment using its hash. This method also allows you to bid on others’ behalf using their transaction hashes.
Bidder CLI application
In order to make it simpler for users to interact with the bidder node, the team has also created a CLI application which aims to provider a simpler UX to send transactions or bids to the mev-commit network. You can check the bidder CLI docs for more details.
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.