
About
QoreX pay links are secp256k1-only — an open issue (qorechain/qorex-integrations #1, 26 Nov 2026) — so anyone can copy an invoice, change the payee, and the victim pays the scammer. Tillmark closes that hole. The merchant registers with a proof-of-possession-proven ML-DSA-87 key (merchant 0x205efa69…, PoP registered on chain), every invoice — amount, payee, order id, expiry, nonce — is signed with ML-DSA-87 under one canonical message, and the TillmarkCheckout contract (v2, 0x52c2aEa7F7EF598801f27D8b2F2fFEFff9F5664e, block 10954801, 12,160 bytes, byte-identical to source) verifies that signature on chain before any money moves. A swapped payee or a tampered body reverts — the money never moves. Live on Diana: 10 invoices paid, 18 tampered invoices refused, 10 signed — every refusal a real receipt, including four BadMerchantSignature tampers. The demo invoice (demo-002) was paid live on 29 Nov 2026: 0.01 QOR, tx 0xe3e6689c… (block 10964508, status 1), and the Paid event is the receipt. A Render invoice server (relayer configured) and a Render indexer (paidCount 6 on v2, tracking every Paid event) keep the live state honest; a Postgres-backed demo fixture shows a real signed invoice, and the /check verifier reads the receipts straight off chain. QCAI audits: 75/100 in Stage 1 and 85/100 in Stage 2, 0 real findings in either. Tests: Foundry 44/44, frontend 137/137.
How it's made
The contract does the trusting. TillmarkCheckout v2 (0x52c2aEa7F7EF598801f27D8b2F2fFEFff9F5664e, block 10954801, 12,160 bytes, byte-identical to source) is a hand-written Solidity contract that checks the invoice signature itself with pqcVerify (0x0A01) against the merchant's ML-DSA-87 key — no relayer, no oracle, no trust. v1's bugs (missing nonce check, missing orderIdHash binding) are fixed in v2, and the v1 contract is history only. The invoice itself is one canonical message — tillmark-invoice-v1, chain, contract, merchant, payee, amount, orderId, expiry, nonce — signed once, verified on chain. The merchant key is registered on chain with proof of possession (pqcKeyStatus: registered, algorithmId 1, 2,592-byte public key, possessionProven true), so the contract never trusts a key it hasn't seen proven. Two Render services keep the live state honest. An invoice server (relayer configured) serves invoices from a Postgres-backed store and replays the demo fixture; an indexer (paidCount 6 on v2, last error null) tracks every Paid event and serves the live state to the frontend. The demo-002 real payment (tx 0xe3e6689c…, block 10964508, status 1) and the four BadMerchantSignature tamper refusals are all on chain, with the /check verifier reading them straight off chain. The evidence is all on chain. The demo-002 real payment (tx 0xe3e6689c…, block 10964508, status 1), four BadMerchantSignature tamper refusals, 10 invoices paid, 18 refused, 10 signed. The web app (React + Vite) pays through MetaMask or QoreX and proves the signature on screen — 4,627 bytes, drawn as a mountain range — with the pay flow, the QR code and the live demo all reading the same chain state. The /check page shows 24 real receipts, and the wallet connection has a 90-second timeout with a plain-language retry. Tests: Foundry 44/44, frontend 137/137, server 14/14, indexer 6/6, merchant 6/6.
Timeline
Comments and questions
- No comments yet.