Quantum Pass
Q-Day Hybrid Proof
One transaction, two signatures — a hybrid secp256k1 + ML-DSA-87 transfer, verified on chain.
About
A quantum computer that can run Shor's algorithm turns any exposed secp256k1 public key into its private key. Q-Day Hybrid Proof is a first, complete pass at the QoreChain answer to that problem: an account whose transactions are signed twice — once with the classical key and once with a post-quantum ML-DSA-87 key (NIST FIPS 204) — so that stealing the classical key alone is not enough. The app registers the account's ML-DSA-87 key on the Diana testnet, sends a hybrid-signed transfer, opens the EVM authorisation window with a second hybrid-signed message, deploys a small Solidity contract inside that window, and then reads the proof back from the chain's public REST API: the PQCHybridSignature extension and the pqc_hybrid_verify event with status verified. Everything is reproducible from the public repository. On-chain proof: PQC registration tx: B595517D6B8E3996362AE0086EBDCA2166832BC0909ABFE842E652B56EB8AF5D / Hybrid transfer tx: 451E21753C6659F3D58987512B0DF1169686B7F5DF56DEBFC41ACDAE153BC5FE / Window open tx: 6AB4BA1765D7A675366D3E0DABBFD10B87918F773DA6225D9B0335D60344DF8D / Counter contract: 0xF2B8b3DE7EA262D4256bFA467DF4bfBF69F60997
How it's made
Scaffolded with the official kit (create-qorechain-dapp, Hardhat template, testnet), following Workshop 1 of the fest documentation. TypeScript + Solidity, Hardhat 3 with the viem toolbox, @qorechain/sdk / @qorechain/evm for PQC key registration, hybrid signing (EthNativeSigner) and the EVM window. Added for this project: scripts/link-send.ts (register-if-needed + memo-carrying hybrid self-transfer) and scripts/verify-hybrid.sh (REST read-back of the hybrid verification event). Tests: the kit's Counter tests pass locally (2 passing); typecheck clean.
Timeline
New project.
Comments and questions
- No comments yet.