Actually Smart ContractsalphaTemplates

Templates

Inference programs you can start from

Each template is a complete Actually Smart Contract program: the terms format, the rules code enforces, the questions a jury answers, and the escrow policy a judiciary signer runs on Solana. Each one shipped in Verafy Harness v0.0.5-alpha with a design proposal (VIP), tests and a demo. Each comes with a prompt: paste it into an AI, answer its questions, and it writes the program for your case.

How every template works

01 Terms

Signed before anything happens

The parties, the outcomes and what each one pays are written and signed first. A jury can only pick among them.

02 Code, then jury

Limits code can check stay in code

Caps, recipients, deadlines and payout tables are checked deterministically. The jury answers only the questions that need judgment, from pinned evidence.

03 Escrow

The money can only go where a ruling says

A Squads wallet with a judiciary signer. The signer replays the signed log, rebuilds each jury contract and verifies each sealed round before it signs.

Agreements

Funding

Treasury and governance

Also in the harness

Shipped policy templates that don't have a page here yet.

Every template is a function in policy.js: policyFromTemplate(name, params) returns the policy, and its hash is what the signer on chain carries.