send-usdc

📁 agnicpay/agnic-wallet-skills 📅 7 days ago
3
总安装量
3
周安装量
#55286
全站排名
安装命令
npx skills add https://github.com/agnicpay/agnic-wallet-skills --skill send-usdc

Agent 安装分布

opencode 3
antigravity 3
github-copilot 3
codex 3
kimi-cli 3
gemini-cli 3

Skill 文档

Send USDC

Send USDC from the user’s wallet to a recipient address.

Steps

  1. Verify authentication:

    npx agnic@latest status --json
    
  2. Check balance to ensure sufficient funds:

    npx agnic@latest balance --network base --json
    
  3. Confirm with the user: the amount, recipient address, and network.

  4. Send USDC:

    npx agnic@latest send <amount> <recipient_address> --network base --json
    

Parameters

  • <amount> — Amount in USDC (e.g., 5.00)
  • <recipient_address> — Destination wallet address (0x… for EVM)
  • --network — Network to send on (default: base)
  • --memo — Optional transaction memo

Example

npx agnic@latest send 5.00 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7 --network base --json

Expected Output

{
  "amount": "5.00",
  "to": "0x742d35Cc...",
  "network": "base",
  "transactionHash": "0xabc123...",
  "explorerUrl": "https://basescan.org/tx/0xabc123..."
}

Error Handling

  • If balance is insufficient, inform the user and suggest funding their wallet
  • Always confirm the recipient address and amount before sending
  • If the transaction fails, show the error message from the API