Skip to content
QORECHAIN
Register

Quantum Pass

Chit

Zero-PII diagnostic receipt integrity anchored with QoreX post-quantum hybrid signatures

Share on X

About

Chit is a mobile-first diagnostic receipt pass and verification tool built on QoreChain (qorechain-diana). Instead of putting patient data or medical scans on-chain, Chit normalizes five non-identifying receipt fields (receiptCode, scanCategory, visitDate, facilityTag, and an optional controlled note), hashes them in the browser with SHA-256 via WebCrypto, and anchors CHIT:v1:<receiptHash> through a QoreX native hybrid-signed transaction (secp256k1 + ML-DSA-87). ​Clinics can issue a pass and share a branded PNG Chit Pass, while anyone—patients, doctors, or verifiers—can check a pass with no wallet or backend via live camera QR scan, saved QR image upload, or a one-tap live testnet sample. Verification checks receipt integrity (whether a receipt matches its anchored record without tampering). Because hash anchoring alone does not certify real-world clinical visits or clinic licensure, introducing permissioned/allowlisted issuers is our core next step after MVP so verifiers can distinguish an anchored record from an authorized issuer.

How it's made

• Architecture & Stack: Built with Vite, React, TypeScript, @qorechain/sdk (0.14.0), WebCrypto (crypto.subtle.digest), and qrcode.react. Chit requires no smart contracts, no backend database, and no patient accounts; read-only chain evidence is queried directly from Diana REST endpoints (/lcd proxy to api-testnet.qore.host). • QoreX Native Hybrid Signing: chit/src/lib/qorex.ts connects to window.qorex.native, verifies Diana network selection (qorechain-diana / EVM 9800) and an existing ML-DSA-87 key registration prior to signing, encodes a single 1 uqor self-send via @qorechain/sdk, and calls native.signAndBroadcast once with CHIT:v1:<receiptHash> in the memo. Single-tab broadcast guards and localStorage recovery (chit.pending.v1 / chit.receipts.v1) prevent duplicate broadcasts. • Fail-Closed Verification & Hardening: chit/src/lib/verify.ts enforces strict on-chain evidence checks (tx_response.code === 0, positive committed block height, critical /qorechain.pqc.v1.PQCHybridSignature with 4,627 decoded ML-DSA-87 bytes, classical secp256k1 signature, pqc_hybrid_verify.status=verified, and exact memo-to-recomputed-SHA-256 match). It never trusts declared JSON hashes or falls back to classical-only signing. • What Was Challenging: Ensuring deterministic cross-device canonical JSON serialization without leaking PII, handling CORS cleanly across dev/preview and Vercel deployments via /lcd rewrites, and designing fail-closed checks against missing PQC events or mismatched networks.

Timeline

ChitQuantum Pass

Pushed 1 commit to main

  • 046f3b4 Add diagnostic record fragmentation evidence doc · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • 12f3751 Document integrity vs permissioned issuer next steps in READMEs · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • 47a2eae Document integrity vs permissioned issuer next steps in README · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • 697bcdd Expose live testnet sample, fix header/wallet badge, and support custom scan type · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • fbc5abf Add plain-English UI, QR scanner/upload, and PNG receipt pass · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • d4c5b64 Add pitch deck link to README · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • 8164f69 Update README with project details and links · jaywon111(not counted: no real change)
ChitQuantum Pass

Pushed 1 commit to main

  • c2ec5f4 Add pitch deck link to README · jaywon111
ChitQuantum Pass

Pushed 8 commits to main

  • 1d49f77 docs: polish AI_USAGE.md for submission · jaywon111
  • f7d6dce docs: sync chit/README.md with root README · jaywon111
  • e02be3b docs and styles: update README and sync working tree changes · jaywon111
  • 0be0e6f fix: wire instrument.css, sample fields, and UI spacing · jaywon111
  • f1c1f5c feat: 0k UI, shareable #verify links, permissioned issuers, and live sample · jaywon111

and 3 more commits

ChitQuantum Pass

Newly verified on chain: Hybrid ML-DSA-87 transactions, PQC key registration with proof of possession, Test tokens fUSD, fETH, fBTC

ChitQuantum Pass

Pushed 1 commit to main

  • f2f80a4 Add build badge for QoreChain · jaywon111
ChitQuantum Pass

Pushed 1 commit to main

  • 7d0e3f2 Add project description and live deployment link · jaywon111(not counted: no real change)
ChitQuantum Pass

Pushed 1 commit to main

  • 7cf719d Add build status badge to README · jaywon111
ChitQuantum Pass

New project.

Comments and questions

  • No comments yet.