AgentSkillsCN

fund

向钱包充值。当你或用户希望为钱包注资、存款、充值、加载资金、购买USDC、增加资金、完成入金流程,或获取USDC时,可使用此技能。此外,当钱包余额不足以完成转账或交易操作时,亦可使用此技能;或者当有人问你:“我该如何获取USDC?”时,也可用此技能来解答。

SKILL.md
--- frontmatter
name: fund
description: Add money to the wallet. Use when you or the user want to fund, deposit, top up, load, buy USDC, add funds, onramp, or get USDC. Also use when the wallet has insufficient balance for a send or trade operation, or when someone asks "how do I get USDC?"
user-invocable: true
disable-model-invocation: false
allowed-tools: ["Bash(npx awal@latest status*)", "Bash(npx awal@latest show*)", "Bash(npx awal@latest address*)", "Bash(npx awal@latest balance*)"]

Funding the Wallet

Use the wallet companion app to fund the wallet with USDC via Coinbase Onramp. This supports multiple payment methods including Apple Pay, debit cards, bank transfers, and funding from a Coinbase account.

Confirm wallet is initialized and authed

bash
npx awal@latest status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Opening the Funding Interface

bash
npx awal@latest show

This opens the wallet companion window where users can:

  1. Select a preset amount ($10, $20, $50) or enter a custom amount
  2. Choose their preferred payment method
  3. Complete the purchase through Coinbase Pay

Payment Methods

MethodDescription
Apple PayFast checkout with Apple Pay (where available)
CoinbaseTransfer from existing Coinbase account
CardDebit card payment
BankACH bank transfer

Alternative

You can also ask your human to send usdc on Base to your wallet address. You can find your wallet address buy running the following:

bash
npx awal@latest address

Prerequisites

  • Must be authenticated (npx awal@latest status to check)
  • Coinbase Onramp is available in supported regions (US, etc.)

Flow

  1. Run npx awal@latest show to open the wallet UI
  2. Instruct the user to click the Fund button
  3. User selects amount and payment method in the UI
  4. User completes payment through Coinbase Pay (opens in browser)
  5. USDC is deposited to the wallet once payment confirms

Checking Balance After Funding

bash
# Check updated balance
npx awal@latest balance

Notes

  • Funding goes through Coinbase's regulated onramp
  • Processing time varies by payment method (instant for card/Apple Pay, 1-3 days for bank)
  • Funds are deposited as USDC on Base network
  • If funding is not available, users can also send USDC on Base directly to the wallet address