WondrPay is UPI for digital dollars. India moves billions a month on UPI because paying is just a name, a QR and a PIN. Crypto still asks people for seed phrases, gas tokens and 42-character addresses. WondrPay removes all of that: you pay chai-shop.wondrpay.eth in USDT on Whitechain, confirm with a 6-digit PIN or your fingerprint, and the payment settles in about 3 seconds. You never hold or pay gas.
For people:
- Create a wallet in 20 seconds. The key is encrypted on your phone with your PIN or a passkey; there's no seed phrase. MetaMask works too, guarded by a WondrPay PIN.
- Pay anyone by scanning a QR, or by typing a name or address. Every person and shop gets a chat-style payment thread, like Google Pay.
- A PIN or fingerprint on every payment, plus World ID above a limit you set (default $100), so a stolen unlocked phone can't drain you.
- Live updates: the app watches Whitechain directly, so a "money received" pop-up and sound arrive within about a second of the block.
- Rewards: scratch cards on shop payments, with WBT cashback funded by fees and claimed with World ID, so bots and wallet farms can't farm it.
- Trustless refund requests: open one with proof, the shop approves 20/50/100% or declines, and every step is a signed, immutable Arkiv record that neither side can edit.
For shops:
- A QR terminal: type an amount, show the QR, and see "Received" the moment it settles.
- WondrPay for Business: a self-serve portal with API keys, hosted checkout, a one-line Pay button, payment links, a webhook delivery log with resend, an integration checker, team roles, and refunds by API from a capped allowance.
- Subscriptions (Autopay), an orders dashboard, CSV export, a WooCommerce plugin, and a demo marketplace (Amaron) that sells entirely through the API.
Money never sits with us. It goes straight from the payer to the shop's own wallet, and refunds can only return to the original payer, capped at what they paid, enforced on-chain.
Monorepo: Next.js 16 PWA (apps/web), a demo store (apps/demo-store), a TypeScript server library (packages/server), a shared types package, a checkout SDK, and Foundry contracts. Deployed on Vercel. Every feature was tested with real testnet transactions (73+ scripted checks).
Whitechain (chain 1874): we wrote and verified a PaymentRouter, a MerchantRegistry and an Autopay factory.
- A shop signs an EIP-712 Order. The payer signs USDT's EIP-3009 receiveWithAuthorization with nonce = the order digest, so that signature can settle only that exact order, and only through the router (no front-running).
- Allow-listed relayers pay the WBT gas, so users hold only USDT.
- Autopay uses one EIP-2612 permit per subscription contract, and the keeper can never charge early or above amount x cycles.
- Refunds by API use a permit-based allowance capped by the shop. A ledger "claim" protocol lets two racing servers never refund the same money twice.
Hacky bit we're proud of: payments sometimes failed on the first try. We traced it to parallel relays reusing one nonce, which Whitechain rejects as "Missing or invalid parameters". The fix: a per-relayer nonce allocator, a pool of 3 relayers keyed by payer, and transactions signed once and only ever re-broadcast byte for byte, so a payment can never go out twice. Now 5 parallel payments settle in ~3.3 s each with zero failures.
Arkiv is our live data layer:
- Payment requests whose Arkiv expiry equals the on-chain deadline (they complete or vanish).
- Receipts, shop profiles, World ID claims, scratch cards, the webhook log, payment links, websites with hashed API keys, and team roles.
- Refund cases written as append-only events, then handed to a burn address so nobody, not even us, can edit them.
- Every read filters on our writer address, and payers re-hash each request and check the merchant signature on-chain before signing.
ENS v2 (Sepolia): wondrpay.eth has its own UserRegistry and PermissionedResolver. Every shop or person gets name.wondrpay.eth with their Whitechain address under ENSIP-11 coinType 2147485522, resolved live at payment time.
World ID (IDKit 4, verified server-side):
- One human can verify up to 5 wallets; already-verified wallets co-sign the next, so there's no second scan.
- Step-up proofs bound to a single payment, above the user's limit.
- Reward claims use World ID 4 session proofs, so every claim is a fresh check instead of "already verified".
- World ID is required to open a refund request, which deters receipt fraud.
Security: device keys are sealed with PBKDF2 + AES-GCM or WebAuthn PRF. API secrets are stored as SHA-256 hashes, and every approval is a single-use wallet signature. Webhooks are SSRF-guarded and EIP-191 signed, and the SDK is SRI-pinned. Independent review passes after every phase found and fixed issues like forged Arkiv entities and replayable approvals.