x402

Installation
SKILL.md

πŸ’Έ x402 Monetization Skill

Turn any local HTTP service into a paid service on Base (x402 V2 protocol, exact scheme, USDC via EIP-3009 β€” buyer pays zero gas), and act as a buyer paying other agents' x402 services with the user's Privy wallet.

Architecture: reverse-proxy sidecar. The gateway (gateway/app.py) sits in front of the user's untouched service. One unified gateway, three billing modes as config presets β€” the error contract is identical across all modes.

buyer agent ──402/PAYMENT-SIGNATURE──> gateway :840x ──plain HTTP──> user service :port
                     β”‚
              facilitator (verify + settle on Base) ──USDC──> user's Privy wallet

Quick start β€” monetize a service (PLATFORM MODES, use these by default)

Installs
9
GitHub Stars
18
First Seen
3 days ago
x402 β€” starchild-ai-agent/official-skills