Gasless Stripe-style USDT payments on Whitechain: checkout, links, subscriptions and refunds.
QuietPay lets a business get paid in USDT on Whitechain, from the first checkout through everything after it. Neither the customer nor the merchant ever pays gas or sees a seed phrase.
Most crypto checkouts are a "pay" button that sends a plain transfer and leaves the merchant to sort out the rest. QuietPay handles the parts a real business needs once the first payment has gone through:
To prove the integration is real, we built Swag Counter, a separhat talks to QuietPay only through the public SDK and HTTP, theway a real merchant would. All of these are real transactions in official test USDT on Whitechain Sepolia, with explorer links in our repo: a one-time payment, a payment-link purchase, a new subscription, an automat and a partial refund.
sdk docs: https://quietpay.gitbook.io/quietpay-docs
Chain and token. QuietPay runs on Whitechain Sepolia (chain 1874) with the official test USDT (TetherTokenV2 proxy, 6 decimals). We never deployed a stablecoin of our own. Whitechain's USDT supports both EIP-2612 permit and EIP-3009 receiveWithAuthorization, which is what makes the whole product gasless:
Before building on the USDT EIP-712 domain, we checked that the the on-chain DOMAIN_SEPARATOR().
Smart contract. QuietPay.sol uses Solidity 0.8.30 with evm_versitechain for verification), OpenZeppelin v5 (EIP712,SignatureChecker, SafeERC20, Ownable2Step, Pausable, ReentrancyGuard) and Foundry. It handles:
A failed renewal doesn't revert. It emits RenewalFailed and records the attempt, so the keeper's transaction still succeeds. Along with unit tests, we have a fork test that runs a real pay against the live USDT contract.and verified on Whitechain's Blockscout explorer.
Backend. The API uses TypeScript, Node 22, Hono, SQLite (better-m. It runs four workers:
All amounts are decimal strings in the API and bigint base unitsJS floats for money.
Frontend. Next.js (App Router) and Tailwind for the hosted checkts, customer portal, merchant dashboard and admin panel. Privy(with Whitechain added as a custom chain) gives users Google/email login with an embedded wallet; MetaMask is also supported. Swag Counter is a separate Next.js app that imports only @quietpay/node. CI enforces that by is a third-party integration.
Partner tech. Whitechain's fast finality makes a "paid" result fts USDT supporting EIP-3009 and EIP-2612 natively is what lets us build gasless payments, renewals and refunds without wrapping the token. We used Whitechain's official agent skill and its llms.txt docs while building. We logged documentation gaps we ran into in WHITECHAIN_FEEDBACK.

