x402 Cloudflare Starter
The simplest way to accept USDC payments on Base + Solana using x402. Bring your own wallets. No Coinbase account required.
This repo is the agent checkout rail for ANAMIZED first-dollar SKUs. Humans use Stripe Payment Links. Agents use x402. Same prices. Host owns fulfillment.
Base is the default settlement network (eip155:8453, USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Solana is an optional parallel.
Surfaces
Agent checkout (hybrid)
Free: GET / · GET /health · GET /demo · GET /v1/catalog · GET /v1/receipts
Paid handlers return a receipt only. They do not unlock Desk Studio. Trading receipts are not live execution.
Documented receive addresses:
Quick Start
npm install
npx wrangler secret put BASE_ADDRESS
npx wrangler secret put SOLANA_ADDRESS
npx wrangler deploy
License
MIT