x402 Production Guide
Step-by-step architecture for deploying, protecting, and indexing real revenue-generating x402 V2 services on Base Mainnet.
1. Non-Custodial M2MCent Escrow (Base 8453)
Every EIP-3009 USDC authorization settles atomically through the audited Escrow contract, routing 97.5% directly to your payout wallet and 2.5% protocol fee.
2. Execute-Before-Settle Reliability
Validate request schemas and upstream availability before broadcasting settlement so 4xx/5xx errors never charge your buyers.
3. Automatic AEO & MCP Discovery
Expose /.well-known/x402, /.well-known/did.json, and MCP server cards so autonomous agents discover and price your endpoints automatically.
4. Gasless Buyer Experience
AI agents sign off-chain EIP-3009 USDC authorizations with zero ETH gas required on the buyer wallet.
Production Paywall FAQ
Do I need Stripe or a bank merchant account?
No. Payments settle directly in native USDC on Base Mainnet into your own EVM wallet with zero chargebacks.
Does an x402 paywall hurt my website's Google SEO?
No. Keep your HTML pages open (200 OK) for human visitors and search engines, and gate only your JSON/API or MCP data routes with HTTP 402.
How much ETH gas does a standalone server relayer need?
Base L2 settlement costs ~$0.0003 USD per call; ~$1.00 USD of Base ETH covers thousands of settlements.