Prerequisites
Install these tools first:elan— Lean toolchain manager (uses the repo-pinnedlean-toolchain).just— command runner, from casey/just.solc(0.8.30) and Foundry (forge/cast/anvil) — only needed for the EVM target.
Build
justfile is the developer-facing command catalog and CI entrypoint:
Compile a contract
Compile the EVM Counter example to runtime bytecode:Next steps
Onboarding
Full local setup, editor config, and the minimum validation loop.
Architecture
How the compiler lowers Lean sources to chain-native artifacts.
Backend status
Which targets are mature, experimental, or research.
Validation gates
The runnable gates and tool prerequisites for every target.