Skip to content
QORECHAIN
Register

Post-Quantum dApp

Canary

A Q-Day tripwire that pays out in post-quantum signatures.

Share on X

About

Canary derives a secp256k1 public key from a public phrase with RFC 9380 hash-to-curve, so nobody knows its private key. A valid signature from it is public proof that elliptic-curve cryptography, which protects Bitcoin and Ethereum keys, is broken. LPs underwrite cover in QOR and earn premiums; when the canary dies, every active policy pays out in full. Because ECDSA can't be trusted after that moment, every withdrawal, claim and admin change requires the owner's ML-DSA-87 signature, verified on-chain with pqcVerify against the key registered with proof of possession, and every transaction runs inside an EVM window scoped to Canary's three contracts. Testnet demonstration, not insurance.

How it's made

Solidity 0.8.24 + Foundry (107 tests, 7 invariants at 256 runs x depth 50, 100% line coverage). A PQAuth library builds a domain-separated action digest (chain, contract, action, owner, nonce, deadline, params) and checks it with the pqcVerify and pqcKeyStatus precompiles, failing closed if they are absent. RFC 9380 hash-to-curve with @noble/curves, re-derivable in the browser. Scripts in TypeScript with @qorechain/sdk (key registration with proof, hybrid-signed native txs, scoped EVM windows), @qorechain/qoresign and @qorechain/pqc (ML-DSA-87 signing of the raw digest). Web app: React + Vite + wagmi/viem. The test pool also accepts signatures from the QoreX wallet in the browser (signArbitrary, QoreX message format), so QoreX holds the ML-DSA-87 key and MetaMask only pays gas. Policy notes are sealed in the browser with @qorechain/qoreseal (ML-KEM-1024) to the owner's key in QoreChain's KEM registry; only their hash goes on-chain. Two-stage QCAI audit: Stage 1 scored 72/100 (6 findings) and Stage 2 on the deployed code scored 85/100 (3 findings); every finding was checked against the code and pinned by a test, and none needed a contract change. See docs/AUDIT.md. Built with an AI coding agent; see AI_USAGE.md.

Timeline

CanaryPost-Quantum dApp

Pushed 1 commit to claude/canary-post-quantum-dapp-xixqjv

  • 0e4f1e5 docs: D-017 main is the default branch · softalpha0
CanaryPost-Quantum dApp

Pushed 1 commit to main

  • 40a76a3 docs: README rewritten around the founder story, more concise · softalpha0
CanaryPost-Quantum dApp

Pushed 1 commit to claude/canary-post-quantum-dapp-xixqjv

  • 165ccce docs: re-verify submission on 30 Nov; correct Foundry test count to 113 · softalpha0
CanaryPost-Quantum dApp

Pushed 12 commits to claude/canary-post-quantum-dapp-xixqjv

  • 5b35299 docs: threat model signing paths reflect QoreX; test-token note on the project page · softalpha0
  • 2b4aede app: fixes from a first-visit walkthrough of the live app · softalpha0
  • 96220f5 app: Watch the demo links the v2 video · softalpha0
  • 8a94581 app: show the sealed-note envelope shortened; Copy still copies it in full · softalpha0
  • 53ba22c docs: project page text covers QoreX signing and QoreSeal notes · softalpha0

and 7 more commits

CanaryPost-Quantum dApp

Earned a Ship Weeks badge.

CanaryPost-Quantum dApp

Earned a Ship Weeks badge.

CanaryPost-Quantum dApp

Earned a Ship Weeks badge.

CanaryPost-Quantum dApp

Newly verified on chain: QoreSeal and the encryption key registry

CanaryPost-Quantum dApp

Pushed 37 commits to claude/canary-post-quantum-dapp-xixqjv

  • 54a3248 UI: design pass — mascot hero, live stats, glass header, richer cards · softalpha0
  • b56a942 M5 (P1): /activity feed from chain logs; submission checklist · softalpha0
  • 754f1b5 M7: demo video (https://youtu.be/1gQ1WEMfLyo) and project page linked from README and the app · softalpha0
  • de4afe6 M4: QCAI Stage 2 on the deployed code (85/100) and triage · softalpha0
  • 5973b12 M7: narrate-video dev tool (Windows TTS voice over the recorded demo, synced to captions) · softalpha0

and 32 more commits

CanaryPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.