Skip to main content

Protocol deep-dive

This section is the full design behind the network — for protocol developers who want every layer. Most builders won't need it to ship: the Using DIG tracks cover the day-to-day with plain-language concepts. Read on when you want the why.

The one idea: the capsule

A single concept runs through everything: the capsule = (storeId, rootHash). A store is a sequence of capsules; each is an immutable, on-chain-anchored generation. Compilation, pricing, retrieval, caching, and provenance are all defined per capsule.

Three properties, end to end

  • Blind — hosts only ever see indistinguishable ciphertext keyed by hashes; a miss returns a decoy, never a 404.
  • Verified — every byte is checked against an on-chain root with a Merkle inclusion proof before it is trusted.
  • Client-side — verification and decryption happen on the reader's device; trust never rests on the host.

How the three whitepapers fit

The network is specified by three normative whitepapers, each a layer:

  1. Consensus — the Proof-of-Stake Layer-2 on Chia: finality, L1 anchoring, validator lifecycle.
  2. DFSP — the Decentralized File Storage Protocol: availability-audited capsule hosting.
  3. Digstore — the content-addressable WASM store format the capsule is built from.

Read each layer in full