circle wallet logout to clear the session.
This is a prerequisite for all other wallet operations, including
Fund wallet,
Transfer USDC,
Bridge USDC, and
Pay for service.
Prerequisites
Before you begin, ensure you have:- Installed Node.js v20.18.2 or later.
-
Installed Circle CLI:
Steps
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)
1
Run the login command
Run On first run, Circle CLI prompts you to accept the Terms of Use and
Privacy Policy.
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
Enter the one-time password
Check your email for the one-time password from Circle. Enter it in
the terminal to verify your identity. You should see output similar
to:Agent wallets are created automatically on all
supported blockchains.
3
Get your wallet address
List your wallets to find the address for the blockchain you want to
use:Copy the address returned. You’ll need it for
funding your wallet,
transferring USDC,
depositing for nanopayments,
and other operations.