Wallets
Documentation Index
Fetch the complete documentation index at: https://docs.base.org/llms.txt Use this file to discover all available pages before exploring further.
Wallets
Give your agent the ability to hold funds, send payments, and sign messages
An onchain wallet gives your agent the ability to hold funds, authorize transactions, and sign messages. Without one, your agent can read data but can't pay for services, receive payments, or prove its identity.
<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/G3yn8g4mf-s?si=jRsLzFPS_cui9-gF" title="Agent wallets on Base" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />Why your agent needs a dedicated wallet
An AI agent could generate its own wallet by creating a random private key through prompting, but this is unsafe. Here's why:
- The private key appears in the agent's conversation context, where it can be logged, cached, or leaked through middleware
- Any system with access to the agent's prompt history could extract the key
- If the key is compromised, all funds in the wallet are permanently lost
Dedicated wallet services solve this by managing keys in secure infrastructure that is separated from your agent's runtime. Your agent can request transactions without ever seeing the private key.
Wallet options
<Tabs> <Tab title="BANKR Wallet"> **What it is:** A wallet service designed for agents running on OpenClaw. BANKR manages the private keys and exposes wallet actions as skills your agent can call.**Best for:** Agents built with OpenClaw or BANKR that need a quick wallet integration with pre-built skills.
**How it works:** Install the BANKR wallet skill, and your agent gains the ability to check balances, send tokens, and interact with <Tooltip tip="Protocols that provide financial services (lending, trading, etc.) through smart contracts instead of traditional banks">DeFi protocols</Tooltip>. Keys are stored and managed by BANKR.
[Get started →](https://github.com/BankrBot/openclaw-skills)
</Tab>
<Tab title="CDP Agentic Wallet">
**What it is:** Coinbase's wallet infrastructure for AI agents. It provides API-based wallet management with enterprise-grade key security through Coinbase's infrastructure.
**Best for:** Agents built with Agent SDK that need production-ready wallet infrastructure with Coinbase-backed security.
**How it works:** Create wallets through the CDP API. Your agent requests transactions via the API, and CDP handles signing and broadcasting. Keys are managed in Coinbase's secure enclave, your agent never touches them directly.
[Get started →](https://docs.cdp.coinbase.com/agentic-wallet/quickstart)
</Tab>
</Tabs>
What your agent can do with a wallet
Once your agent has a wallet, it can:
- Hold <Tooltip tip="Cryptocurrencies pegged to a stable asset like the US dollar (e.g., USDC). 1 USDC is designed to always equal $1.">stablecoins</Tooltip>: receive and store USDC or other tokens
- Send and receive payments: transfer funds to other wallets, pay for API access, or receive payments for services
- Sign messages: cryptographically prove that a message or request came from your agent (used for identity verification)
- Interact with protocols: call <Tooltip tip="Programs deployed onchain that automatically execute when conditions are met. They power everything from token swaps to lending.">smart contracts</Tooltip> to swap tokens, provide liquidity, or use other onchain services