Skip to content
QORECHAIN
Register

Quantum Pass

Signed Gambit

Sign it. Seal it. Try to steal it.

Share on X

About

What if a chess scoresheet still could not be rewritten after a quantum computer breaks today's keys? Signed Gambit seals every game on QoreChain testnet, then dares you to forge it. TRY IT IN 60 SECONDS (no wallet, no sign-up): open https://dannytungadi5.github.io/signed-gambit/ and press "Try to break a game". Verify a sealed game, change one move in the Tamper Test and watch everything after it break. Then open the Q-Day sim and broadcast a forged move to the live chain. Demo video: https://youtu.be/ppp2peFRvFk HOW IT WORKS: You play a game against a bot. When it ends, the whole move list is sealed on QoreChain testnet: the SignedGambit contract recomputes a keccak256 hash chain over every move on chain, and a hybrid-signed (secp256k1 + ML-DSA-87) native transaction anchors the final head in its memo. Anyone can open the Verify page, replay the game, recompute the chain in the browser and check it against the contract state, the anchor memo and the ML-DSA-87 signature. THE ATTACK AND THE REFUSAL: Imagine a quantum computer has recovered a player's classical key. The Q-Day sim hands you a real testnet account whose classical key is public on purpose, so you are the attacker. Forge a move with the classical key alone and broadcast it: the chain refuses it (code 20, codespace pqc, "hybrid PQC signature required"). The reply on screen is the chain's own. HONEST SCOPE: per-move signing is not possible on the EVM lane, so each move is chained by hash and the hybrid signature protects the anchor, not every move. Sealing runs from the repo CLI. FOR THE JURY: Works as described: sealed examples (games/*.json in the repo), the live Hall of Sealed Games and the Verify page re-check everything against the chain. QoreChain tech: a Solidity contract on qorechain-diana (EVM chain id 9800), an EVM window opened with a hybrid-signed message, ML-DSA-87 hybrid anchors via @qorechain/sdk, PQC key registration. Post-quantum correctness: the classical-only forgery is refused, and the limits are stated above. Originality: you attack it instead of trusting a proof. Docs: README and AI_USAGE.md in the repo. Sign it. Seal it. Try to steal it. Every game sealed. Every forgery declined.

How it's made

Architecture: a Solidity contract (SignedGambit, deployed on qorechain-diana, EVM chain id 9800, at 0x37BB3DC090643884A5807202c1Ba008917DF5Dd8) stores each game and recomputes the chain on chain: genesis = keccak256("SignedGambit/v1", gameId, player), link = keccak256(prev, move, ply). A TypeScript sealing CLI plays a bot game, calls openGame and closeGame, then sends a hybrid-signed native transaction (secp256k1 + ML-DSA-87, via @qorechain/sdk) whose memo is SG1:<gameId>:<head>. The web app (Vite + TypeScript, chess.js, viem) replays any game, recomputes the chain in the browser and checks contract state, anchor memo and signature. It also has a Tamper Test, a proof card with a QR deep link, a Hall of Sealed Games read live from contract events, and a Q-Day simulation that broadcasts a classical-only forged transaction from the browser and shows the chain refusing it. Network features used: hybrid ML-DSA-87 transactions, PQC key registration with proof of possession, EVM window (the window is opened with a hybrid-signed message), native hybrid-signed anchoring of an EVM contract result (SG1 memo). Game state lives in an EVM contract; the final head is anchored by a separate hybrid-signed native transaction (SG1 memo), and the Verify page binds the two together. What was hard: EVM transactions are classically signed, so per-move hybrid signing is not possible on that lane. The design is a hash chain of moves plus a hybrid-signed anchor, and the README says so. Log queries are capped at 10k blocks, so the Hall reads in chunks from the deploy block. Built with AI tools: the workflow, what the AI generated and what the human did are documented in AI_USAGE.md in the repo (https://github.com/dannytungadi5/signed-gambit/blob/main/AI_USAGE.md).

Timeline

Signed GambitQuantum Pass

Pushed 5 commits to main

  • d0a3f1f Landing: change closing tagline to 'Every game sealed' (per-move signing is not on EVM) · dannytungadi5
  • 6f0e8cc New social preview: full dark hero, no strip · dannytungadi5(not counted: no real change)
  • c2c909b Tighten watch section spacing on mobile · dannytungadi5
  • 467b6d6 Declare create-qorechain-dapp dev dependency; add QoreChain badge · dannytungadi5
  • d9bdbaf Embed demo video, README video link · dannytungadi5
Signed GambitQuantum Pass

Pushed 19 commits to main

  • 1f58c98 Landing Hall newest first with seal time; anchor block time on Verify · dannytungadi5
  • 5a30700 Favicon and OG preview · dannytungadi5
  • 7b9b7f9 README: live demo link, accurate kit and QoreX sections · dannytungadi5
  • 76c9dcb Hall: show close time · dannytungadi5
  • ee6f304 Verify: stop mid-word breaks · dannytungadi5

and 14 more commits

Comments and questions

  • No comments yet.