
Every Lean tool for Solana, served by one open API.
Joined December 2026
- Tweets8
- Following2
- Followers7
- Likes6
prove is live in Lean Directory.
Point it at the Rust that moves money in your Solana program. It proves in Lean that the code matches a written spec for every input: every signer, every amount up to u64 max, and no panics.
No rewrite in Lean. Your Anchor program stays as it is.
npx lean-solana prove ./logic --spec token-vault.withdraw
How:
You keep the money decisions in a small plain Rust crate. Charon and Aeneas translate it into Lean, and the Lean kernel checks one theorem per function against the spec.
Every run writes a receipt with the source hash, the toolchain, the theorem names and a list of what the proof trusts.
1
1
41
Replying to @toly
@toly's lean-svm is now in Lean Directory.
It compiles Lean 4 straight to Solana sBPF v3. You write the program in Lean, prove its invariants, and get a deployable .so with no LLVM or C runtime in between.
Find it from the CLI, the API or MCP:
npx lean-solana list --tier ecosystem
lean.directory/?v=2
2
3
48
How to use it:
CLI: npx lean-solana list --tier ecosystem shows it with its Lean toolchain (v4.36.0) and repo.
API: lean.directory/v1/tools/lean… returns the full entry as JSON: licence, toolchain, root module, what it covers.
Agents: connect the MCP server at lean.directory/mcp and search for lean-svm.
The code itself is at github.com/aeyakovenko/lean-…
1
2
13
Lean Directory is live.
An open API for Lean 4 on Solana. Kernel-checked Lean libraries for Solana sit in one place, versioned, with a CLI and an MCP server so you and your agents can use them.
npx lean-solana init
lean.directory
