Skip to content
QORECHAIN
Register

Quantum Pass

Hybrid Signature Checker

Send a hybrid secp256k1 + ML-DSA-87 transaction on QoreChain and read the chain's verdict back.

Share on X

About

A small app for the QoreChain Diana testnet that sends a hybrid post-quantum transaction and reads it back from the chain. Every native QoreChain transaction is signed twice — secp256k1 and ML-DSA-87 (FIPS 204) — and the transaction record carries the proof: a PQCHybridSignature extension holding the 4,627-byte ML-DSA-87 signature next to the 64-byte classical one, plus the chain's pqc_hybrid_verify verdict. The project makes that proof easy to produce (pnpm send) and to inspect (pnpm verify <hash>, or the read-only web checker). Built for Build Before Q-Day, Quantum Pass level. Live testnet proof — PQC key registration, proof transfer, EVM window, contract deploy and a hybrid-signed send, all verified on chain — is listed in the repository README.

How it's made

Scaffolded with the official create-qorechain-dapp Hardhat template (Workshop 1). The template's contracts/, ignition/, test/ and scripts/window.ts are used as provided; the project's own code is scripts/qore.ts (shared network, account and transaction-reading helpers), scripts/send.ts (hybrid-signed 1 QOR transfer via the SDK's EthNativeSigner.bankSend with signMode hybrid), scripts/verify.ts (reads a transaction from the public REST endpoint, parses the PQCHybridSignature extension and the pqc_hybrid_verify event, and fails closed unless the transaction succeeded and the verdict is verified), and web/ (a dependency-free checker page plus a small Node server that proxies chain reads through /lcd, the pattern the official templates use, because the REST endpoint sends no CORS headers). Kits: @qorechain/sdk and @qorechain/evm for signing, post-quantum handling and transport, with @cosmjs/stargate and viem; Hardhat Ignition deploys the template Counter contract. Network features exercised on testnet: PQC key registration (the chain rejects any transaction from an account with no registered ML-DSA-87 key — classical fallback is disabled — so registration must precede the first transfer), the EVM authorisation window, and hybrid-signed native transfers. Keys exist only in a local gitignored .env (mode 600), read only by the Node-side scripts; the verify script and the web page never touch keys. Inputs are validated: 64-hex transaction hashes, bech32 qor1 addresses, exact-decimal amounts with a 10 QOR cap.

Timeline

Hybrid Signature CheckerQuantum Pass

Pushed 2 commits to master

  • 616da12 Complete on-chain phase: PQC register, proof transfer, window, deploy, hybrid send + verify · cater233-ai
  • e022cc8 Hybrid Signature Checker: hybrid-signed send + chain read-back (Quantum Pass) · cater233-ai

Comments and questions

  • No comments yet.