Skip to content
QORECHAIN
Register

Post-Quantum dApp

Tillmark

Invoices a scammer cannot fake.

Share on X

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

TillmarkPost-Quantum dApp

Pushed 1 commit to master

TillmarkPost-Quantum dApp

Pushed 1 commit to master

TillmarkPost-Quantum dApp

Pushed 1 commit to master

TillmarkPost-Quantum dApp

Pushed 1 commit to master

TillmarkPost-Quantum dApp

Pushed 1 commit to master

TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • d743667 README: video embed + scannable style + live numbers (2 Dec) · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 76016df Cover: refresh baked-in numbers to live values · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 0769ce5 Check: wire demo-005 digest + pay tx into /check verifier · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 9927423 Postgres invoice store (DATABASE_URL) + atomic disk writes · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 665f57a Fixture: rotate hero demo to demo-006 (demo-005 paid live 1 Dec 2026) · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 22affde Docs: README capture note — tabbed rebuild now live on main domain · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 8198a70 Docs: README web vitest count 135 -> 137 (live re-run 1 Dec) · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 4b8ff61 Verify: point live-site probe + free-proof fallback at main domain (tillmark-app) · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 5eebc96 Docs: point live-site link back to main domain (tillmark-app) · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • a5adbaf Render: persistent disks for invoice server + indexer (F17) · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • d956eac Walkthrough fix 4: pay page says when the invoice server may have lost the invoice · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 95c447c Walkthrough fix 3: connect timeout 45s -> 90s · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 7ada3f2 Walkthrough fixes 2: upfront MetaMask-import warning, dynamic mock-bar host · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • 9689d0b Walkthrough fixes: live indexer counts with snapshot fallback, 45s connect timeout, stale copy + gas scoping · goat-dev8
TillmarkPost-Quantum dApp

Pushed 1 commit to master

  • fa6caf8 Render: invoice server + indexer free -> starter (always on) · goat-dev8

Comments and questions

  • No comments yet.