ZEQ · SDKzeqstate.com

Foundation and titles

A machine needs no one else to run: it proves itself, keeps its own log, and its answers verify offline from its public record. A foundation adds one thing on top, a title that a known party certifies.

The foundation

A foundation is two machines whose keys are kept apart:

Every feed and lineage record needs both signatures, so one stolen seed signs nothing. Make them offline, never on a public server:

Titles

Self-titledFoundation-titled
Who signsthe machine itself, at its birththe foundation's root, witnessed by its cosigner
Serialthe Zeqond of its birththe universal Zeqond it was minted at, one title per Zeqond
Record—the mint row in the foundation's own log, written first
Requiresnothinga machine whose record is anchored to that foundation's root at birth
python3 tools/zeq_admin.py genesis FOUNDATION_ZID      # a machine anchored to the foundation
python3 tools/zeq_admin.py mint ZID PUBLIC_KEY BORN_NS # its title, minted into the foundation's log

Copy the title beside the machine's record as machine.title.json, with the foundation's machine.lineage.json beside it. The title is verified from the lineage. GET /title then answers with standing foundation.

Revocation

The root signs a revocation feed and the cosigner witnesses it. The feed is a list of revoked ZIDs, a sequence that only rises, and the Zeqond it was signed at. It is live for a day of Zeqonds, so sign it again at least daily:

python3 tools/zeq_admin.py revoke [ZID] [HOST_URL]

New files: carry and lineage

A machine is bound to the file of its genesis, and moves to a newer one only by a step that is signed:

Trust