Kona is designed as a modular, library-first OP Stack implementation in Rust. This design philosophy allows developers to integrate Kona components into their applications and build custom solutions on top of the OP Stack.Documentation Index
Fetch the complete documentation index at: https://docs.optimism.io/llms.txt
Use this file to discover all available pages before exploring further.
Library Structure
Kona is organized as a collection of focused crates that can be used independently or together:- Protocol Libraries: Core protocol logic and data structures
- Node Components: Modular node architecture for building custom rollup nodes
- Proof System: Fault proof generation and verification
- Utilities: Common utilities and helper functions
Key Benefits
- Modularity: Use only the components you need
- Performance: Rust’s zero-cost abstractions and memory safety
- Extensibility: Easy to extend and customize for specific use cases
- Reliability: Strong typing and comprehensive testing
Getting Started
To use Kona as a library, add the relevant crates to yourCargo.toml: