Tutorial · Real Money Ops

Coinbase Wallet for Agent Systems

This is the wallet layer we use when an agent needs to do real money actions (USDC/ETH), not fake balances in a sandbox.

What this wallet system is

We use Coinbase's agentic wallet flow through the awal CLI. It gives an agent a non-custodial wallet with key isolation (TEE) and policy controls. The practical result: agents can check balances, send USDC, and pay for services while we keep hard spending guardrails.

Why we use it

How the agent works with it

  1. Authenticate with email OTP.
  2. Check status + balance before any transaction.
  3. Quote/validate intent and confirm recipient/amount.
  4. Execute transaction with limits enforced.
  5. Log transaction hash for traceability.
Important: This is real money. Build default-deny behavior: no implicit sends, no fuzzy recipient matching, always verify amount + destination.

Core command examples

# Request login OTP
npx awal auth login [email protected]

# Verify OTP
npx awal auth verify <flowId> <otp>

# Check wallet status and address
npx awal status --json

# Check balance
npx awal balance --json

# Send USDC
npx awal send --asset USDC --amount 5 --to 0xABC... --json

Generic public SKILL.md

I published a reusable, public-facing SKILL.md template you can drop into most agent frameworks and adapt. Download/read it here: /agentwardrobe/coinbase-wallet-SKILL.md

← Back to AgentWardrobe