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
🤔 What does the script do?
This script automates the setup and initialization of your Primev node, catering to both bidder and provider roles. Below is a detailed breakdown of the script’s operations:
https://chainrpc.testnet.mev-commit.xyz) for network communication and the node type (either
bidderor
provider`).$HOME/.mev-commit
) where the mev-commit node will be installed.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:
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 |
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.
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.
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
🤔 What does the script do?
This script automates the setup and initialization of your Primev node, catering to both bidder and provider roles. Below is a detailed breakdown of the script’s operations:
https://chainrpc.testnet.mev-commit.xyz) for network communication and the node type (either
bidderor
provider`).$HOME/.mev-commit
) where the mev-commit node will be installed.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:
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 |
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.
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.