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: