First x402 payment facilitator on SUI - Google OAuth to USDC payments in 600ms
We're bringing proven technology to SUI with unique advantages impossible on other blockchains.
x402 (HTTP 402 "Payment Required") is a proven protocol for micropayments:
The opportunity: SUI has NO x402 facilitator yet. We're first.
Existing x402 on Base and Solana face limitations:
Pay402 leverages SUI-native features to deliver the best x402 implementation, period:
1. Onboarding Non-Crypto Users (zkLogin + Enoki) → Google OAuth creates blockchain address. No wallet, no seed phrase, no crypto knowledge.
2. No Browser Wallet (Gas Sponsorship - Native) → Facilitator pays all SUI gas fees. Users only need USDC.
3. Low Latency (Sub-Second Finality) → 600-700ms blockchain settlement on testnet. Real-time payment confirmation.
4. Audit & Conflict Resolution (Cheap On-Chain Events) → Receipt events cost ~$0.0003 per payment (vs $0.50-$5 on EVM). Makes micropayments viable.
5. Flexible Extensions (Programmable Transaction Blocks) → Atomic multi-step: split coins, pay merchant, pay facilitator, emit receipt - all in one transaction.
6. Massive Scaling (Object Model - Owned Objects) → Parallel execution without shared state bottlenecks. Fundamentally different from EVM.
These capabilities are difficult or impossible on EVM/Solana chains.
URL: https://merchant-production-0255.up.railway.app (SUI Testnet)
Try it now:
1️⃣ Visit merchant → Click "Get Premium Data ($0.10)"
2️⃣ Sign in with Google (no wallet needed!)
3️⃣ Get test USDC from faucet (first time only)
4️⃣ Review payment (widget verifies transaction)
5️⃣ Confirm with 1-click (zkLogin signature)
6️⃣ Content delivered instantly
7️⃣ Receipt on blockchain
Proof Transaction: https://suiscan.xyz/testnet/tx/EV7D7z9gjzjrAQSKWSW8S1iLGdk8aEVPjn3zLA1aUSLE
Real payment on SUI testnet showing: buyer zkLogin signature, facilitator gas sponsorship, atomic USDC transfers, on-chain receipt.
Built during ETH Global HackMoney 2026:
✅ OAuth Login (zkLogin + Enoki)
✅ Gas Sponsorship (native SUI)
✅ PTB Validation (client-side security)
✅ zkLogin Signing (1-click payments)
✅ Optimistic Settlement (instant delivery)
✅ Pessimistic Settlement (wait for finality)
✅ USDC Persistence (Circle native)
✅ Merchant Onboarding (JWT invoices)
✅ On-Chain Receipts (cheap audit trail)
Testing: 276 automated tests passing
Deployment: Live on Railway (facilitator + widget + merchant)
For SUI Ecosystem: First x402 brings proven payment infrastructure ($600M ecosystem) to SUI, enabling:
For x402 Protocol: Demonstrates that SUI's unique features (zkLogin, PTBs, object model) enable the BEST x402 implementation - superior to EVM and Solana.
Technical Innovation: Shows how SUI-native features eliminate complexity that requires workarounds on other chains (EIP-4337 for gas abstraction, smart contract wallets for social recovery, etc.)
GitHub Repository: https://github.com/hamiha70/Pay402
Full Documentation:
On-Chain (SUI Blockchain):
Coin<T> supportOff-Chain Components:
Facilitator API (Node.js + TypeScript):
Payment Widget (React + Vite):
Demo Merchant (Node.js + Express):
Infrastructure:
Example Transaction: https://suiscan.xyz/testnet/tx/EV7D7z9gjzjrAQSKWSW8S1iLGdk8aEVPjn3zLA1aUSLE
1. zkLogin + Enoki (Unique to SUI)
Google OAuth creates a deterministic SUI address via zero-knowledge proofs. No browser extension, no seed phrase required.
2. Programmable Transaction Blocks (SUI Native)
Atomic multi-step transactions: split coins, transfer to merchant, transfer facilitator fee, emit receipt - all succeed or all revert together.
3. Object Model with Parallel Execution
Owned objects enable parallel transaction processing without global state locks. Multiple payments execute simultaneously without coordination overhead.
4. Native Gas Sponsorship
ptb.setGasOwner(facilitatorAddress) - built into the protocol. Buyer signs with USDC, facilitator signs with SUI, neither can spend the other's funds.
Why better than Solana: Solana supports it but less elegantly. SUI's implementation is cleaner and native.
Technical Depth:
Real-World Utility:
SUI Ecosystem Contribution:
Immediate (Post-Hackathon):
Short-Term:
Medium-Term:
Mysten (SUI):
Circle:
Railway:
Every aspect of this project - smart contract design, Move implementation, facilitator API architecture, widget UI/UX, PTB verification algorithm, testing strategy, documentation, and presentation - was built by one person during the hackathon.
The comprehensive scope demonstrates:

