Bidder CLI application
The bidder-cli
aims to provide a better UX for users to send raw transactions or bids on existing transactions, to the mev-commit network. The tool can be downloaded from the releases page.
The send-tx
command is used to send raw transaction payloads. Here users can create a new transaction on the L1 chain and send it directly to the mev-commit network. Users need to provide the account to be used as source of the funds and to sign the transaction. Currently this allows users to send simple transfer transactions.
The rpc-url
is the URL for the gRPC server running on the bidder node. This is by default running on port 13524. So if you run the node locally, this would typically be localhost:13524
.
If block-number
is not specified, the next block number is used for the bid.
Similarly, the default decay-duration
is 10 minutes. Which means the bid amount will decay starting from current time to 10 minutes from now.
value
is the amount of ETH to be sent in the L1 transaction and bid-amount
is the amount the bidder is willing to give to the providers for preconfirming the transaction. All the other flags have sane defaults.
l1-rpc-url
to get the nonce for the account. Users can point it to a different RPC URL if they are sending transactions to a custom RPC.The send-tx-hash
is used to send bids for transactions that were already submitted to the mempool of the block-builders or to the public mempool. There is a possibility that the transaction is not gossiped to the provider’s block building infrastructure in time, so it is better to use the Provider’s RPC for submitting transactions.
Users can provider multiple transaction hashes to bid on. Rest of the flags have similar use cases as above.