| Crates.io | kona-node |
| lib.rs | kona-node |
| version | 1.0.0-rc.1 |
| created_at | 2025-07-21 21:05:45.91231+00 |
| updated_at | 2025-07-31 19:00:18.390936+00 |
| description | Kona Consensus Node |
| homepage | |
| repository | https://github.com/op-rs/kona |
| max_upload_size | |
| id | 1762678 |
| size | 308,117 |
kona-nodeA modular, robust rollup node implementation for the OP Stack built in rust.
You can install kona-node directly from crates.io using Cargo:
cargo install kona-node
kona-node [GLOBAL_OPTIONS] <SUBCOMMAND> [SUBCOMMAND_OPTIONS]
node (alias: n) - Runs the consensus node for OP Stack rollup validationnet (aliases: p2p, network) - Runs the networking stack for the noderegistry (aliases: r, scr) - Lists OP Stack chains available in the superchain-registrybootstore (aliases: b, boot, store) - Utility tool to interact with local bootstoresinfo - Get information about OP Stack chainsThe primary use case is running the consensus node with the node subcommand:
kona-node \
--chain 11155420 \
--metrics.enabled \
--metrics.port 9002 \
node \
--l1 <L1_PROVIDER_RPC> \
--l1-beacon <L1_BEACON_API> \
--l2 <L2_ENGINE_RPC> \
--l2-engine-jwt-secret /path/to/jwt.hex \
--port 5060 \
--p2p.listen.tcp 9223 \
--p2p.listen.udp 9223 \
--p2p.scoring off \
--p2p.bootstore /path/to/bootstore
Here's a complete example for running a kona-node connected to OP Sepolia:
# Set required environment variables
export L1_PROVIDER_RPC="https://your-l1-rpc-endpoint"
export L1_BEACON_API="https://your-l1-beacon-api-endpoint"
# Run the node
kona-node \
--chain 11155420 \
--metrics.enabled \
--metrics.port 9002 \
node \
--l1 $L1_PROVIDER_RPC \
--l1-beacon $L1_BEACON_API \
--l2 http://localhost:8551 \
--l2-engine-jwt-secret ./jwt.hex \
--port 5060 \
--p2p.listen.tcp 9223 \
--p2p.listen.udp 9223 \
--p2p.scoring off \
--p2p.bootstore ./bootstore
Many configuration options can be set via environment variables:
KONA_NODE_L1_ETH_RPC - L1 execution client RPC URLKONA_NODE_L1_BEACON - L1 beacon API URLKONA_NODE_L2_ENGINE_RPC - L2 engine API URLKONA_NODE_L2_ENGINE_AUTH - Path to L2 engine JWT secret fileKONA_NODE_MODE - Node operation mode (default: validator)RUST_LOG - Logging configurationExample using environment variables:
export KONA_NODE_L1_ETH_RPC="https://your-l1-rpc"
export KONA_NODE_L1_BEACON="https://your-l1-beacon-api"
export KONA_NODE_L2_ENGINE_RPC="http://localhost:8551"
export RUST_LOG="kona_node=info,kona_derive=debug"
kona-node node --port 5060
Use the --help flag to see all available options and subcommands:
# General help
kona-node --help
# Help for specific subcommands
kona-node node --help
kona-node net --help
kona-node registry --help
Run just the networking stack:
kona-node net \
--p2p.listen.tcp 9223 \
--p2p.listen.udp 9223 \
--p2p.bootstore ./bootstore
List available OP Stack chains:
kona-node registry
Get information about a specific chain:
kona-node info --help
For production deployments and advanced configurations, refer to the docker recipe in the main repository at docker/recipes/kona-node/ which provides a complete setup example with monitoring and multiple services.