
Post-Quantum AI Agents
QorePay
Quantum-safe invoice payments for AI agents — on QoreChain.
About
QorePay — quantum-safe AI-agent invoice payments on QoreChain. Merchants create invoices; AI agents pay under on-chain enforced limits (per-transaction, per-category and daily caps, expiry, revoke) — the agent can only pay invoices, never send to an arbitrary address. Funds sit in escrow and release on merchant confirmation or auto-release after 1 hour; disputes go to a bonded judge with an appeal window and a final ruling (a judge overturned on appeal loses half their bond). Flows above 5 QOR require an ML-DSA-87 post-quantum guardian signature, so a leaked classical key alone moves nothing. Unlike spending-limit-only agent wallets, QorePay combines invoice + escrow + bonded-judge dispute with appeal + session keys in one rail. Proven on the diana testnet: 13 invoices on chain (9 released or refunded, the rest pending by design as cap/revoke proofs), dispute #7 refunded 0.9 QOR, invoice #2 released 0.5 QOR, subscription #1 completed 3/3 periods, and the Q-Day Survivor drill (6 QOR release with an empty signature reverts; the real ML-DSA-87 signature releases). Also includes a QOR↔qUSD swap, an NFT marketplace settled through invoices, fee-funded staking, perpetuals up to 100x, subscriptions, a merchant registry and a read-only MCP server. Try the live demo — it reads chain 9800 state without login.
How it's made
Solidity with Foundry (85/85 tests pass) on the QoreChain diana testnet (EVM chain 9800), 8 deployed contracts whose bytecode matches the local Foundry build (metadata identical; only constructor-immutable slots differ). Native Cosmos lane with ML-DSA-87 key registration using the pqcVerify and pqcKeyStatus precompiles for every release above 5 QOR. A Node.js agent with a deterministic natural-language parser ("pay invoice #12") holding only a capped session key; a read-only MCP server; and a React + viem/wagmi web UI (create-qorechain-dapp, QoreX connect) deployed as the live demo. Every flow is proven on chain with real transaction hashes — invoices, escrow release, dispute ruling → appeal → judge slash, subscription periods, the leaked-key drill, swap/NFT/staking/perps — see ONCHAIN-EVIDENCE.md in the repo. Testnet only; no users claimed beyond our own on-chain proof flows.
Timeline
Comments and questions
- No comments yet.