fund-agent-wallet
БесплатноБез исполняемых скриптовНе проверенFund a Circle agent wallet with USDC via the `circle` CLI. Payments are gas-abstracted: users pay with USDC only, no ETH required. Covers two top-level paths…
от circlefin★ 171 звезда на GitHubОб этом скилле
Fund a Circle Agent Wallet
Overview
Funding an agent wallet means putting USDC where the CLI can spend it. This skill is the funding flow; for the CLI's full capability set (bridging, contracts, x402 payment), see the use-circle-cli master skill.
There are two balance pools, and this skill funds both:
- On-chain (vanilla x402) — USDC at the wallet address on a specific chain; each chain is separate. Pays endpoints whose
accepts[]lacksGatewayWalletBatched. Settles in one block. - Nanopayments (powered by Gateway) — USDC held off-chain in the user's Circle Gateway balance, batched and settled across supported chains, tracked per source chain. Pays endpoints whose
accepts[]includesGatewayWalletBatched. Settles in <500ms once the balance exists.
Agent wallet payment flows are gas-abstracted: users pay with USDC without pre-funding native gas.
This skill funds only the Circle agent wallet, through the circle CLI. Do not set up or fund any other wallet as the agent's spending wallet.
Prerequisites
# Confirm session is good
circle wallet status
# Get the wallet address
circle wallet list --chain ARC --type agent --output json
# Check current on-chain balance (per chain)
circle wallet balance --address <addr> --chain ARC --output json
# Check current Gateway balance (per chain)
circle gateway balance --address <addr> --chain ARC --output json
If circle wallet status errors with "Not logged in" or "Terms acceptance is required", hand off to login: use the installed use-agent-wallet skill (install, terms, login, and wallet creation); if it isn't installed, fetch https://agents.circle.com/skills/wallet-login.md.
Step 1 — Pick a funding path
Ask the user: "How would you like to fund your wallet?" Steer toward the path with the shortest time-to-result.
- Fiat (USD or local currency) — Buy USDC with a card or bank transfer via the CLI's built-in fiat on-ramp. Best for users who don't have crypto yet.
- Existing USDC — Send USDC from a wallet they already have (MetaMask, Coinbase, Phantom, etc.). Faster and free of on-ramp fees.
- Gateway deposit (advanced) — Move existing on-chain USDC into the Gateway balance for low-latency batched payments. Only useful if the seller they're paying supports Gateway on a specific chain.
On testnet, fund the wallet from the faucet (see Testnet funding) instead of Path A or B; Gateway deposits still follow Path C.
Default recommendation: existing USDC → Arc. Arc uses USDC as its native gas token and has sub-second finality, so a direct Gateway deposit on Arc settles fast — and an eco deposit from BASE, ARB, or OP also lands on Arc. Use BASE/Polygon when paying sellers that only accept those chains.
Step 2 — Required flags for non-interactive use
The CLI prompts for missing values only when interactive. Agents are non-interactive, so every mainnet circle wallet fund call MUST include:
--address <addr>— wallet address fromcircle wallet list--chain <chain>— e.g.ARC(orBASE,MATIC, …)--method <fiat|crypto>--amount <number>— USDC amount
--token usdc is the default; pass it explicitly when the user asked for USDC specifically.
Path A — Fiat on-ramp
The circle wallet fund --method fiat --open command, supported chains, and settlement timing:
READ references/fiat-on-ramp.md.
Path B — Crypto transfer (existing USDC)
The user sends USDC they already hold (another wallet, an exchange) to the agent wallet. Ask which chain their USDC is on and pass that chain as --chain: the QR encodes the chain ID, so a transfer from a different chain fails in the user's wallet. Use ARC only when the user has no preference. Default to the browser-rendered QR:
circle wallet fund --address <addr> --chain ARC --amount 10 --token usdc --method crypto --open
--open renders the EIP-681 QR on a local HTML page in the user's default browser, at full resolution for desktop and mobile. The user scans it with any mobile wallet (MetaMask, Coinbase Wallet, Rainbow, Phantom) and confirms the transfer.
If the user can't scan a browser QR, use the PNG export (--export) or give manual transfer details (including USDC contract addresses):
READ references/crypto-transfer-alternatives.md.
Testnet funding
On testnet there is no on-ramp or QR: the Circle faucet funds the wallet. The faucet command, its testnet login requirement, and the flags it rejects:
READ references/testnet-faucet.md.
Path C — Gateway deposit (powered by Gateway, advanced)
Only suggest a Gateway deposit when all hold:
- The user has on-chain USDC.
- They want to pay a service whose
accepts[]includesGatewayWalletBatchedon a specific chain. - That chain is one Gateway supports for direct deposit (Arc, Polygon, BASE, ARB, OP, AVAX, UNI;
circle gateway deposit --helplists the chains your CLI supports).
Eco vs direct — pick eco unless one of four conditions holds
Установить fund-agent-wallet в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(circle wallet status*)Bash(circle wallet list*)Bash(circle wallet balance*)Bash(circle gateway balance*)Bash(circle wallet fund *)Bash(circle gateway deposit*)Bash(circle gateway withdraw*)Bash(circle wallet transfer*)Bash(circle bridge transfer*)Bash(circle blockchain*)Bash(circle feedback submit*)Вложенные файлы
FAQ
Что делает скилл fund-agent-wallet?
Fund a Circle agent wallet with USDC via the `circle` CLI. Payments are gas-abstracted: users pay with USDC only, no ETH required. Covers two top-level paths — fiat on-ramp (buy USDC with USD/credit card) and crypto transfer (send existing USDC to the wallet via QR or direct address). Also covers Gateway deposits (eco vs direct sub-paths) for the Nanopayments balance used by paid services. Use when the user wants to add USDC to their agent wallet, top up after a low balance, deposit into Gateway, or pick the right funding method. Triggers on: fund agent wallet, add USDC, fiat on-ramp, Gateway deposit, eco deposit, direct deposit, top up wallet, withdraw USDC, nanopayments.
Как установить скилл fund-agent-wallet?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fund-agent-wallet запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic