Prerequisites
Before you begin, ensure that you’ve:- Installed Node.js v20.18.2 or later.
-
Installed Circle CLI:
Steps
Follow these steps to create an agent wallet and fund it with USDC.1
Authenticate
Choose the flow that matches your environment. Use Interactive when you
can respond to prompts in a terminal. Use Non-interactive for scripts
and AI agents that can’t respond to interactive prompts.
- Interactive
- Non-interactive (scripts and AI agents)
Run On first run, Circle CLI prompts you to accept the Terms of Use and
Privacy Policy. Then Circle sends a one-time password to verify your
identity. After authentication, agent wallets are created automatically
on all supported blockchains.
circle wallet login with your email address:To use testnet, add
--testnet to the command. Sessions are stored separately
for mainnet and testnet and expire after 28 days.2
Get your wallet address
3
Fund your wallet
Run The CLI prints a terminal QR code and an
EIP-681 deposit URI. Scan the QR
code with your mobile wallet to send the funds.To buy USDC with a card instead, pass
circle wallet fund to add USDC to your wallet from another wallet you
own. Replace 0xYourWalletAddress with the address from the previous step:--method fiat to open the onramp
provider in your browser. See
Fund wallet for all
funding options.To use testnet, replace
ARC with a testnet blockchain (for example,
ARC-TESTNET) and omit --method and --amount. On testnet, circle wallet fund draws 20 USDC from the Circle faucet. See supported
blockchains for the full
list.4
Check your balance
Confirm the funds arrived. Replace
0xYourWalletAddress with your wallet
address:Next steps
Before your agent spends on mainnet, set a global transfer limit and a contract allowlist on every blockchain your agent uses. Spending policies aren’t available on testnet. Now that you have a funded wallet, you can:- Deposit for nanopayments and pay for a service.
- Transfer USDC to another address.
- Bridge USDC to another blockchain.
- Swap tokens using your agent wallet.
- Explore wallet operations for more tasks.