Implementation
The Lean EDSL describing what the contract does. Familiar shape: storage, functions, requires, returns. Compiles to Yul, then to EVM bytecode.
玉 Verity developer toolchain
Tama means jade and soul. Hard, beautiful, and the inner truth of a thing.
Tama is the developer toolchain for Verity — a way of writing smart contracts where you also write down, mathematically, what the contract must do, and a machine checks the proof. One CLI takes you from source, through proof and codegen, to the same audited bytecode you ship on-chain.
curl -L https://tama.tools/install.sh | sh Install → A Verity contract is written three times — as code, as a specification, and as a proof that the two agree. Tama keeps all three in one project, in one build, in one verifiable artifact.
The Lean EDSL describing what the contract does. Familiar shape: storage, functions, requires, returns. Compiles to Yul, then to EVM bytecode.
What the contract must do. Invariants, postconditions, frame conditions — the rules a correct implementation has to satisfy.
A machine-checked argument that the implementation satisfies the specification. No hand-waving, no "trust the developer." Lean checks every step.
The pipeline
Tama coordinates Lean, the Verity compiler, solc, and Foundry,
and threads the manifest — a single JSON record per contract — through every
stage. Audits read the same manifest, so the bytecode you ship and the
properties you proved about it cannot drift apart.
Why bother
Tama compiles Verity to Yul, then to bytecode, and records a SHA-256 of the result in the manifest. The deployer that goes on-chain embeds those exact bytes — not a Solidity reimplementation.
A Tama project is a Foundry project. Run forge test
directly. Your invariant fuzz tests double as mirrors for the
proven obligations, so the two views back each other up.
tama audit trust-boundary walks the Lean proof and
refuses any reliance on sorry or unallowlisted axioms.
Every assumption has a name, a reason, and an entry in
tama.toml.
Detects your platform, fetches the signed release manifest,
verifies the SHA-256, and drops tama + tamaup
into ~/.tama/bin. No flags, no surprises.
curl -L https://tama.tools/install.sh | sh Linux and macOS, x86_64 and aarch64. Read what it does first →
玉魂
Hard like jade. The soul of a system you can hold in your hand.