Skip to content
QORECHAIN
Register

Post-Quantum dApp

QuoteSeal

Post-quantum seals that prove an invoice is the exact file the supplier sent.

Share on X

About

Invoice fraud is one of the most common ways cross-border buyers lose money. A scammer intercepts a supplier's quotation or proforma invoice (PI), changes the bank details, and forwards it. The buyer has no simple way to check that the PI in their inbox is the file the supplier actually issued. QuoteSeal fixes that with a post-quantum seal on QoreChain: (1) The supplier connects QoreX and drops the PI into the app. The browser computes its SHA-256; the file never leaves the page. (2) "Seal with QoreX" sends a 1 uqor self-transfer with memo quoteseal:v1:<sha256>:<ref>, signed hybrid (secp256k1 + ML-DSA-87). Validators check both signatures and record pqc_hybrid_verify = verified. (3) The supplier sends the buyer the PI plus the seal tx hash. The buyer drops the file they received and pastes the hash. The app reads the tx from the public REST endpoint and shows the fingerprint, the sealer, the PQCHybridSignature extension, the chain's verdict, and whether their file matches. One changed byte means "does NOT match". Why post-quantum: a seal is a long-lived proof. Contracts, warranties and customs disputes run for years, longer than classical signatures can be assumed safe. With hybrid signing, an attacker who steals or one day computes only the classical key still cannot forge a seal. There is also an EVM lane: the QuoteSeal registry contract stores docHash → (sealer, time, ref) and rejects duplicates. On QoreChain an EVM call is only admitted inside an authorisation window opened by a hybrid-signed native message, so the contract inherits the same protection. Everything is live on testnet now: a real hybrid-signed seal, the deployed contract, and an EVM seal of the same document.

How it's made

Web app generated with npx create-qorechain-dapp@latest -t fullstack-web --network testnet, then extended in React + Vite. Uses QoreX (window.qorex.native.enable / getKey / signAndBroadcast), Web Crypto SHA-256 in the browser, chain reads over the public REST API (api-testnet.qore.host). Served from a Cloudflare Worker. Signing: @qorechain/sdk EthNativeSigner for hybrid secp256k1 + ML-DSA-87 (FIPS 204) transactions. ML-DSA-87 key registered on-chain with proof of possession. Contract: Solidity QuoteSeal.sol, Hardhat 3 + Ignition, deployed through @qorechain/evm's authorisation-window flow. CLI: npm run seal -- file|verify, npm run evm-seal, scripts/onchain-proof.sh. Tests: 4 Hardhat contract tests + 3 memo/verifier tests, all passing. AI assistance documented in AI_USAGE.md. Licence: MIT. More links: https://github.com/wally-builds/quoteseal/blob/main/TESTNET.md Hybrid seal tx: F52965E9ABDEBC67BB08AA089DFA8265C31DCE4F797A5A5319484624A50E2DB5 EVM seal tx: 0x89a759fc0f7f9181326bf51af8af4abb5265ebcfd11875f1144d9863259060d5 EVM account: 0x7aB9d0bDC3F7a0c552b37079a1248A7180a8204E Contract: 0xe261843CeEe2466BCaC0F5e0D33De7C1A44Acb24

Timeline

QuoteSealPost-Quantum dApp

Pushed 6 commits to main

  • 83343e9 docs: add contact link · wally-builds
  • dfea5c1 Testnet proof: hybrid seal, contract deploy, EVM seal; hosted demo video · wally-builds(not counted: no real change)
  • 26a802e Testnet proof: hybrid seal, contract deploy, EVM seal; hosted demo video · wally-builds
  • 5b71dfe Testnet proof: hybrid seal, contract deploy, EVM seal; hosted demo video · wally-builds(not counted: no real change)
  • c8e86fe Testnet proof: hybrid seal, contract deploy, EVM seal; hosted demo video · wally-builds(not counted: no real change)

and 1 more commit

QuoteSealPost-Quantum dApp

Pushed 6 commits to main

  • 1c5dd60 Add testnet proof, featured image · wally-builds
  • 2aaf9a7 Add GitHub Actions workflow for unpacking files · wally-builds
  • 0342a0c Add files via upload · wally-builds
  • 475b8e1 Unpack project files · wally-builds
  • c0bcef4 Add unzip workflow for quoteseal-repo.zip · wally-builds

and 1 more commit

QuoteSealPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.