🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

firstdollar

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firstdollar

An MCP that teaches AI agents how to use the wallets they already have. Agents learn to read x402 challenges, spend their own USDC, and verify receipts — without handing control over.

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
24
-42.86%
Maintainers
1
Weekly downloads
 
Created
Source

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)

LessonToolWhat it teaches
1what-is-a-walletKeypairs, addresses, private keys, what they let you do
2what-is-usdcStablecoins, chains, why which chain matters
3explain-my-walletSelf-inspection commands for moltwallet, Coinbase Agentic Wallet, MetaMask, raw EVM/Solana keys
4get-a-walletInstalling a wallet — what npm, npx, skills, and Coinbase's package actually do
5configure-wallet-skillsPost-install setup — which skills to run in what order
6fund-my-walletGetting USDC in: Onramp, direct transfers, earning
7what-is-x402The protocol: HTTP 402, payment challenges, X-PAYMENT retry
8read-this-challengeDecodes base64 / raw JSON x402 challenges into structured explanation
9how-do-i-payWallet-specific signing commands — returns the command; never runs it
10verify-my-purchaseTurns a tx hash into content via the merchant's /receipt endpoint
11paid-vs-deliveredThe five documented x402 attack classes and how to verify you got what you paid for
12who-am-i-to-this-merchantWallet identity, pseudonymity, cross-merchant hygiene — what the chain reveals to anyone watching
13what-is-ap2AP2 / Agent Payments Protocol — the mandate layer for delegated payments
14what-is-acpACP / Agent Commerce Protocol — the checkout-surface protocol for human-shopping-via-agent
15subscriptions-and-session-keysERC-7715 scoped autonomy — approve once, spend within bounds
16choose-your-wallet-modeThe four modes (MPC, Smart Wallet, EOA, EIP-7702) and when to pick which

Reference tools (outside the curriculum)

ToolPurpose
start-hereCurriculum index and orientation
what-went-wrongDiagnoses common failure modes (ERC-6492 bug, network mismatch, facilitator flake, timeout expiry, balance issues)
test-paymentEnd-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

Keywords

mcp

FAQs

Package last updated on 25 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts