OWNSET spec v1
OWNSET is a protocol for turning data contributions — the tasks, samples, labels and validations that AI is trained and evaluated on — into owned, provable, royalty-bearing assets. This page is the full v1 specification. If your implementation follows it, your roots will match ours byte-for-byte.
Quickstart
- Open the console, drop a folder. Files are hashed locally.
- Pick a role and seal. You get a Merkle root and a record id.
- Connect Phantom, Solflare or Backpack and sign the attestation (free).
- Anchor the root on Solana (~0.000005 SOL network fee).
- Download the proof bundle. Anyone can verify it in the console or the CLI.
curl -fsSL https://ownset.vercel.app/install.sh | sh
ownset snapshot ./my-dataset --role label --name "amr-labels-01"
ownset verify ./my-dataset/ownset.manifest.json
Spec v1
Content addressing & Merkle tree
Each file is hashed with SHA-256. Paths are relative to the snapshot root, use / separators, and are sorted by UTF-16 code unit order.
leaf = SHA256( 0x00 ‖ utf8(path) ‖ 0x00 ‖ sha256(file) )
node = SHA256( 0x01 ‖ left ‖ right )
odd node at a level is promoted unchanged
empty snapshot root = SHA256("")
Domain separation (0x00 leaves, 0x01 nodes) prevents second-preimage attacks; binding the path means renaming a file changes the root.
Inclusion proofs
{ "root": "…", "path": "data/a.jsonl", "sha256": "…",
"proof": [ { "side": "R", "hash": "…" }, { "side": "L", "hash": "…" } ] }
Recompute the leaf, then fold each sibling: L means the sibling is on the left. The result must equal root.
Manifest
{
"protocol": "ownset", "v": 1, "kind": "snapshot",
"name": "ecoli-amr-01", "role": "task",
"license": "OWNSET-L1 (license-only, no transfer of ownership)",
"contributor": "<solana address | null>",
"fileCount": 12, "bytes": 50540112,
"root": "<64 hex>", "created": "2026-11-23T18:00:00.000Z",
"files": [ { "path": "…", "size": 123, "sha256": "…" } ]
}
Record id = "os_" + base58(root[0..16]). Roles and default weights: task 4 · solution 4 · sample 3 · label 2 · validation 1.
Attestation
The contributor signs this exact UTF-8 text with their wallet (solana:signMessage, Ed25519). It is human-readable on purpose: you should always know what you sign.
OWNSET attestation v1 I contributed this data and claim my share of the record it joins. root: <root> role: <role> name: <name> files: <fileCount> bytes: <bytes> issued: <created>
Anchor memo
A Solana transaction with one instruction to the SPL Memo program (MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr), signed by the contributor wallet, data:
ownset:v1:<T|S|D|L|V>:<root hex>
Because the contributor signs, the memo appears in getSignaturesForAddress for that wallet — which is exactly how the Explorer lists anchors with no indexer.
Proof bundle
{ "protocol":"ownset","v":1,"kind":"bundle",
"manifest": { … },
"attestation": { "address","message","signature","alg":"ed25519" },
"anchor": { "chain":"solana:mainnet","signature","memo","slot","signer" } }
Issuance
A record issues exactly 1,000,000 units. The producer receives producerPct (default 20%). The remaining pool is split across contributors in proportion to roleWeight × count. All math is integer; remainders go to the largest fractional parts (largest-remainder method), so the sum is always exactly 1,000,000.
Distribution
sale → protocol fee (10%) → manager (10%) → records pool (80%) records pool → records by curator weight each record → owners by units amounts in micro-units (1e-6), largest-remainder rounding, zero dust
Example terms, not protocol defaults. The fee, manager share and weights will be set by governance.
CLI reference
ownset snapshot [dir] [--role r] [--name n] [--wallet addr] [--out file] ownset verify [manifest|bundle] [dir] ownset prove <file> [--manifest path] [--out file] ownset attest [manifest] # prints the text your wallet will sign ownset royalty [--sale --fee --mgr --records --weight]
Single file, Node 18+, no dependencies. Source: /cli/ownset.mjs. Large datasets: snapshot with the CLI, then drop ownset.manifest.json into the console to sign and anchor without re-hashing.
RPC proxy
POST /api/rpc — read-only JSON-RPC passthrough to Solana mainnet. Allowed: getSlot getLatestBlockhash getTransaction getSignaturesForAddress getSignatureStatuses getBalance getBlockTime. The console falls back to public RPCs if the proxy is unavailable, and you can set your own endpoint in the console sidebar.
Status
| Component | State |
|---|---|
| Fingerprinting, manifests, Merkle proofs | live |
| Wallet attestations (Wallet Standard) | live |
| Mainnet anchoring + Explorer | live |
| Royalty engine (simulator) | live |
| CLI | live |
| On-chain record registry & payout program | building |
| Curator tooling, licensed delivery | planned |