Quickstart Your mev-commit Node
Step into the Primev ecosystem with ease. This guide covers everything you need to set up your mev-commit node, whether you’re aiming to be a bidder or a provider.
Launch mev-commit Node
curl -L -o launchmevcommit launch.mev-commit.xyz; chmod +x launchmevcommit; ./launchmevcommit --node-type bidder
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:
curl -X POST http://localhost:13523/v1/bidder/bid \
-d '{
"txHashes": ["0549fc7c57fffbdbfb2cf9d5e0de165fc68dadb5c27c42fdad0bdf506f4eacae"],
"amount": "<amount in wei>",
"blockNumber": <integer l1blocknumber>,
"decayStartTimestamp": <timestamp milliseconds>,
"decayEndTimestamp": <timestamp milliseconds>,
"revertingTxHashes": []
}'
You can change the values in the fields txHashes
, amount
, blockNumber
, decayStartTimestamp
and decayEndTimestamp
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.