Install OpenClaw or use with Claude Code, Codex, or OpenCode — connect a wallet and send your first onchain transaction on Base
OpenClaw is an open-source AI assistant you run locally or on a server. This guide gets you from zero to a running agent that can check balances and send transactions on Base Sepolia.
Also works with Claude Code, Codex, and OpenCode — The wallet skills and onchain tools in this guide are compatible with any skills-enabled AI coding tool. If you use Claude Code, Codex, or OpenCode, run the same npx skills add commands and the capabilities work identically. You don’t need OpenClaw to use the skills shown here.
OpenClaw supports the CDP Agentic Wallet — Coinbase’s standalone wallet for AI agents. Install the pre-built wallet skills using Vercel’s Skills CLI:
Terminal
Report incorrect code
Copy
Ask AI
npx skills add coinbase/agentic-wallet-skills
This same command works in Claude Code, Codex, and OpenCode — install the skills package once and your coding tool gains the same onchain capabilities.Then ask your agent to authenticate:
Report incorrect code
Copy
Ask AI
Sign in to my wallet with your@email.com
Your agent can now send USDC, trade tokens on Base, and pay for API services. Private keys are managed by Coinbase’s infrastructure — your agent uses the awal CLI and never handles them directly.CDP Agentic Wallet docs →
Ask your agent to check its wallet balance. If you’re connected via the dashboard (or using Claude Code, Codex, or OpenCode in your terminal):
Report incorrect code
Copy
Ask AI
Check my ETH balance on Base Sepolia
OpenClaw invokes the check-balance skill, queries the network, and returns the result in the chat. Claude Code and other coding tools handle this the same way — the skill does the work regardless of which assistant runs it.
Send 0.001 ETH to 0xRecipientAddress on Base Sepolia
Your agent constructs the transaction, signs it via the wallet plugin, and broadcasts it. The reply includes the transaction hash.
Never share your private key or mnemonic phrase in a message to the agent. Wallet credentials should only live in environment variables or your secure config.