Skip to content
QORECHAIN
Register

Post-Quantum dApp

Credits

Catch a stolen song by its sound: co-writers sign with post-quantum keys, and a copy's money goes back to them.

Share on X

About

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.

Timeline

CreditsPost-Quantum dApp

Pushed 22 commits to main

  • 7455e3c App copy: fix a sentence in the owner lookup intro · Jennycruzy
  • 5e06d4c README: lead with the stakes, the problem, and checks a judge can run in seconds · Jennycruzy
  • 1dbb7b4 Site: show the cross-VM receipt and a clearer window status · Jennycruzy
  • 89e5d77 Site copy: replace every em dash with plain punctuation · Jennycruzy
  • 1a2a977 judge.py: verify the cross-VM receipt end to end · Jennycruzy

and 17 more commits

CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 9c3607c README: every QoreChain feature in the opening · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • a9b7714 Landing: the headline numbers under the hero · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • acd1113 README: consistent wording for the live app · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • a0ae83f README: what is built and proven, at a glance · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 788cbec AUDIT.md: where the contract calls pqcVerify and pqcKeyStatus, what each protects, which tests cover it · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • f0f5fb0 Proof: a second real QoreX wallet co-signs song #23; native tx links open on the chain API · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 4379106 Proof: direct pqcVerify and pqcKeyStatus transactions, judge.py check 11, docs/PROOF.md · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 9d404e8 README: when and where the MediaMuv case happened · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 12cc2c2 README: Built on QoreChain badge · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • cb600eb Site copy: call it the app · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 4a8b468 Revert "Server: ?download serves any public file as a download" · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • bd8e816 Server: ?download serves any public file as a download · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • dc90f0a Link the demo video on YouTube · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 7f067f1 Copy: name the receipts contract, explain the demo accounts and the dispute window setting · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 838f9c3 Demo page: a short guide for trying it in two minutes · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 45d6321 Serve the demo page from app/index.html, so /app works on any static host · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • ff6bade Vercel: serve the demo at /app · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 1c7b66c README: link the site on Vercel · Jennycruzy
CreditsPost-Quantum dApp

Pushed 1 commit to main

  • 06e8485 Site: link the demo page by its file name so any static host serves it · Jennycruzy

Comments and questions

  • No comments yet.