A trustless registry for RDF books rooted on the MPFS smart contract. A human name resolves to an on-chain book (an MPFS cage); the assets a book carries — RDF asset bundles (CIP-57 blueprints, SHACL shapes, metadata schemas, overlays) — are content-addressed and verified offline.
The chain already gives, for free, the only authority that matters: metadata M appeared in a transaction whose witnesses the ledger checked. From that single primitive the registry derives a resolution chain in which exactly one link needs trust:
name ──(owner-signed claim)──▶ cage id (thread token)
cage id ──▶ state-script hash (direct) + request-script hash (params)
script hash ──(content-addressed pointer)──▶ ipfs://CID
CID ──(recompute hash == H)──▶ verified blueprint ← trustless
blueprint ──▶ schemas to decode the book's RDF graph
Only the first link is vouched (the book owner's key). Everything below the cage id is mathematics any client can re-check. See the constitution.
This repo is integration glue, not a re-implementation:
| Dependency | Role |
|---|---|
cardano-mpfs-client |
Pure offline verifier of MPFS proof-bearing facts (wasm/js). |
cardano-rdf (cq-rdf) |
Deterministic Cardano-tx → RDF graph + asset-bundle model. |
rdf-shapes-wasm |
SPARQL 1.1 (Oxigraph) + SHACL Core (rudof), shipped to wasm. |
Bootstrapping. First epic: a trustless book-naming registry —
owner-bound name → cage resolution, verifiable offline.
Everything runs through Nix:
nix develop -c just ciApache-2.0.