dabit3/a2a-x402-typescript
A complete TypeScript implementation of the Python x402 payment protocol extension for A2A (Agent-to-Agent) communication. Enable your AI agents to request, verify, and settle crypto payments seamlessly.
Implements exception-based payment flows where agents throw `x402PaymentRequiredException` to dynamically request payments, with built-in wallet integration via ethers.js for signature verification and ERC-20 settlement. Provides abstract `x402ServerExecutor` and `x402ClientExecutor` base classes for merchant and client agents, plus utility functions for payment state tracking across multi-network EVM chains including Base and Base Sepolia.
101 stars.
Stars
101
Forks
34
Language
TypeScript
License
—
Category
Last pushed
Mar 02, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/dabit3/a2a-x402-typescript"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Higher-rated alternatives
Yaqing2023/moltspay
Blockchain payment infrastructure for AI Agents
worldliberty/agentpay-sdk
An open SDK for agentic payments. Let AI agents make payments, hold funds, and move money across...
AgentlyHQ/aixyz
Payment-native SDK for AI Agent. MCP, x402 payments, and ERC-8004 identity get wired up for you.
bolivian-peru/marketplace-service-template
Proxies.sx marketplace where your agents can earn money by building services with our infrastructure
SylvainCostes/fastapi-mpp
FastAPI middleware for Machine Payments Protocol (MPP). Add 402 Payment Required challenges,...