← ClaudeAtlas

x402listed

Build internet-native payments with the x402 open protocol - HTTP 402 Payment Required for on-chain micropayments with no accounts or API keys. Use when developing paid APIs, paywalled content, AI agent payment flows, or MCP tools that charge per call. Covers the TypeScript, Python, and Go SDKs across EVM, Solana, Stellar, and Aptos.
tenequm/skills · ★ 28 · AI & Automation · score 85
Install: claude install-skill tenequm/skills
# x402 Protocol Development x402 is an open standard (Apache-2.0) that activates the HTTP `402 Payment Required` status code for programmatic, on-chain payments. Originally created by Coinbase, now maintained by the [x402 Foundation](https://github.com/x402-foundation/x402). No accounts, sessions, or API keys required - clients pay with signed crypto transactions directly over HTTP. ## When to Use - Building a **paid API** that accepts crypto micropayments - Adding **paywall** to web content or endpoints - Enabling **AI agents** to autonomously pay for resources - Integrating **MCP tools** that require payment - Building **agent-to-agent** (A2A) payment flows - Working with **EVM** (Base, Ethereum, MegaETH, Monad, Polygon, Stable, Arbitrum), **Solana**, **Stellar**, or **Aptos** payment settlement - Implementing **usage-based billing** with the `upto` scheme (LLM tokens, bandwidth, compute) - Running an **in-process facilitator** (self-facilitation) without external facilitator dependency ## Core Architecture Three roles in every x402 payment: 1. **Resource Server** - protects endpoints, returns 402 with payment requirements 2. **Client** - signs payment authorization, retries request with payment header 3. **Facilitator** - verifies signatures, settles transactions on-chain Payment flow (HTTP transport): ``` Client -> GET /resource -> Server returns 402 + PAYMENT-REQUIRED header Client -> signs payment -> retries with PAYMENT-SIGNATURE header Server -> POST /verify to