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