Skip to content

Enable a prover

Prerequisites

Enable a prover with simple-taiko-node

  1. A Taiko prover needs to be able to generate SGX proofs at the moment. Please follow the README guide on our raiko repository.

  2. Then set the SGX_RAIKO_HOST endpoint in your .env file.

  3. Set the L1_PROVER_PRIVATE_KEY to an L1 account’s private key which will send the Prove Block transactions.

  4. Set the MIN_ACCEPTABLE_PROOF_FEE to the value in GWei that you deem sufficient.

  5. Finally set ENABLE_PROVER to true in simple-taiko-node .env.

  6. You can then run your prover with docker compose --profile prover up -d!

Approve TaikoL1 as TTKOh spender

You will need TTKOh deposited on the TaikoL1 contract to secure the bond for the proofs you generate.

  1. Approve the TaikoL1 contract as a spender.

    Visit the TTKOh contract on Holesky here.

  2. Click the Connect to Web3 button.

  3. Click the approve function and set the spender address to the TaikoL1 contract address: 0x79C9109b764609df928d16fC4a91e9081F7e87DB.

  4. Set the amount to at least the minimum bond amount of 250 TTKOh.

    You will need 250 TTKOh for each bond you sign. After entering 250, you need to set the 18 decimals that the TTKOh contract takes, you can click the plus button and then select 10^18.

  5. Finally, click the Write button.