Skip to content
QORECHAIN
Register

Post-Quantum dApp

Pocket Drop

Send QOR by link into a smart account only a post-quantum key can move.

Share on X

About

Pocket Drop lets you send testnet QOR to a friend who has no wallet. You create a link. They open it, and their browser creates a Pocket: a smart account whose owner is an ML-DSA-87 key, registered on chain with proof of possession. The money lands in the Pocket. From then on, every spend is an intent signed with that post-quantum key and checked on chain through the pqcVerify (0x0A01) and pqcKeyStatus (0x0A02) precompiles. The classical secp256k1 key only pays gas. If it leaks, or a quantum computer recovers it, the money still cannot move. Pockets have a daily limit with a timelock and owner veto above it, up to five guardians who can freeze or recover the Pocket, and ERC-1271 so other contracts can accept a Pocket's post-quantum approval. The relayer sends every transaction as a hybrid secp256k1 + ML-DSA-87 MsgCrossVMCall, signed by an isolated signer that only accepts calls to our contracts. It cannot forge any intent, bind or claim. To show that this holds, we run our own Q-Day drill at /qday: self-run, always on, and separate from the organisers' 18 Nov drill. The classical keys of five funded bait Pockets are published and an attacker bot tries every path every hour. Balances and the attack log are live. Anyone can re-check any of our transactions at /check. Diana testnet only. QOR there has no monetary value.

How it's made

- Contracts (Solidity 0.8.28, Foundry): PocketVault (cloned per user by PocketFactory via CREATE2), PocketRouter, PocketDrop, DropPool, PqcLib (fail-closed wrappers for both precompiles) and PqGuard (a drop-in post-quantum approval check for any dApp). - Owner intents use the QoreX message format, so QoreX users and browser-key users share one verification path. - Audit: two-stage QCAI (Stage 1 82, Stage 2 78). Every finding is mapped to a resolution and tests in docs/AUDIT.md. - App: React + Vite. Keys are generated in the browser with @qorechain/pqc; key registration and EVM windows use @qorechain/sdk; signatures are re-verified with @qorechain/qoresign as a second library. - Relayer: TypeScript on Vercel. Hybrid ML-DSA-87 relay lane with an isolated PQ signer (rate-limited, allow-listed calls only). - Evidence: every recorded transaction is re-checked by `node frontend/scripts/reverify.mjs` (477 passed, 0 failed). CBOM produced with QoreScan. - Hard part: making the post-quantum key the only key that can move funds while a classical key still pays gas.

Timeline

Pocket DropPost-Quantum dApp

Newly verified on chain: QoreSeal and the encryption key registry

Pocket DropPost-Quantum dApp

Newly verified on chain: QoreScan

Pocket DropPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.