githubEdit

Example Projects

Code repositories, projects, and practical examples using Kontrol

Here are notable projects and code repositories that use Kontrol for formal verification. These provide practical examples and templates for different use cases.

Production Projects

Optimism

Optimismarrow-up-right 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-Soladyarrow-up-right is a formal verification project for the Solady library, demonstrating how to verify commonly used smart contract patterns and optimizations.

Lido Dual Governance

Lido's Dual Governancearrow-up-right uses Kontrol for formal verification of their dual governance mechanism.

Educational Repositories

Kontrol Demo

Kontrol Demoarrow-up-right is a simple repository demonstrating basic Kontrol usage, perfect for getting started with formal verification.

Uniswap Hooks

Uniswap Hooks Proofsarrow-up-right provides formal verification proofs for secure and modular Uniswap hooks. A detailed walkthrough of these proofs is available in the Verified Hooks workshop videoarrow-up-right.

Secureum Workshop

The Secureum Kontrol Workshoparrow-up-right provides hands-on examples and exercises for learning Kontrol, including:

  • Basic verification examples

  • Advanced proof techniques

  • Common patterns and best practices

DSS 2024

Kontrol DSS 2024arrow-up-right showcases more advanced usage patterns and verification techniques.

Getting Started

To explore these examples:

  1. Start with the Kontrol Demoarrow-up-right for basic usage

  2. Review the Secureum Workshoparrow-up-right for hands-on learning

  3. Study the Optimism implementationarrow-up-right for production usage

  4. Explore Kontrol-Soladyarrow-up-right for library verification patterns

Each project provides unique insights into how Kontrol can be used effectively in different contexts and for different purposes.

circle-info

Looking for learning materials instead? Check out our Resources page for videos, blog posts, and educational content.

Last updated

Was this helpful?