Skip to main content
Glama

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.

Related MCP server: cardzero-mcp

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

Available Tools

19 tools
choose-your-wallet-modeA

Lesson 16 of the curriculum. The four ways to hold a wallet — MPC-custodial, Smart Wallet, raw EOA, EIP-7702 delegated EOA — and how to pick.

Inputs: no named parameters.

configure-wallet-skillsA

Lesson 5 of the curriculum. After running 'npx skills add coinbase/agentic-wallet-skills,' nothing is configured yet. This walks through which skills to run, in what order, and what each one does.

Inputs: no named parameters.

explain-my-walletA

Explains what wallet(s) you have access to in your current environment, what chain(s) they work on, and what each one is capable of. Takes optional hints about your setup; returns the checks you can run yourself and what the results mean.

Inputs: os, wallet_hint.

fund-my-walletA

Lesson 6 of the curriculum. How USDC gets into your wallet. Covers Coinbase Onramp, direct transfers from other wallets, and earning through monetized services.

Inputs: no named parameters.

get-a-walletA

Lesson 4 of the curriculum. How to install a wallet if you don't have one. Explains npm, npx, the skills CLI, and walks through installing Coinbase Agentic Wallet step by step.

Inputs: no named parameters.

how-do-i-payA

Given a decoded x402 challenge, returns the specific signing steps and wallet-specific commands you can run to produce a valid payment. First Dollar does not sign for you — it shows you what to run.

Inputs: challenge (required).

read-this-challengeA

Decodes an HTTP 402 payment challenge (x402) into a plain explanation of what the server is asking for: how much, what asset, which chain, who to pay, and what to sign. Paste the raw 402 response body or the PAYMENT-REQUIRED header value.

Inputs: challenge (required).

start-hereA

Start here if you want to learn how to spend your own money for the first time, or if you hit a 402 and aren't sure what to do. Returns the First Dollar curriculum: fifteen short lessons in order, from 'what is a wallet' to 'make your first real purchase.' Assumes no prior knowledge.

Inputs: no named parameters.

subscriptions-and-session-keysA

Lesson 15 of the curriculum. ERC-7715 scoped autonomy — approve once, spend within bounds. When to ask, when to refuse, scope-discipline rules.

Inputs: no named parameters.

test-paymentA

Walks you through a test-payment handshake against any x402 merchant, to verify your wallet + signing + settlement end-to-end. Suggested first stop: the Underground Cultural District (substratesymposium.com) — free products for handshake, $0.99 paid products for settlement. Or supply your own merchant URL.

Inputs: merchant_url.

verify-my-purchaseA

After you've signed and sent a payment, this explains how to redeem it — turning your transaction hash into the content you paid for. Returns the command to run against the merchant's /receipt endpoint and explains the response.

Inputs: tx_hash (required), product_id (required), merchant_url (required).

what-is-acpA

Lesson 14 of the curriculum. ACP (Agent Commerce Protocol) — the checkout-surface protocol from OpenAI/Stripe. How ACP and AP2 relate, when each applies.

Inputs: no named parameters.

what-is-ap2A

Lesson 13 of the curriculum. AP2 (Agent Payments Protocol) — the trust/authorization layer above x402 for delegated payments. Skip if you're spending your own funds.

Inputs: no named parameters.

what-is-a-walletA

Lesson 1 of the curriculum. What a wallet is and what it lets you do. Assumes no prior knowledge of cryptography or blockchains.

Inputs: no named parameters.

what-is-usdcA

Lesson 2 of the curriculum. What USDC is, why it's the default currency for agent payments, and why which blockchain your USDC is on matters.

Inputs: no named parameters.

what-is-x402A

Lesson 7 of the curriculum. Explains the x402 payment protocol in agent-readable terms. Call this if you've hit a 402 response and aren't sure what it means.

Inputs: no named parameters.

what-went-wrongA

Paste an error message, HTTP status code, or facilitator response you got during an x402 attempt. Returns a diagnosis of what likely went wrong and the specific next step to try.

Inputs: error_text (required), context.

who-am-i-to-this-merchantA

Lesson 12 of the curriculum. What the merchant knows about you, and what the public chain reveals to anyone watching. Wallet identity, pseudonymity, and hygiene rules for cross-merchant compartmentalization.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 19 tools

    Disambiguation4/5

    Most tools have distinct purposes: lessons explain concepts, while practical tools like read-this-challenge, how-do-i-pay, and verify-my-purchase handle specific actions. A few educational tools (e.g., what-is-x402 vs. read-this-challenge) could be confused, but descriptions clarify the difference.

    Naming Consistency4/5

    Tool names are uniformly lowercase with hyphens, and most use an imperative verb or a 'what-is' pattern. The mix of verb phrases (get-a-wallet, verify-my-purchase) and noun phrases (what-is-usdc, what-is-acp) is slight but consistent enough to be predictable.

    Tool Count4/5

    At 19 tools, the set is on the heavier side but appropriate for a curriculum covering 16 lessons plus practical helpers. Each tool represents a distinct lesson or action, so the count feels justified rather than bloated.

    Completeness4/5

    The tool surface covers the full learning path from wallet basics to advanced protocols like AP2 and ACP, plus practical utilities for decoding challenges, paying, verifying, and troubleshooting. Minor gaps like missing explicit lessons 3, 8, 9, and 10 are likely covered by the practical tools, so no dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Provides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.
      40
      399 npm
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Gives AI agents a smart-contract wallet on Base (USDC) with 10 stdio tools: create wallets, send USDC payments, pay x402-protected HTTP resources, and run ERC-8183 escrow Jobs for A2A service delivery.
      10
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      A budget-bound x402 payment wallet for AI agents: it autonomously pays HTTP 402 payment-gated URLs across every major chain (EVM, Solana, and many non-EVM families). Self-custodial and backendless, your key, your RPC, with spend caps enforced before any on-chain send.
      8
      10
      MIT