Skip to content
QORECHAIN
Register

Post-Quantum dApp

Plimsoll

Proof of reserves that a quantum computer can't fake, and that every customer can check.

Share on X

About

Exchanges prove their reserves with figures they supply themselves, and regulators now want frequent proofs: Brazil's central bank will require licensed crypto exchanges to prove asset sufficiency every day from 1 January 2027. A reserve proof only means something if the reserve wallets really belong to the exchange, every customer is in the liabilities, and the attestation can't be forged later. Exchange wallets transact all day, so their classical public keys are exposed; once a quantum computer breaks them, attestations signed with those keys can be forged. Plimsoll moves all three checks on chain with ML-DSA-87: - each reserve account signs its own ownership statement; - the auditor's post-quantum key is pinned at deployment, and only it can approve an epoch; - the contract reads every reserve's QOR and fUSD balance itself and records SOLVENT or SHORTFALL per asset, plus the share of reserves held by accounts with a possession-proven post-quantum key (read with pqcKeyStatus). Approvals expire, and the dashboard shows how old the latest proof is and checks the reserves right now. Customers check their own balance in the browser against a salted Merkle-sum root and can file a signed dispute on chain. A publisher bot submits epochs through its own scoped EVM window that reaches only the Plimsoll contract, so a stolen bot key can't publish a fake epoch.

How it's made

- A Solidity contract, Plimsoll (Hardhat 3, Ignition), from create-qorechain-dapp's hardhat template. It checks every approval with QoreChain's pqcVerify against keys read with pqcKeyStatus, through Bowline (github.com/steven3002/bowline), our own open-source helper library (MIT). - A shared TypeScript Merkle-sum package used by the prover command line and by the browser, so customers check their own balance locally. - A publisher bot that submits epochs through its own scoped EVM window, which reaches only the Plimsoll contract (@qorechain/sdk). - A React app from create-qorechain-dapp's viem-wagmi template, with RainbowKit and QoreX signArbitrary. - An internal security review before the audit: approvals expire, signed texts name their signer, and the auditor, publisher and admin must be three different accounts. - QCAI audit with the Ethereum (EVM/Solidity) setting: the reports and our finding-by-finding response are in docs/AUDIT.md. - Hardhat and Vitest tests for the contract, the prover, the bot, the Merkle package and the web app, including fail-closed tests for inactive precompiles. - Built with AI coding assistance, described in AI_USAGE.md.

Timeline

PlimsollPost-Quantum dApp

Pushed 44 commits to main

  • 85d0214 Merge pull request #21 from steven3002/docs/qcai-stage1 · steven3002
  • 8b4a958 Add the Stage 1 QCAI audit report, the response to each finding and a zero-address regression test · steven3002
  • c299b09 Merge pull request #20 from steven3002/chore/bowline-release · steven3002
  • 4adc3c0 Install Bowline from its public release instead of a local folder · steven3002
  • 45da470 Merge pull request #19 from steven3002/fix/landing-copy · steven3002

and 39 more commits

PlimsollPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.