This guide shows how to run kona-node in sequencer mode from the command line. For how sequencer mode works internally and how to configure it programmatically through the Node SDK, see the sequencer mode design page.
Sequencer mode is an advanced configuration primarily used by rollup operators. Most users will run nodes in the default validator mode.
Basic Sequencer Setup
To run a Kona node in sequencer mode:
Required Arguments
Required ConfigurationSequencer mode requires all standard node arguments plus the --mode=Sequencer flag. Missing any required argument will prevent the node from starting.
Sequencer-Specific Flags
The full flag catalogue, including the standard node arguments shared with validator mode, lives in the Kona node CLI reference.
Example Configurations
Basic Sequencer
Sequencer with Conductor
Recovery Mode Sequencer
Key Considerations
Sequencer Operation
- L1 Confirmations: The
--sequencer.l1-confs setting determines how many L1 blocks the sequencer waits before using an L1 block as an origin. Higher values provide more safety but increase latency.
- Recovery Mode: Use
--sequencer.recover=true when the sequencer needs to catch up after being offline.
- Conductor Integration: For multi-sequencer deployments, configure the conductor service for proper leader election.
Running a sequencer in production requires careful consideration of infrastructure, monitoring, and failover procedures. Ensure proper JWT secret management and secure network configuration.