Skip to content
QORECHAIN
Register

Quantum Pass

Q-Day Live

Break a weak wallet, watch it get taken, then protect yours on QoreChain

Share on X

About

Q-Day Live is a two-minute web app where you watch a crypto wallet get broken by a quantum-style attack, then watch QoreChain's real testnet stop the same thief, and finally protect your own wallet with QoreX. Q-Day Live doesn't just describe the takeover risk: Diana accepted a real takeover in a recorded control run (A2E3C34E6B7EC30641985ACE2C629A156019323245E9EB7396B77FF1B2D81E07) and refused the same move on a protected account (code 234). The problem Every wallet has a private key only you hold and a public key that anyone can see on the blockchain. Today no computer can work backwards from the public key to the private one. Q-Day is the day a quantum computer becomes powerful enough to do it. Nobody knows when that day comes, but every public key already on-chain will still be there. QoreChain's answer is a second lock: a post-quantum signature (ML-DSA-87) on every transfer. But a lock you can't see is a lock you have to take on trust. Q-Day Live lets you see it work. What it does 1 · Break: in your browser, a wallet with a deliberately tiny key is cracked from its public key in seconds, and forged transfers drain it (a labelled simulation; at real key size this is a quantum computer's job). 2 · Try: the same thief goes to QoreChain's Diana testnet. On an account with no second lock, the thief registers their own post-quantum key using only the stolen classic key, and the chain accepts it: the real owner is locked out. On an account that already has its second lock, the same move is refused (code 234). Every reply on screen is the chain's own. 3 · Protect: connect QoreX and send yourself a tiny test payment, signed both the classic and the post-quantum way. The app checks it six ways against the chain. Then you sign your survivor record in QoreX with your post-quantum key, and the SurvivorRegistryV2 contract verifies that signature itself, on chain, through QoreChain's PQC precompiles. The contract checks your post-quantum signature itself, so my server can't fake it. Plus a read-only "is my wallet protected?" check for any qor1 address, in the app and as a CLI (npm run check:wallets) that exits 1 when an account is at risk, so teams can watch treasury accounts in CI. No sign-up, and no wallet needed until Act 3. Why it matters I set out to show QoreChain blocking a drain. Instead I found that on QoreChain the real Q-Day risk is a takeover: whoever registers the second lock first owns the account. Q-Day Live turns that into something anyone can see in two minutes, and shows how to get there first. Quantum Pass requirements, on Diana testnet · Built with create-qorechain-dapp, the QoreChain SDK, QoreSign and QoreX · QoreX connected: Act 3 is signed in QoreX · Hybrid ML-DSA-87 transaction: F699BE1BF3104956D8F2792A82EAD4E9F4E9F97AC7B7FD5DAEEC760C5B660EDD · Contract deployed: SurvivorRegistryV2 0xAC961C0097815F871a3EeA809C4d190e659d5824, which verifies the survivor's ML-DSA-87 signature on chain (pqcKeyStatus + pqcVerify); first record 0x054a53726925660500257ec8d946cbba3e7a3ff463eb1ab7c0e04667df69a33b for hybrid tx 3B465CBFCACAB2A9A425B2A8B050F8A589EC854FD606A6FB0F2B6236BF4ACE08. V1 SurvivorRegistry 0x5052F70e70b69B88906A9C3870c0b5B06E87f29a stays as the historical record. · Takeover accepted (code 0): A2E3C34E6B7EC30641985ACE2C629A156019323245E9EB7396B77FF1B2D81E07 · Swap refused (code 234): AE88CD062CD174B635DFB42C1EAEE5D916763CF3368E749A4465C090A7A179EE Try it: https://qday-live.vercel.app · Video (2:40): https://youtu.be/tggwMlziRWY · Code: https://github.com/JoshuaOkumah/qday-live

How it's made

ARCHITECTURE I built Q-Day Live as an npm-workspaces monorepo scaffolded with create-qorechain-dapp 0.14.0: apps/web (Vite + React + TypeScript, from the fullstack-web template, on Vercel), apps/server (Express 5 on Render), packages/ecc-lab (tiny-curve ECDSA and baby-step giant-step key recovery in pure TypeScript with BigInt), and contracts (Hardhat 3 + viem, from the hardhat template; SurvivorRegistry.sol deployed with Hardhat Ignition). QORECHAIN KITS USED (from the package.json files) - @qorechain/qorex-types (web): connect QoreX and sign with qorexSignAndBroadcast. - @qorechain/qoresign (server, card pages): inspectTransaction to check the ML-DSA-87 layer, its verification and the pqc tier before saying "protected". - @qorechain/sdk (server, contract scripts): builds the Act 2 classic-only messages (MsgSend, MsgRegisterPQCKeyV2 with proof of possession), opens EVM windows (openEvmWindowMsg) and signs the hybrid transactions. - @qorechain/evm (server, contract scripts): evmWindowStatus and evmWindowCost, used before each SurvivorRegistry record. NETWORK FEATURES USED Hybrid native signatures (secp256k1 + ML-DSA-87) via QoreX; PQC key registration (MsgRegisterPQCKeyV2) and the pqc module's CheckTx refusals (codes 8, 20 and 234), shown verbatim; PQC account and EVM-window queries on Diana's REST API (also behind the "is my wallet protected?" check); the EVM authorisation window (hybrid-signed MsgOpenEVMWindow, opened only right before a record); and a Solidity contract on Diana's EVM (chain id 9800). CHECK MY EVIDENCE YOURSELF No wallet, keys or sign-up: a read-only script re-checks every hash above against Diana's public REST API and EVM RPC, including a control that flips one byte of the hybrid signature and must be rejected. Latest run: 8/8 checks passed. git clone https://github.com/JoshuaOkumah/qday-live && cd qday-live && npm ci && npm run verify:evidence WHAT WAS HARD Showing a refusal honestly: I made sure the app never says "refused" or "protected" until Diana's real reply arrives, and the raw reply stays on screen. The other surprise was the finding itself: I set out to show the chain blocking a classic-key drain, then found that registration is the one message Diana accepts with the classic key alone, so the real risk is a race to register the second lock. I rebuilt Act 2 around that. HONEST LIMITS Act 1 breaks a 32-bit toy key with a classical shortcut; I didn't break a real key. QoreChain isn't "unbreakable"; it requires ML-DSA-87, which Shor's algorithm doesn't break, and ML-DSA is young. The EVM lane is classic-only behind a hybrid-signed window. Act 2's thief is my own server holding the classic keys, and the control group is one recorded run. Testnet only. Full threat model: https://github.com/JoshuaOkumah/qday-live/blob/main/docs/THREAT_MODEL.md AI USE I designed and directed the project, and used Claude (chat and Claude Code) as my assistant and coder: it wrote code, tests and docs to my instructions, and I reviewed every change. Every chain result is Diana's own reply. Details: https://github.com/JoshuaOkumah/qday-live/blob/main/AI_USAGE.md

Timeline

Q-Day LiveQuantum Pass

Pushed 1 commit to main

  • c605f85 docs+web: new demo video (2:40, adds the SurvivorRegistryV2 on-chain check) · JoshuaOkumah
Q-Day LiveQuantum Pass

Pushed 3 commits to main

  • d15d6c8 docs: AI_USAGE lists V2, the CLI and the evidence checker; project page names both tamper controls · JoshuaOkumah
  • b8c6374 docs: SurvivorRegistryV2 live: evidence table, real verify output, Act 3, trust and limits, threat model, project page · JoshuaOkumah
  • ca4beb2 feat(verify): verify:evidence checks SurvivorRegistryV2 and the first real V2 run (11/11) · JoshuaOkumah
Q-Day LiveQuantum Pass

Pushed 4 commits to main

  • e1fb91b chore(contracts): SurvivorRegistryV2 deployed on Diana (0xAC961C00…5824, block 11107972), Ignition record + read-only deployed check · JoshuaOkumah
  • 031ee5f feat: Act 3 V2 step behind a server flag (off): sign your survivor record, the contract verifies it · JoshuaOkumah
  • a3eb2b1 feat: check:wallets CLI (read-only, keyless) with verdicts shared with the web app · JoshuaOkumah
  • 6c15ceb feat(contracts): SurvivorRegistryV2 verifies the survivor's own ML-DSA-87 signature on chain (not deployed) · JoshuaOkumah
Q-Day LiveQuantum Pass

Pushed 8 commits to main

  • 7c54e3c docs(readme): how create-qorechain-dapp was used (folders, templates, scaffold commit, command) · JoshuaOkumah
  • ae7e934 docs: links for every hash and address, RPC commands for EVM items, full addresses in the evidence doc, the takeover finding up front · JoshuaOkumah
  • faf61f3 docs: threat model as a table (threat, what Q-Day Live shows, test or evidence, limit), incl. replay and tampered signatures · JoshuaOkumah
  • 0757da8 docs(readme): full real verify:evidence output in 'Check our evidence yourself' · JoshuaOkumah
  • 046e41b feat: demo video everywhere (https://youtu.be/BOPaZ8oQlkQ) · JoshuaOkumah

and 3 more commits

Q-Day LiveQuantum Pass

Pushed 6 commits to main

  • 717eb65 docs(project-page): Description subtitles as headings, one line per item · JoshuaOkumah
  • 9b91661 docs(project-page): new Description text; Act 1 timing worded as 'in seconds' to match what the screen shows · JoshuaOkumah
  • 3479fcb docs: first-person voice for AI_USAGE.md, project page and README credits/limits; project voice for technical sections · JoshuaOkumah
  • b735c9e docs: ready-to-paste text for the build.qorechain.io project page · JoshuaOkumah
  • e5bddaf docs(readme): on-chain evidence at a glance with full hashes, explicit live link, link AI_USAGE.md · JoshuaOkumah

and 1 more commit

Q-Day LiveQuantum Pass

Newly verified on chain: EVM window (incl. scoped), Hybrid ML-DSA-87 transactions, PQC key registration with proof of possession, Test tokens fUSD, fETH, fBTC

Q-Day LiveQuantum Pass

Pushed 64 commits to main

  • 5715b72 docs: README screenshot retaken from a live Act 2 run after the takeover change (code 234, tx AE88CD06…) · JoshuaOkumah
  • a2f0fc6 chore(server): document ACT2_THIEF_RECOVERY_CODE in .env.example and render.yaml (set on Render, never committed) · JoshuaOkumah
  • adf9684 docs+copy: on QoreChain the threat is the takeover, not a classic-key drain · JoshuaOkumah
  • 4a24d82 feat(web): Act 2 right vault shows Diana's live refusal of the thief's key swap · JoshuaOkumah
  • 5cb5e74 feat(server): Act 2 right vault faces the same takeover — classic-signed key swap, then the transfer · JoshuaOkumah

and 59 more commits

Comments and questions

  • No comments yet.