Skip to main content

Language Reference

Syntax for models, rules, predicates, and typed paths. Read the cookbooks first when you are writing a formula or a witness model.

A contract is state + model + rules. This reference is the language those artifacts are written in.

File Types

ExtensionPurposeLocation
.modalityModel or rule definitionsmodel/ or rules/
.idPublic identity (ed25519 pubkey)state/
.passfilePrivate key (for signing)Project root
.hashSHA256 hash commitmentstate/
.datetimeISO 8601 timestampstate/