Skip to content
QORECHAIN
Register

Quantum Pass

Mempool Guard

Catch forged transactions before Q-Day, then sign your run with ML-DSA-87.

Share on X

About

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.

How it's made

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.

Timeline

Mempool GuardQuantum Pass

Pushed 1 commit to main

  • 55c7f0d Record partial gas breakdown for run tx from Diana auth params · hackerjose25
Mempool GuardQuantum Pass

Pushed 10 commits to main

  • d81c9a0 Record run tx size against Diana consensus limits · hackerjose25
  • 6ebcbb9 Add MIT license, featured image, on-chain evidence, credits, AI usage · hackerjose25
  • d114159 Add live demo URL and deployment verification · hackerjose25
  • 44e2324 Record first on-chain runs; add root Vercel config for quest/ · hackerjose25
  • 12c4d26 Remove old concepts; document Mempool Guard as the project · hackerjose25

and 5 more commits

Mempool GuardQuantum Pass

Pushed 2 commits to main

  • 377cace Add three newer on-chain runs to evidence and build log · hackerjose25
  • e6909be Add demo video link; ignore local video renders · hackerjose25
Mempool GuardQuantum Pass

Pushed 1 commit to main

  • 2901095 Add submission draft and update featured image · hackerjose25

Comments and questions

  • No comments yet.