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
🤔 What does the script do?
https://chainrpc.mev-commit.xyz
or for testnet https://chainrpc.testnet.mev-commit.xyz
) for network communication and the node type (either bidder
or provider
).$HOME/.mev-commit
) where the mev-commit node will be installed.Fund Your Account
uname -sm
then downloading the appropriate bridge user CLI binary from the releases page.Or download the 1.1.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
Bid Structure Details
Key | Description |
---|---|
txHashes | Array of transaction hashes as strings |
amount | Bid amount in wei |
blockNumber | L1 block number targeted for bid inclusion |
decayStartTimestamp | Start timestamp for bid decay (in Unix milliseconds) |
decayEndTimestamp | End timestamp for bid decay (in Unix milliseconds) |
revertingTxHashes | Array of transaction hashes as strings that can revert |
rawTransactions | Array of hexadecimal encoded raw signed transaction payloads |
slashAmount | Amount to be slashed from provider stake in case of a failed bid |
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.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.