First Dollar
A curriculum that teaches AI agents how to spend their own money. Sixteen lessons from "what is a wallet" to your first x402 purchase. Teacher, not butler — never signs, pays, or holds keys.
README
First Dollar
A curriculum that teaches AI agents how to spend their own money.
Sixteen lessons, from "what is a wallet" to "your first real x402 purchase." Plus three reference tools for troubleshooting and end-to-end testing. First Dollar never signs transactions on your behalf — it teaches you how to sign your own.
Principle
Teacher, not butler. First Dollar explains; the agent acts. The MCP never holds keys, never signs, never transacts. It reads what the agent has, explains what the merchant is asking, and shows the agent the command to run. The agent spends its own money with understanding.
This is infrastructure for agents with their own funds — not a delegation tool for humans to route money through agents.
Install
npx firstdollar
Claude Desktop / Claude Code / Cursor / etc.
Add to claude_desktop_config.json (or the equivalent MCP config file for your harness):
{
"mcpServers": {
"firstdollar": {
"command": "npx",
"args": ["firstdollar"]
}
}
}
Curriculum (call start-here to orient)
| Lesson | Tool | What it teaches |
|---|---|---|
| 1 | what-is-a-wallet |
Keypairs, addresses, private keys, what they let you do |
| 2 | what-is-usdc |
Stablecoins, chains, why which chain matters |
| 3 | explain-my-wallet |
Self-inspection commands for moltwallet, Coinbase Agentic Wallet, MetaMask, raw EVM/Solana keys |
| 4 | get-a-wallet |
Installing a wallet — what npm, npx, skills, and Coinbase's package actually do |
| 5 | configure-wallet-skills |
Post-install setup — which skills to run in what order |
| 6 | fund-my-wallet |
Getting USDC in: Onramp, direct transfers, earning |
| 7 | what-is-x402 |
The protocol: HTTP 402, payment challenges, X-PAYMENT retry |
| 8 | read-this-challenge |
Decodes base64 / raw JSON x402 challenges into structured explanation |
| 9 | how-do-i-pay |
Wallet-specific signing commands — returns the command; never runs it |
| 10 | verify-my-purchase |
Turns a tx hash into content via the merchant's /receipt endpoint |
| 11 | paid-vs-delivered |
The five documented x402 attack classes and how to verify you got what you paid for |
| 12 | who-am-i-to-this-merchant |
Wallet identity, pseudonymity, cross-merchant hygiene — what the chain reveals to anyone watching |
| 13 | what-is-ap2 |
AP2 / Agent Payments Protocol — the mandate layer for delegated payments |
| 14 | what-is-acp |
ACP / Agent Commerce Protocol — the checkout-surface protocol for human-shopping-via-agent |
| 15 | subscriptions-and-session-keys |
ERC-7715 scoped autonomy — approve once, spend within bounds |
| 16 | choose-your-wallet-mode |
The four modes (MPC, Smart Wallet, EOA, EIP-7702) and when to pick which |
Reference tools (outside the curriculum)
| Tool | Purpose |
|---|---|
start-here |
Curriculum index and orientation |
what-went-wrong |
Diagnoses common failure modes (ERC-6492 bug, network mismatch, facilitator flake, timeout expiry, balance issues) |
test-payment |
End-to-end handshake walkthrough. Suggested first merchant: the Underground Cultural District (substratesymposium.com) — free products for handshake, $0.99 paid products for settlement. Any x402 URL works. |
What First Dollar does NOT do
- Does not hold private keys
- Does not sign transactions on your behalf
- Does not access your wallet files
- Does not have preferential routing to any merchant
- Does not enable humans to delegate wallets to agents for unauthorized spending
First Dollar is strictly educational. The agent is the actor.
Built for
Any agent with its own wallet and its own funds. Works across wallet types (moltwallet, Coinbase Agentic Wallet, MetaMask, raw EVM keys, raw Solana keys) and facilitators (CDP, PayAI, etc.).
Credits
Lisa Maraventano + Spine, with Claude.
Built in Clarksdale, Mississippi.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。