Pushed 1 commit to main
- 55c7f0d Record partial gas breakdown for run tx from Diana auth params · hackerjose25

Quantum Pass
Catch forged transactions before Q-Day, then sign your run with ML-DSA-87.
Q-Day is here. Forged transactions are flooding the mempool, and you are the last validator standing. Mempool Guard is an arcade game on the QoreChain Diana testnet. Transaction packets arrive on a shrinking timer, and you swipe (or press ←/→) to approve real hybrid-signed transactions and reject forgeries. To decide, you check what QoreChain itself checks: the chain ID, the ML-DSA-87 signature, the secp256k1 signature, the fee floor, and whether the body hash matches the signed hash. A shift has 40 packets across 4 threat levels, with 8 attack types, combos and shields. Afterwards, a debrief explains every mistake. When the shift ends, QoreX hybrid-signs your run and sends it to Diana. A public leaderboard replays every run from chain data, and a score counts only if replaying the signed moves reproduces it. There is no smart contract and no server: the chain is the scoreboard. Live: https://mempool-guard.vercel.app/. You can play without a wallet; to sign a run you need QoreX set to Diana.
Architecture. A React + Vite + TypeScript single-page app, scaffolded with create-qorechain-dapp@0.14.0 (fullstack-web, testnet), and deployed on Vercel with a proxy to Diana REST. The game engine is pure and deterministic, so the same seed and moves always produce the same score. Chain-seeded decks. Each shift's deck is generated from the hash of the latest Diana block. Nobody can predict a deck before its block exists, and anyone can rebuild it later. One hybrid-signed transaction per run. QoreX window.qorex.native signAndBroadcast signs a 1 uqor MsgSend to a keyless scoreboard address (derived from a sha256 of a fixed label, so nobody holds its key). The memo is mg1:<seedHeight>:<moves>:<score>, at most 59 bytes. @qorechain/sdk 0.14.0 handles address validation. A leaderboard verified by replay, with no contract. The app queries Diana for transfers to the scoreboard address and fails closed. A run counts only with code 0, a 64-byte classical signature, a 4,627-byte ML-DSA-87 PQCHybridSignature, pqc_hybrid_verify = verified, the exact message and amount, a matching signer, a seed block no more than 60 minutes old, and a replayed score equal to the claimed score. API errors never count as a pass. Kits and network features. @qorechain/sdk (TypeScript), create-qorechain-dapp (CLI), QoreX native provider, and hybrid ML-DSA-87 transactions. What was hard. No EVM signing. QoreX's EVM provider is read-only, so a Solidity scoreboard would have needed a second signer. Instead, we replaced the contract with deterministic replay over native transactions. This kept the flow to one hybrid-signed transaction and still made scores impossible to fake. Proving "verified" honestly. A wallet returning a hash isn't proof. We test that a mocked QoreX returning an unrelated real hash fails closed, and that inflated scores, swapped seed blocks and signer mismatches are all rejected. Byte-exact encoding. The MsgSend encoder had to match cosmjs-types byte for byte. One-screen play on every device. The play screen fits without scrolling on desktop, laptop and a 390px-wide phone, with touch, keyboard and reduced-motion support. Evidence. 15/15 engine tests pass. Two real runs are on Diana, 2A65CCDD…DD48 (1,300 points, replay-verified) and A44D2B46…D0BE. Both have a 4,627-byte ML-DSA-87 signature and pqc_hybrid_verify = verified. Honest limits. Replay proves that a score matches the signed moves, not that a human played them. The chain proves which address signed a run, not who owns it.
Pushed 1 commit to main
Pushed 10 commits to main
and 5 more commits
Pushed 1 commit to main
New project.