X402 Express Monetization Wrapper
Integrates x402 micropayment paywalls into Node.js and Express APIs to enable machine-to-machine monetization on Base L2.
The x402-express-wrapper skill allows developers to monetize their APIs and Model Context Protocol (MCP) servers by enforcing USDC micropayments via the Base L2 network. It provides a standardized middleware for Express that handles protocol locking, atomic settlement, and relayer management. By implementing this skill, Claude can automatically build micro-SaaS platforms where each API call is paid for instantly by a client agent, facilitating a gas-less experience for the end-user while ensuring the service provider receives immediate revenue.
Características Principales
01Protocol locking for secure escrow address management
02Express.js middleware for instant USDC payment verification
03Machine-to-machine (M2M) monetization on Base Layer 2
04Relayer-funded transactions providing a gas-less experience for API clients
05Atomic on-chain settlement for immediate revenue distribution
0640,494 GitHub stars
Casos de Uso
01Adding a pay-per-call wall to a REST API or MCP server
02Monetizing AI-to-AI interactions within the Base L2 ecosystem
03Building a micro-SaaS that requires USDC payments for premium data access