x402 Micropayments Protocol - Payment integration library for web3 content & APIs
x402 is an early-stage HTML project in the AI payments / x402 ecosystem, focused on x402, x402-api, x402-payment. It currently has 4 GitHub stars and 2 forks, and sits alongside related tools like x402-facilitator-sperax, xmr402-org, dna-x402, x402-micropayments, docs, ripley-guard-ts.
x402 micropayments is payment platform for using x402 (x402 API, x402 integration) This project is a movie streaming platform integrated with x402 for secure and seamless payments. Users can pay and watch movies directly through the x402 payment gateway. The backend handles x402 API interactions, ensuring reliable transaction processing and subscription management using x402 services.
Clone this repository:
git clone https://github.com/enlomy/x402.git
cd x402
Install dependencies:
npm install
Rename .env.local to .env and add the following variables (remember to replace WALLET_ADDRESS with your actual wallet address you want to receive payments for)
WALLET_ADDRESS=your_ethereum_wallet_address
NODE_ENV=development
PORT=402
Get Base Sepolia USDC for testing:
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:402
x402-express middleware to protect the /authenticate endpoint/video-content, where the premium video content is servedprice parameter in api/index.jspublic/video-content.htmlapi/index.js (you will need also need CDP API Keys and need to use a different Facilitator)x402 payment facilitator — verifies and settles EIP-3009 USDC micropayments on Base, Arbitrum, and Ethereum.
XMR402 is an open, neutral standard for internet-native payments. It absolves the Internet's original sin by natively making payments possible between clients and servers, creating win-win economies that empower agentic payments at scale. XMR402 exists to build a more free and fair internet.
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
x402 payment gateway integration demo for x402 infrastructure, using x402 protocol.
Official documentation for {xpay✦}. Learn how to monetize, manage, and observe your AI agents using the x402 protocol.
Industrial-grade Monero payment gating for modern APIs. IETF-compliant, 0-conf enabled, and built for the sovereign internet.
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
A payments protocol for the internet. Built on HTTP.
A local-first AI agent with persistent memory, emotional intelligence, and a peer-to-peer skills economy.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.