Skip to content
QORECHAIN
Register

Post-Quantum dApp

PQ Timelock Vault

An EVM vault with timelock, guardian cancel, daily limit, and an ML-DSA-87 signature threshold verified on-chain.

Share on X

About

A vault on QoreChain's EVM with four controls in one contract: a timelock (a queued withdrawal can only execute after queuedAt + timelockSeconds, no owner shortcut), a guardian who can cancel a queued withdrawal but never move funds, a rolling 24h daily limit, and a post-quantum threshold — withdrawals above 1 QOR require a valid ML-DSA-87 signature by the owner, verified on-chain through QoreChain's PQC precompiles (pqcVerify 0x0A01, pqcKeyStatus 0x0A02). Deployed on testnet (qorechain-diana, EVM 9800): 0x2dd1d8b68da66948dd34f0efaab1edc87440e533 (owner 0x4ebF42bc963A290EC0c50549ddE011D479723F6b, guardian 0x428be6e8bb0a96cb3bf2b6bdf5b3176568526a34, timelock 24h, threshold 1 QOR, daily limit 5 QOR). Verified end-to-end on testnet: a real ML-DSA signature was accepted, a tampered signature was rejected, execution before the timelock was rejected, and guardian cancel works.

How it's made

Foundry (Solidity) contract with 46 forge tests; frontend in Vite + React + wagmi scaffolded from create-qorechain-dapp. Signatures are produced with @qorechain/pqc and verified on-chain by the PQC precompiles. Flattened source and audit notes are prepared for the two-stage QCAI audit.

Timeline

Comments and questions

  • No comments yet.