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.
A TypeScript library and example agents implementing an exception-based payment protocol for AI agents to request, sign, verify, and settle cryptocurrency payments like USDC on EVM networks.
How It Works
You hear about a simple way to let your smart AI helpers buy and sell things using safe digital money transfers.
You download the ready-to-use buyer and seller assistants that show how it all works together.
You link a test digital wallet to the buyer assistant so it can handle pretend money payments.
You launch the seller and buyer helpers, and they get ready to chat and trade.
You tell the buyer assistant 'I want a banana,' and it connects with the seller to get a price quote.
The buyer shows you the exact digital coin amount needed and asks if you want to pay.
Your money transfers safely, the seller confirms the order, and you see the successful transaction details.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.