x402-client
Installation
SKILL.md
x402 Client
Make HTTP requests to x402-protected APIs. The x402 protocol uses HTTP 402 responses to request payment — this skill handles signing USDC payments and retrying automatically.
Prerequisites
- Node.js 18+ installed
- A Base Sepolia wallet with ETH (gas) and USDC (payments)
First-Time Setup
1. Install dependencies
bash <skill-dir>/scripts/setup.sh
This installs the x402 SDK to ~/.x402-client/. Only needed once.