Skip to content

Concepts

Identifier

Content is identified by its SHA-256 digest. For files, the cid is sha256:<digest>.

File

A file belongs to an author and a cid. Its state follows from three kinds of events: manifest, command and delete. For each, the newest event of the author applies.

Manifest

Name, size, chunk size, Merkle root over the chunks, address at the origin, and policy.

Asset

An asset has a publisher, a name and versions. Its reference is

assets/<publisher>/<name>:<version>

If a publisher signs two events with different content for one version, both are kept as branches. The first one is served, and the conflict stays visible.

Components

Component Role
Signer Holds keys, signs, and verifies events
Origin Stores files, on disk or S3
Aggregator Collects file events and scheduler heartbeats
Bridge Manager for Dragonfly. Turns file events into preheating and assigns schedulers
Scheduler, seed, peer Dragonfly
L2 aggregator, L2 query Index of assets
Hyperdrive Peer-to-peer drive for asset data
Ingestion Moves an asset from Hyperdrive to the registry on first pull
Registry proxies Serve pulls and pushes, and enforce node policy
Media server and edge Blossom and NIP-96

Trust

Relays and aggregators are not trusted. Bridges verify signatures, act only for the authors in AUTHORS, and fetch only from the addresses in ORIGINS. Downloads are verified against the digest.