Learn how to configure consensus clients (op-node, kona-node) for your OP Stack node.
The consensus client (also called the rollup node) builds, relays, and verifies the canonical chain of blocks.
This guide covers configuration for the most popular consensus client implementations.
Always run your consensus client and execution client in a one-to-one configuration.
Don’t run multiple execution client instances behind one consensus client, or vice versa.
Keep your sequencer private key secure and never commit it to version control.
Use environment variables or secure key management systems in production.
To communicate with execution client and enable the Engine API, you’ll also need to generate a JWT secret file and enable the consensus client’s authenticated RPC endpoint.
To generate the JWT secret file:
openssl rand -hex 32 > jwt-secret.txt
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.