Post-Quantum dApp
QoreVault Drill
A post-quantum escrow vault on QoreChain: escrowed funds release only with a genuine ML-DSA-87 signature, so a leaked cl
About
QoreVault Drill is a post-quantum escrow vault live on the QoreChain testnet (diana). Escrowed funds release ONLY with a valid ML-DSA-87 signature verified on-chain by the pqcVerify precompile — there is no classical-key release path at all. Proven on-chain: a release attempt with a forged ML-DSA signature from a 'leaked' classical key reverts with BadPqcSignature and the vault balance does not move, while the guardian's genuine ML-DSA-87 signature settles the escrow. A second module runs a bill-paying agent whose per-transaction and daily limits are enforced by the chain itself through hybrid signature verification — over-limit and post-revocation payments are rejected on-chain. Timeout refunds return escrowed funds without any signature.
How it's made
Built with the official QoreChain stack: scaffolded with create-qorechain-dapp 0.14.0 and @qorechain/sdk 0.14.0. The escrow logic is a Solidity contract deployed through the chain's EVM (chain ID 9800) inside a fresh account authorisation window. How it works: 1. The guardian's ML-DSA-87 key pair was generated locally and registered on-chain (hybrid / dilithium5); its status was verified through the chain's post-quantum verification path before any funds moved. 2. QoreVaultDrill holds named two-party escrows. Its only release path builds a 161-byte message binding the chain, the contract, the escrow ID, the beneficiary and the amount, and checks it against the chain's pqcVerify precompile — an escrow settles only if the guardian's genuine ML-DSA-87 signature (4,627 bytes) verifies. There is no classical-key release function at all. 3. The drill, executed live on testnet: a release attempt carrying a forged ML-DSA payload — simulating a leaked classical key — reverts with BadPqcSignature and the vault balance stays at exactly 2 QOR; the guardian's genuine signature then settles the same escrow to the beneficiary. A second escrow proved the signature-free timeout refund path. 4. The agent module registers a separate post-quantum agent key whose payments are verified by the chain itself: payments of 0.8, 0.5 and 1.0 QOR passed hybrid verification, a 5 QOR payment was rejected by the per-transaction limit, a 0.9 QOR payment was rejected by the daily limit, and after the key was revoked, further payments were rejected as unbound. 5. Testing: the Foundry suite passes 14/14 and the scaffold suite 2/2, with a clean typecheck. Every claim above links to its transaction in docs/PROOF.md in the repository. Deployed contracts and accounts (QoreChain testnet, diana): - QoreVaultDrill contract (EVM): 0x2c27fe7a973243b72ee05bcc38d2281615a5f665 - Guardian / build account (EVM): 0xCd5504DAC0A4333891f0BD64B7808F56a0923ee7 - Agent owner account (EVM): 0x217ccdFe0BBFEaA3c45c75a2dddED677cEE840C6
Timeline
Pushed 1 commit to main
- e7fa61f Add demo video link to festival entry section · zynthlabsio
Pushed 1 commit to main
- 6172fe1 Add festival entry section: project page, verified registration and on-chain checks · zynthlabsio
New project.
Comments and questions
- No comments yet.