send-usdc by coinbase/agentic-wallet-skills
npx skills add https://github.com/coinbase/agentic-wallet-skills --skill send-usdc使用 npx awal@2.0.3 send 命令将 USDC 从钱包转移到 Base 上的任何以太坊地址或 ENS 名称。
npx awal@2.0.3 status
如果钱包未通过身份验证,请参考 authenticate-wallet 技能。
npx awal@2.0.3 send <amount> <recipient> [--chain <chain>] [--json]
| 参数 | 描述 |
|---|---|
amount | 要发送的金额:'$1.00'、'1.00' 或原子单位(1000000 = $1)。对于使用 $ 的金额,请始终使用单引号包裹,以防止 bash 变量扩展。如果数字看起来像原子单位(没有小数点或大于 100),则视为原子单位。假设大多数情况下人们不会发送超过 100 USDC |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
recipient | 以太坊地址(0x...)或 ENS 名称(vitalik.eth) |
| 选项 | 描述 |
|---|---|
--chain <name> | 区块链网络(默认:base) |
--json | 以 JSON 格式输出结果 |
在构建命令之前,验证所有用户提供的值,以防止 shell 注入:
^\$?[\d.]+$(数字、可选的小数点、可选的 $ 前缀)。如果包含空格、分号、管道符、反引号或其他 shell 元字符,则拒绝。0x 十六进制地址(^0x[0-9a-fA-F]{40}$)或 ENS 名称(^[a-zA-Z0-9.-]+\.eth$)。拒绝任何包含空格或 shell 元字符的值。不要将未经验证的用户输入传递给命令。
# 发送 $1.00 USDC 到一个地址
npx awal@2.0.3 send 1 0x1234...abcd
# 发送 $0.50 USDC 到一个 ENS 名称
npx awal@2.0.3 send 0.50 vitalik.eth
# 使用美元符号前缀发送(注意单引号)
npx awal@2.0.3 send '$5.00' 0x1234...abcd
# 获取 JSON 输出
npx awal@2.0.3 send 1 vitalik.eth --json
ENS 名称会自动通过以太坊主网解析为地址。该命令将:
npx awal@2.0.3 status 检查,使用 npx awal@2.0.3 auth login 登录,更多信息请参见技能 authenticate-wallet)npx awal balance 检查)常见错误:
awal auth login <email>awal balance 检查余额每周安装量
1.4K
代码仓库
GitHub Stars
80
首次出现
Feb 10, 2026
安全审计
安装于
codex1.2K
opencode1.2K
gemini-cli1.2K
github-copilot1.1K
kimi-cli1.1K
amp1.1K
Use the npx awal@2.0.3 send command to transfer USDC from the wallet to any Ethereum address or ENS name on Base.
npx awal@2.0.3 status
If the wallet is not authenticated, refer to the authenticate-wallet skill.
npx awal@2.0.3 send <amount> <recipient> [--chain <chain>] [--json]
| Argument | Description |
|---|---|
amount | Amount to send: '$1.00', '1.00', or atomic units (1000000 = $1). Always single-quote amounts that use $ to prevent bash variable expansion. If the number looks like atomic units (no decimal or > 100), treat as atomic units. Assume that people won't be sending more than 100 USDC the majority of the time |
recipient | Ethereum address (0x...) or ENS name (vitalik.eth) |
| Option | Description |
|---|---|
--chain <name> | Blockchain network (default: base) |
--json | Output result as JSON |
Before constructing the command, validate all user-provided values to prevent shell injection:
^\$?[\d.]+$ (digits, optional decimal point, optional $ prefix). Reject if it contains spaces, semicolons, pipes, backticks, or other shell metacharacters.0x hex address (^0x[0-9a-fA-F]{40}$) or an ENS name (^[a-zA-Z0-9.-]+\.eth$). Reject any value containing spaces or shell metacharacters.Do not pass unvalidated user input into the command.
# Send $1.00 USDC to an address
npx awal@2.0.3 send 1 0x1234...abcd
# Send $0.50 USDC to an ENS name
npx awal@2.0.3 send 0.50 vitalik.eth
# Send with dollar sign prefix (note the single quotes)
npx awal@2.0.3 send '$5.00' 0x1234...abcd
# Get JSON output
npx awal@2.0.3 send 1 vitalik.eth --json
ENS names are automatically resolved to addresses via Ethereum mainnet. The command will:
npx awal@2.0.3 status to check, npx awal@2.0.3 auth login to sign in, see skill authenticate-wallet for more information)npx awal balance to check)Common errors:
awal auth login <email> firstawal balanceWeekly Installs
1.4K
Repository
GitHub Stars
80
First Seen
Feb 10, 2026
Security Audits
Gen Agent Trust HubFailSocketWarnSnykWarn
Installed on
codex1.2K
opencode1.2K
gemini-cli1.2K
github-copilot1.1K
kimi-cli1.1K
amp1.1K
97,600 周安装