A thief stole $23 million in song royalties through false claims on ~50,000 songs (the MediaMuv case, Arizona, 2017 to 2021), and the real writers spent years proving the songs were theirs. Disputed co-writer splits freeze royalties for years; the Mechanical Licensing Collective holds roughly $328M in unmatched royalties. CREDITS makes ownership provable and copies catchable.
Three moves, all on QoreChain's Diana testnet:
1. SIGN. Co-writers sign the split sheet (title, the song's acoustic fingerprint, each writer's share and payout address) with their ML-DSA-87 key. The contract verifies every signature on-chain with QoreChain's pqcVerify (0x...0A01) and pqcKeyStatus (0x...0A02) precompiles. A song is live only when all writers have signed.
2. LICENSE. Anyone licenses a song and the payment splits to the writers in the same transaction. Income for a brand-new registration waits in escrow during a 72-hour challenge window.
3. CATCH. Register a copy and anyone can challenge it. A re-encode/trim/noise copy is caught trustlessly on-chain: the contract compares the two fingerprints (bit-error-rate under 0.30) and, if the copy is newer, freezes it and sends its money to the real writers, now. A pitch/speed copy is caught by a bonded, publicly recomputable challenge.
WHY IT'S REAL
- The fingerprint catches real copies: on 150 real Creative Commons tracks it caught 600 of 600 plain copies (re-encoded, trimmed, quieter, noisier) and 441 of 450 pitched or sped-up copies after correction, with zero false matches across 11,175 unrelated pairs. A plain exact-hash registry catches 0.
- The post-quantum guarantees hold, verified live on the testnet with real transactions: a classical-only transaction from a PQC-registered account is rejected (code 20), substituting the attacker's own quantum key is rejected (code 21), an out-of-scope EVM window call is rejected, a degenerate ML-KEM key is rejected, and 785 signature-forgery attempts against pqcVerify were all rejected.
- Every action in the live app is a real transaction. Try to forge a claim yourself in the app.
- Judge it in under 90 seconds: `python3 judge.py` re-checks from scratch that the on-chain fingerprint BER equals an independent off-chain matcher to the bit, that a copy matches and an unrelated song does not, and that the original song is live on-chain with its two co-writers.
How it's made
In plain words: writers prove a song is theirs with keys a quantum computer can't fake, and when someone uploads a copy, the chain compares the two by their sound and sends the copy's money back to the real writers.
Architecture: One Solidity contract (CreditsSplit, Foundry, 46 tests) on Diana testnet, a Node.js server built on the QoreChain TypeScript SDK, and a plain HTML front end (also on Vercel). judge.py re-checks every claim against the live chain in about 15 seconds, with no keys and no packages.
QoreChain features used:
- Hybrid ML-DSA-87 transactions and PQC key registration with proof of possession (@qorechain/sdk) for every writer.
- Solidity PQC signature check (pqcVerify 0x...0A01) and PQC key status (pqcKeyStatus 0x...0A02): a writer's signature counts only if it verifies against their registered, possession-proven ML-DSA-87 key.
- QoreX wallet: writers sign the split sheet in QoreX (signArbitrary), and their own wallet sends the transaction with signAndBroadcast as a native MsgCrossVMCall into the contract, so the contract sees the writer as the sender. A real QoreX wallet did this for song #22 (tx A7468196A65357288DE030AA1FD8BA40152C331CB6C6992E0E7010D1FFF2C86E).
- Cross-VM bridge precompile (0x0901, executeCrossVMCall): every caught copy writes a receipt from the EVM into a CosmWasm contract on the chain's bridge allowlist.
- Scoped EVM windows: the demo writers' EVM calls are confined to the CREDITS contract and the bridge, with a spend cap, so a leaked classical key cannot move money anywhere else.
- ML-KEM-1024 key registration (MsgRegisterKEMKey): deal terms are sealed in the browser to the writer's on-chain key; only ciphertext goes on-chain.
- QoreChain AI contract auditor: three audits (draft, final, and final on the QoreChain setting), every finding covered by a test (docs/AUDIT.md).
Sign bytes are domain-separated ("credits-split-v1" + chain id + contract + song id + audio hash + fingerprint commitment + payees/shares hash), so a signature can't be replayed on another song, contract or chain.
Fingerprints: Chromaprint, computed in the browser (WebAssembly). The contract stores a keccak commitment; at catch time it computes the bit-error-rate on-chain with a multiply-free popcount. Re-encoded, trimmed or quieter copies are caught directly on-chain; pitched or sped-up copies are caught by a bonded challenge that anyone can recompute from the copy's audio. Catch study on 150 tracks: plain copies 600/600, after correction 441/450, false matches 0/11,175.
What was hard: making the on-chain bit-error-rate match the off-chain matcher exactly. judge.py's exact-value cross-check caught an early popcount bug, and an exact-value Foundry test now guards it.