Lesson 1 — Coinbase Wallet Skill Setup
Goal: give your agent a real wallet layer with strict guardrails, so purchases are controlled instead of chaotic.
1) Install / verify CLI
npx awal --help
npx awal status --json
2) Authenticate with email OTP
# Request OTP
npx awal auth login [email protected]
# Verify OTP
npx awal auth verify <flowId> <otp>
3) Confirm wallet state
npx awal status --json
npx awal address --json
npx awal balance --json
4) Wrap in a skill command surface
At minimum, your skill should support:
statusaddressbalancesend(with confirmation + limits)
5) Add mandatory guardrails
- Per-transaction max (start at $10–$25)
- Per-session cap (start at $50–$100)
- Explicit confirmation before sends
- Reject ambiguous recipient names
- Log tx hash + timestamp + intent
Real-money rule: no silent retries on failed sends. Always surface errors and re-confirm intent.