Data
The Wired’s data layer is a personal data store called the WDS (Wired
Data Store).
Everything a person owns is kept in a store: their spaces, objects,
avatars, and files.
A store can run on a person’s own machine, on a server they control, or on
a server someone else operates for them.
One person’s data can live in several stores at once.
By default a store runs locally alongside the UNAVI client and syncs to a
remote store, which keeps the data reachable while the client is offline.
A store holds two kinds of thing.
- Blobs are fixed sequences of bytes, identified by the hash of those bytes. All content is a blob.
- Documents are maps from keys to blobs, signed by their writers. They are the only thing in a store that changes.
Spaces, avatars, and profiles are conventions for naming and arranging documents and blobs.