π Key Features
Hypergraph is more than a databaseβit's a complete data layer for building collaborative, local-first apps. Below is a tour of the capabilities you get out of the box.
Table of Contentsβ
- End-to-end encryption
- Knowledge Graph SDK
- Graph-based data model
- Conflict-free sync (CRDTs)
- Spaces & fine-grained auth
End-to-end encryptionβ
Every update is encrypted on the client using XChaCha20-Poly1305. Only members of a Space possess the symmetric key, so neither the sync server nor The Graph can read private data.
- Automatic key rotation: when members join/leave (not yet implemented).
- Multi-device: each device holds its own key pair.
Knowledge Graph SDKβ
Build, link, and publish knowledge as entities and relations using the @graphprotocol/grc-20
Knowledge Graph SDK. It makes it easy to organize data into spaces, anchor edits onchain, and work with The Graph's knowledge graph standard.
Graph-based data modelβ
Under the hood, Hypergraph stores JSON-LD values that map nicely to knowledge graphs. This makes it trivial to expose public data on-chain or query it with a GRC-20 compliant indexer later.
Conflict-free sync (CRDTs)β
We use Automerge (a JSON CRDT) to merge concurrent edits without conflicts. Snapshots are automatically compacted to keep payloads small.
Spaces & fine-grained authβ
A Space groups both people and data. Fine-grained access will come soon.
Ready to dive deeper? Check out the Quickstart or browse the full API Reference.