On-chain design requirements
This document defines the migration target; it is not a deployed-contract claim.
Delivery goal: by Fall 2026, every admitted Museum record—from governance
decisions and policies to accessions, provenance, rights, preservation events,
and later corrections—should have an on-chain commitment and append-only
lineage in the custom registry described here. The goal is a delivery target,
not evidence that implementation, audit, deployment, authority activation, or
migration has occurred. The visitor-facing account is
onchain-.
Architecture
Use a small append-only registry, not a monolithic museum database. Rich payloads live as canonical JSON or standard archival packages on content-addressed storage; the contract records identity, schema, hash, URI, authority, effective time, and chain lineage.
flowchart LR
G["Governance decision"] --> R["Record registry"]
P["Policy / program payload"] --> C["Canonical payload commitment"]
A["Accession / object payload"] --> C
C --> R
R --> E["Append-only events and record-chain heads"]
R --> X["PREMIS / LIDO / IIIF / BagIt exports"]
Record families
Museum-native families:
MUSEUM_POLICY GOVERNANCE_DECISION APPROVED_COLLECTION ACCESSION_PROGRAM PROGRAM_OUTCOME
Shared Stream families are reused unchanged:
ACCESSION/STREAM_ACCESSION_ V1 WORK_/DESCRIPTION STREAM_WORK_ DESCRIPTION_ V1 RIGHTS_/STATEMENT STREAM_RIGHTS_ V1 - preservation Objects, Events, Agents, Rights /
STREAM_PREMIS_ V3_ PROFILE - IIIF, condition, exhibition, loan, dossier, acquisition-packet, and BagIt profiles.
Core storage
Each write should contain the Stream CollectionRecord envelope or a byte-for-byte compatible generic Museum record. Required state:
- existence and retrieval by
recordHash; - latest record by
(recordType, subjectId); - append-only chain head by record lane;
- duplicate-record rejection;
- schema registry and immutable schema-document hash;
- algorithm/canonicalization registry with no identifier reuse;
- supersession lineage in the payload, never mutation in place;
- state-readable payload pointers so reconstruction does not depend only on old logs.
Authority
Authorization is family-specific:
- governance decisions and policy: approved Museum governance executor;
- program outcomes: approved program decision source;
- custody/accession statements: current Museum custody authority, normally Safe/contract-wallet compatible;
- artist assertions and rights grants: artist/rights-holder signatures or explicit instrument evidence;
- independent preservation evidence: attributable independent attestor lane;
- corrections: the original authority or an explicitly authorized successor, with supersession.
All relayed signed writes must support EIP-712 and ERC-1271, unordered signer-scoped nonces, deadlines, and signer-scoped nonce revocation. On-chain ownership remains authoritative for custody; record writers cannot change token ownership or artwork bytes.
Subject identity
- On-chain objects use the Stream token-subject derivation and CAIP-19-shaped citation.
- Pre-mint selected outcomes use stable Museum outcome IDs and may later be linked to, but never replaced by, a token subject.
- An accession lot may include multiple object subjects.
- A correction or migration never re-identifies the original object.
Migration from GitHub
- Freeze a repository release manifest.
- Canonicalize each JSON payload with RFC 8785 JCS.
- Compute Keccak-256 and construct the Stream
HashRef(algorithm =).1 - Publish payloads and schemas to content-addressed storage.
- Write Museum-native governance/program records.
- Write object records through the shared Stream families.
- Record the repository commit and release-manifest hash as release-binding provenance.
- Regenerate all public indexes from chain state plus committed payloads.
The migration is complete only when a third party can reproduce record hashes and exports without GitHub, the original operator, or a marketplace.
Record
This page is drawn from the record below, kept on the 6529 Provenance registry. How the records are checked
- Registry
0x10e1c00D…95C2bc03Sepolia test network- Record ID
- Record ID: 0xaefc4e5cb79b3ea0be423dbba8b12bdcf6df7bfa2e245dcc7536ffc3aef5d54f
- Type
- Text
- Version
- Version 1
- Release
- Release 3
- Content digest
- Content digest: 0x0b8aba24bb602986c8cc5ea4112958e323258306c5c4fac7d35644314348e87d
- IPFS address (CID)
bafkreib7r…alje2clu
