Enable a proposer
This guide will help you enable your Taiko node as a proposer.
- You have already setup a node (see: Run a node).
- Must have a balance of ETH on Sepolia L1 (see: Receive tokens).
- Access to either a local prover (see: Enable a prover) or an outsourced prover from the prover market. Read more about the proof design here.
Do not use a private key that is valuable to you. The private key will be
stored in plain text in the
.env file, and this is not secure. There is a
real risk of losing your assets. You should only use a test account.
Set the following environment variables to enable your node as a proposer:
L1_PROPOSER_PRIVATE_KEYto the private key of your L1 account (with balance) who will send TaikoL1.proposeBlock transactions
L2_SUGGESTED_FEE_RECIPIENTto the address of your L2 account who will be the tx fee beneficiary of the L2 blocks that you proposed
Doing this is optional if you are already running a local prover. See enable a prover for more information on how to set that up. By default the proposer will select your local prover to provide bonds for the proposed blocks.
If you are not running a local prover, then you can specify a prover from the prover market by overriding the default value for:
Run this command to verify you have some proposer logs:
docker compose logs -f taiko_client_proposer | egrep "Propose transactions succeeded"
You should see a log if you have proposed a block:
📝 Propose transactions succeeded.
You can check all commands to see proposer logs in the node runner manual.
- Enable a proposer on your Taiko L2 node (opens in a new tab) (deprecated, but still useful)
View the Node troubleshooting reference for help on any common error codes / issues.