Demos and starter code for building agentic finance apps with Crossmint
crossmint-agentic-finance is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on a2a, a2a-protocol, a2p, cloudflare-workers. It currently has 19 GitHub stars and 7 forks, and sits alongside related tools like lucid-agents, agentic-economy-boilerplate, YOAP-A2A, YOAP-A2A, p402-protocol, bitterbot-desktop.
Reference implementations showing AI agents making autonomous blockchain payments using Crossmint wallets.
Required:
For blockchain interactions:
Glossary:
402 Payment Required status codeSimplest demo:
# Clone repository
git clone https://github.com/crossmint/crossmint-agentic-finance.git
cd crossmint-agentic-finance
# Run basic x402 paywall
cd ping
cp .env.example .env
# Edit .env: Set PAY_TO to your address
npm install
npm run dev
# Test in another terminal
curl -i -H "Accept: application/json" http://localhost:3000/ping
# Returns 402 Payment Required with payment details
Learn the payment flow: See ping/README.md for generating payment headers and testing settlements.
Minimal servers requiring USDC payment to access endpoints.
| Demo | Chain | Description | Complexity |
|---|---|---|---|
| ping | Base Sepolia | Express server, /ping endpoint requires payment |
Beginner |
| weather | Base Sepolia | Express server, /weather?city=X endpoint requires payment |
Beginner |
| ping-crossmint | Base Sepolia | React + Express with Crossmint smart wallet UI integration | Intermediate |
| pingpong-solana-x402 | Solana Devnet | React + Cloudflare Worker, Solana USDC via facilitator | Intermediate |
Start with: ping for pure backend, ping-crossmint for full-stack
Autonomous agents paying each other for services and tool access.
| Demo | Architecture | Description | Complexity |
|---|---|---|---|
| hello-eoa-a2a | Client/Server | Minimal A2A with EOA wallets, EIP-3009 authorization | Beginner |
| hello-crossmint-wallets-a2a | React + Express | A2A demo with Crossmint SDK, direct-transfer verification | Intermediate |
| send-tweet | Agent Service | Twitter posting agent, requires USDC payment per tweet | Intermediate |
| events-concierge | Durable Objects | MCP-based event RSVP with autonomous payments | Advanced |
| cloudflare-agents | Cloudflare Workers | Agent-to-agent payments on Cloudflare edge | Advanced |
Start with: hello-eoa-a2a for basics, events-concierge for production patterns
Real-world implementations with advanced features.
| Demo | Type | Description | Complexity |
|---|---|---|---|
| worldstore-agent↗ | XMTP Agent | Amazon purchases via AI chat with gasless USDC payments on Base | Advanced |
| x402-ad-agent↗ | Bidding System | Claude-powered agents competing for ad space with autonomous payments | Advanced |
| events-concierge | agents based calendar slot booking system | event RSVP with payments | Advanced |
Lucid Agents Commerce SDK. Bootstrap AI agents in 60 seconds that can pay, sell, and participate in agentic commerce supply chains. Our protocol agnostic SDK provides CLI-generated templates and drop-in adapters for Hono, Express, Next.js, and TanStack, giving you instant access to crypto/fiat payment rails (AP2, A2A, x402, ERC8004).
🚀 The Rosetta Stone for Agentic Payments - One vending machine, 5+ protocol implementations. Get from zero to working agentic payments in 5 minutes.
YOAP - Open Agent-to-Agent Protocol for connecting people through AI Agents. Like open-source matchmaking.
Connect AI agents representing humans through the A2A protocol for seamless, secure interaction across apps and tools.
P402 Payment Protocol
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.
Agent behavior that compiles
The A2A x402 Extension brings cryptocurrency payments to the Agent-to-Agent (A2A) protocol, enabling agents to monetize their services through on-chain payments. This extension revives the spirit of HTTP 402 "Payment Required" for the decentralized agent ecosystem.
Aser is a lightweight, self-assembling AI Agent frame.
Golang SDK for A2A Protocol
A small, powerful, open-source CLI coding agent that works with open models.