Enable a proposer
Prerequisites
- You are already running a Taiko node.
Using simple-taiko-node
-
First, you will need to have a prover from the marketplace or run your own SGX prover.
-
You MUST set
PROVER_ENDPOINTS
in simple-taiko-node.env
file to the your SGX prover’s endpoint or one from the marketplace. If you do not set it and leave it default while not running a prover, your proposer will not work. -
Next, set the
L1_PROPOSER_PRIVATE_KEY
to an L1 account’s private key which will send the Propose Block transactions. -
Then, set the
L2_SUGGESTED_FEE_RECIPIENT
to an L2 account’s public key that will receive the fee. -
Finally set
ENABLE_PROPOSER
totrue
in simple-taiko-node.env
. -
Now that the proposer is configured properly, you can run it with
docker compose --profile proposer up -d
!