JafariPay
JafariPay is an open-source, non-custodial USDC checkout stack for merchants on Arc. Its core primitive is the Payment Intent — created server-side with an Idempotency-Key (server/api/payment-intents.ts, backed by an idempotency_keys table) and completed through a hosted checkout (server/api/checkout.ts). Payments are verified independently on-chain: server/blockchain/arc-provider.ts fetches the receipt via viem, decodes the ERC-20 Transfer event, and runs a ten-point pipeline over network, recipient, exact base-unit amount, and replay protection, with money as exact BigInt base units (server/lib/money.ts). It also runs a real-funds Base→Arc CCTP v2 forwarding route: registry-first CCTP config, dynamic Circle fee quoting, strict amount and fee gates, destination-mint re-verification, and idempotent replay protection settle a cross-chain payment server-side through attestation. Merchants authenticate by wallet over SIWE and receive HMAC-SHA256 signed webhooks with SSRF guards (server/webhooks/delivery.ts); a reconciliation worker (server/workers/reconciliation.ts) resolves late, incorrect, and duplicate payments, settling funds to the merchant wallet.
| Contract | Address | Proof |
|---|---|---|
| Production USDC checkout settlement (1.00 USDC → native USDC) | 0x9d82a3b3d2cf47192d179febf7f44bbc850ac5dc53912a57a6279f196fae74ef | settlement tx ✓ · block 22331070 |
Software Developer solidity,rust,C++ Java JavaScript C# SQLserver jquery .net core Blazer Angular css