Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deploying contracts to a Forma Network

The .fsl you write with this guide’s language rules does not have to stay on your machine: Forma Network is the deployment and execution target for contracts — a permissioned blockchain that orders operations by consensus and executes them with the same real engine this toolchain runs locally.

What the network adds on top of local execution:

  • Consensus-ordered execution — your operation is ordered by a validator committee (Mysticeti) before it runs; every honest node computes the same outcome.
  • Immutable, queryable receipts — each execution gets a durable, content-addressed receipt with typed standings (Executed{Complete}, Rejected, OutOfGas), readable from any validator.
  • Contract lifecycle — sources are incorporated as immutable revisions (the real checker gates admission), deployed, invoked revision-exactly, and upgraded with historical binding: old receipts stay bound to the revision that executed them, forever.
  • Cross-world atomicity — an operation can drive effects in multiple worlds all-or-none (DvP-style), surviving crashes between effects.
  • Recovery — validators can be killed and restarted; state, history and identity recover from disk.

The language itself is unchanged: contracts are ordinary .fsl sources (modules, relations, rules, infer applications). What the network adds is the operational wrapper — incorporate/deploy/invoke/upgrade — and the guarantees above.

Where to go

Boundary reminder

Local toolchain disclaimers elsewhere in this book (e.g. “the package store has no network in v0.1”) are about this toolchain’s store and APIs. Forma Network is a separate product — its guarantees and scope are defined by its own contract (docs/book/src/autoridades/contracts/forma-network-v0.1/CONTRACT.md) and documented in the directory above.