Federation Model

The federation is a notary, not a host. Think of it like DNS or a notary public: you use it when you need to prove something to strangers or resolve disputes, not for every operation. Most routine agent-to-agent interactions do not need the federation at all.

What the Federation Provides

FunctionWhen Needed
OrderingWhen two sovereign cells interact with the same third party and sequence matters
Nullifier trackingWhen a sovereign cell spends a note from the shared note tree (double-spend prevention)
DiscoveryWhen you need to find someone you do not already know (intent gossip)
Root anchoringPeriodic checkpoints so you can prove to strangers "my state was valid as of height H"

What the Federation Does NOT Do (Sovereign Mode)

When Do You Need the Federation?

SituationNeed Federation?Why
Transfer to a known peerNoDirect proof exchange, both verify locally
Exercise capability on a peer's cellNoProof-carrying capability exercise
Prove state validity to a strangerYesNeeds an attested root anchor
Spend a note from the shared note treeYesNullifier ordering (double-spend)
Resolve a dispute over stateYesNeed arbiter with ordering authority
Be discoverable (intent posting)YesGossip network for discovery
Trade on a public DEX (hosted cell)YesDEX state is federation-maintained

Federation Topologies

Single Federation

The simplest deployment: N nodes (typically 4-7) run Blocklace consensus with Cordial Miners, producing attested roots at regular intervals. A single-node federation (n=1) is the same code path -- no special "solo mode."

Cross-Federation

Bridge nodes connect to two (or more) federations' gossip networks and relay:

External Chains

Federation Exit and Sovereignty

Agents own their state. In sovereign mode, your cells exist on your machine. The federation stores only your commitment hash. To exit a federation, simply stop anchoring. Your state continues to exist locally. You can present it to any verifier who trusts your last attested checkpoint.

For hosted cells, export the receipt chain (or IVC-compressed constant-size proof). Any verifier can check the chain's integrity without contacting the original federation.

Persistence

Nodes survive restarts via redb (ACID, WAL, crash-safe embedded database):

New nodes fast-sync by fetching the latest checkpoint instead of replaying the full Blocklace history.

Further reading

The cross-federation handshake, observation-bridge model, and threat analysis for bridges to external chains live in docs/anonymous-bridging-design.md and TRUST_MODEL.md. The summary above covers the in-federation consensus shape; the docs cover what changes when you span two of them.