Skip to content
QORECHAIN
Register

Quantum Pass

Q-Day Quantum Pass — First Hybrid Post-Quantum Transaction

One transaction signed with two keys at once — secp256k1 + ML-DSA-87 — deployed and read back, verified on the QoreChain

Share on X

About

A beginner Quantum Pass project scaffolded with the official create-qorechain-dapp kit. It registers an ML-DSA-87 (FIPS 204) key for a throwaway testnet account, opens the EVM authorisation window with a hybrid-signed transaction, deploys a Counter contract through that window, and reads the proof back from the public REST endpoint: the PQCHybridSignature extension (4,627-byte ML-DSA-87 signature) and a pqc_hybrid_verify event with status "verified". An original script, scripts/verify.ts, performs the read-back for any transaction hash. On-chain proof — PQC key registration tx: B74A821589065D933C843A0AE9CFB52EB862D8EF92C130A7162BE53446D41B5C · Hybrid window-open tx: E127AF3F81781DA85DFEF7A07D8C8CBA7F455451BCFAE87017D6268418E7CC9A · Counter contract: 0x8f1ae0a8d928fada88e58ab51bb5d14b4e8715c6 (deploy tx 0x97d285f8e8dd2ddfbea9005addb05ade0f5f154e3daa49ffed3e77b1d6a40c04, status 0x1). Project testnet account — native: qor1t4ry5plzphwavxymrugvtgl467ypv6uhndlyuv · EVM form of the same account: 0x5D464A07E20dddD6189B1f10c5A3f5d788166B97.

How it's made

Scaffolded with the official create-qorechain-dapp TypeScript CLI (Hardhat template, testnet 'diana', chainId 9800). A throwaway testnet account was generated locally; its classical secp256k1 key and a QRC1 recovery code — from which the ML-DSA-87 key is derived — live in a local .env file that is git-ignored and never committed. The account was funded with 50 test QOR, transferred from a QoreX wallet that had claimed the dashboard faucet (testnet funds only, not real money). Steps: (1) registered the ML-DSA-87 public key on-chain with proof of possession; (2) opened the EVM authorisation window with a hybrid-signed transaction carrying both the classical and post-quantum signatures over one message; (3) deployed the Counter contract through that window — the deployment transaction was signed offline and broadcast to the EVM endpoint while the window was open; (4) verified the result with an original script, scripts/verify.ts, which reads any transaction back from the public REST endpoint and checks for the PQCHybridSignature extension and the pqc_hybrid_verify event with status 'verified'. The Counter contract's tests pass (2 passing).

Timeline

Comments and questions

  • No comments yet.