Skip to content

Running a validator node

Cláudio Silva edited this page Jun 12, 2025 · 12 revisions

Running a local validator node for the Sepolia deployment

  1. Create a folder /cartesi-honeypot on your machine
  2. Download the proper node executable according your machine from: https://github.com/cartesi/dave/releases/tag/v1.0.0
  3. Extract the tar file into the /cartesi-honeypot folder
  4. Create a subfolder /machine
  5. Download the proper Honeypot executable according your machine from: https://github.com/cartesi/honeypot/releases/tag/v2.0.0
  6. Extract the tar file into the /machine subfolder
  7. Create a subfolder /state
  8. Run the node executable with the following command:
    • <YOUR_RPC_URL> is your RPC provider (Alchemy free tier account has 500 block limit that blocks from running the node, but the paid Alchemy account runs well. If you want to use a free tier RPC account we suggest the Infura one. Although it also has a limit, it is enough for you keep the node running from ~2hs per day)
    • <PRIVATE_KEY_ACCOUNT_THAT_WILL_SUBMIT_CLAIMS> is the private key for the account that will sign and submit the claims onchain.
./cartesi-rollups-prt-node \
  --web3-rpc-url <YOUR_RPC_URL> \
  --web3-chain-id 11155111 \
  --app-address 0xccEbaA7E541BcaA99dE39ca248f0aa6CD33f9e3E \
  --machine-path ./machine \
  --state-dir ./state \
  pk --web3-private-key <PRIVATE_KEY_ACCOUNT_THAT_WILL_SUBMIT_CLAIMS>
  1. It is expected that you see a console log similar to the following
[2025-06-12T14:18:34Z INFO  cartesi_rollups_prt_node] Hello from PRT Rollup Node!
[2025-06-12T14:18:48Z INFO  cartesi_rollups_prt_node] Running with config:
    App Address: 0xccEbaA7E541BcaA99dE39ca248f0aa6CD33f9e3E
    Consensus Address: 0x76015b34F5b0BB4A2643895d8Eac383B90724974
    Input Box Address: 0xc70074BDD26d8cF983Ca6A5b89b8db52D5850051
    Initial Hash: 0xdbe72e1624cfed0e83469f1f5104709ecfc0d4ff6edaa7745d5912b2e184b278
    Genesis Block Number: 8439339
    Machine path: ./machine
    Signer address: <redacted>
    Chain Id: sepolia (11155111)
    Ethereum gateway: <redacted>
    State directory: <redacted>
    Sleep duration: 30 seconds
    Long block range error codes: [-32005, -32600, -32602, -32616]
[2025-06-12T14:18:51Z INFO  rollups_machine_runner] loaded machine at epoch 6 with input count 0
[2025-06-12T14:18:51Z INFO  cartesi_prt_core::strategy::player] Enter tournament at address: 0xD6479994A8cfda8D442F4022d0685143745AcCd9
[2025-06-12T14:18:53Z INFO  cartesi_prt_core::strategy::player] clock paused, 2620 blocks left
[2025-06-12T14:18:53Z INFO  cartesi_prt_core::strategy::player] no match found for commitment: 0xf9ae2b2c74c0cf64bf41705990287b73cea24b097d6fe0d1d6600acaf6878219
[2025-06-12T14:19:24Z INFO  cartesi_prt_core::strategy::player] Enter tournament at address: 0xD6479994A8cfda8D442F4022d0685143745AcCd9
[2025-06-12T14:19:25Z INFO  cartesi_prt_core::strategy::player] clock paused, 2620 blocks left
[2025-06-12T14:19:25Z INFO  cartesi_prt_core::strategy::player] no match found for commitment: 0xf9ae2b2c74c0cf64bf41705990287b73cea24b097d6fe0d1d6600acaf6878219
[2025-06-12T14:19:57Z INFO  cartesi_prt_core::strategy::player] Enter tournament at address: 0xD6479994A8cfda8D442F4022d0685143745AcCd9
[2025-06-12T14:19:58Z INFO  cartesi_prt_core::strategy::player] clock paused, 2620 blocks left
[2025-06-12T14:19:58Z INFO  cartesi_prt_core::strategy::player] no match found for commitment: 0xf9ae2b2c74c0cf64bf41705990287b73cea24b097d6fe0d1d6600acaf6878219

Clone this wiki locally