Example Projects
Real-world projects and examples using Kontrol
Here are some notable projects and examples that use Kontrol for formal verification:
Production Projects
Optimism
Optimism uses Kontrol to verify critical components of their Bedrock contracts. Their setup includes:
Custom deployment sequence for Kontrol proofs
Automated proof generation and verification
Integration with their CI pipeline
Comprehensive documentation of their verification process
Solady
Kontrol-Solady is a formal verification project for the Solady library, demonstrating how to verify commonly used smart contract patterns and optimizations.
Educational Resources
Patrick Collins' Course
Cyfrin's Smart Contract Exploits Course includes Kontrol examples as part of their curriculum, showing how to use formal verification to prevent common vulnerabilities.
Secureum Workshop
The Secureum Kontrol Workshop provides hands-on examples and exercises for learning Kontrol, including:
Basic verification examples
Advanced proof techniques
Common patterns and best practices
Example Repositories
Kontrol Demo
Kontrol Demo is a simple repository demonstrating basic Kontrol usage, perfect for getting started with formal verification.
DSS 2024
Kontrol DSS 2024 showcases more advanced usage patterns and verification techniques.
Getting Started
To explore these examples:
Start with the Kontrol Demo for basic usage
Review the Secureum Workshop for hands-on learning
Study the Optimism implementation for production usage
Explore Kontrol-Solady for library verification patterns
Each project provides unique insights into how Kontrol can be used effectively in different contexts and for different purposes.
Last updated
Was this helpful?