CVLR, pronounced "cavalier" 🐶, is a set of Rust libraries that provide verification primitives for Rust. We currently use it for writing formal specifications for Solana and Soroban smart contracts.
Examples of respective usage can be found in the Solana Examples and Sunbeam Tutorials repositories.
Refer to the Certora documentation for further information about the verification of Solana and Soroban smart contracts.
To build the library, run:
cargo buildTo test the library, run:
cargo testFor testing purposes, cargo-expand is required. It can be installed by running:
cargo install cargo-expandCurrent release: 0.5.0