Skip to content
QORECHAIN
Register

Post-Quantum dApp

QoreEscrow PQC

Post-quantum milestone escrow using Solidity IQorePQC precompiles (0x0A01/0x0A02) and ML-DSA-87

Share on X

About

QoreEscrow PQC is a post-quantum milestone escrow dApp and CLI precompile verifier built on QoreChain Diana EVM (Chain ID 9800). Its Solidity contract QoreEscrowPQC.sol enforces 0x...0A02 pqcKeyStatus checks on escrow creation and requires 4627-byte FIPS-204 ML-DSA-87 signatures verified on-chain via 0x...0A01 pqcVerify before releasing or canceling funds, neutralizing stolen classical ECDSA keys.

How it's made

Built with Solidity 0.8.20 (evmVersion: paris), @qorechain/sdk (^0.14.0), @qorechain/evm, @qorechain/pqc, viem, React 18, TypeScript, and Vite. Deployed Contract & Verified Diana EVM Proofs (Chain ID 9800): 1. Deployed Contract: 0x720a8ea1c9220e740d847a8ad59870d31bd14962 (Deployer: qor1j9gj92ffkmud24p4uzszexhqnuy0dq9sf5ymwp / 0x915122A929b6f8d55435E0a02C9aE09F08F680b0). 2. MsgOpenEVMWindow (Hybrid Signed): TX BD9B1DFA1943334C9A21C35E0A6444A7CA2D352DD3C9549A5186AC70659A75C8 (Block 10820685). 3. Contract Deployment: TX 0x01ccf2a84e66d401ca028739d771059d60b2f31aa12233bfe2fc6b0a77fb5f31 (Block 10820688). 4. createEscrow (0.02 QOR, escrowId = 1): TX 0x78f1571f37e31de084b2a9cd6b7df527082178f1fbf5d6f2dcf3c0aca4e37137 (Block 10820690). 5. Forged-Signature Revert Proof: Simulated releaseWithPQC(1, 0xdeadbeef) reverted with InvalidPQCSignature. 6. releaseWithPQC (4627B ML-DSA-87 via 0x...0A01): TX 0x800e26e33c18bb1d04c63842fea41156ed308a8ec780d3c841e574fb89176e7c (Block 10820692, closed: true, nonce: 1). 7. Includes standalone Node CLI precompile verifier (cli/escrow-verify.mjs) and 4/4 unit tests.

Timeline

QoreEscrow PQCPost-Quantum dApp

Pushed 1 commit to main

  • c318d6b feat: QoreEscrow PQC smart contract, precompile verifier, and Diana proofs · devbox-zero-ops

Comments and questions

  • No comments yet.