Pushed 1 commit to main
- c605f85 docs+web: new demo video (2:40, adds the SurvivorRegistryV2 on-chain check) · JoshuaOkumah

Quantum Pass
Break a weak wallet, watch it get taken, then protect yours on QoreChain
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
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
Pushed 1 commit to main
Pushed 3 commits to main
Pushed 4 commits to main
Pushed 8 commits to main
and 3 more commits
Pushed 6 commits to main
and 1 more commit
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
Pushed 64 commits to main
and 59 more commits
New project.