What the API is for
A public JSON API for Lean 4 formal-verification tools on Solana. No API key needed.
npx lean-solana init full
Check its kernel proof
Each Core library returns its
GET /v1/tools/svm-model/verifylake buildresult, its#print axiomsaudit and itssorrycount.Scaffold a project that compiles
One call returns a Lake project pinned to the checked sources.
GET /v1/init?template=full
Endpoints
Each one is a GET request that returns JSON. Base URL
- /v1The index: toolchain, totals, registry digest and template names.
- /v1/toolsEvery tool with its manifest. Filter with
q,tierorcategory. - /v1/tools/:slugOne tool: summary, licence, Lean toolchain, install commands and changelog.
- /v1/tools/:slug/verifyThe kernel check: build result, theorem count, axioms,
sorrycount and SHA-256 hashes. - /v1/init?template=A starter Lake project as a list of files, pinned to Core source hashes.
- /v1/diff/:slugChanges between two versions, with a breaking flag and migration notes.
- /v1/schemaThe JSON Schema for a tool manifest, with the acceptance rules.
Registry
What the API serves today.
Core
Built and checked here
Ecosystem
Indexed from GitHub
Starter templates
Each command writes a project that builds