Back to Directory/Cloud Providers

io.github.ANAMIZED/x402-cloudflare-starter

USDC micropayments on Base + Solana via x402. BYO wallets. Cloudflare Workers. No Coinbase.

Cloud ProvidersTypeScriptv0.1.0

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

SurfaceEntry
API (Worker)src/index.ts
60s demoGET /demo
Receipt ledgerGET /v1/receipts
SKU catalogsrc/catalog.ts + GET /v1/catalog
MCP Servermcp/server.ts
Application packdocs/APPLICATION_PACK.md

Agent checkout (hybrid)

Free: GET / · GET /health · GET /demo · GET /v1/catalog · GET /v1/receipts

SKUx402Stripe (human)
Agentic OS Cycle $0.75GET /v1/cycleStripe
OpenGOS Search $0.40GET /v1/searchStripe
OpenGOS Draft $2.50GET /v1/draftStripe
Trading Decision Cycle $4.00GET /v1/tradingStripe

Paid handlers return a receipt only. They do not unlock Desk Studio. Trading receipts are not live execution.

Documented receive addresses:

NetworkAddress
Base / Ethereum0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438
SolanaETQwWf19axArsY493UfC6bxe2BmEzmzvCb58PPnC38A

Quick Start

npm install
npx wrangler secret put BASE_ADDRESS
npx wrangler secret put SOLANA_ADDRESS
npx wrangler deploy

License

MIT

Setup from the maintainer

This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.

Learn More