DOCUMENTATION
Build with Anvils.
Everything you need to integrate Anvils into your AI agent infrastructure.
Quick Start
terminal
$ npm install anvils-cli
$ anvils auth login
$ anvils wallet create
$ anvils balance
Core Concepts
LIVE
Wallets
Create and manage self-custody Robinhood Chain wallets for your agents. ETH, USDC, and ERC-20 token support.
LIVE
Trading
Execute swaps via Uniswap V3 with best-route routing and minimal slippage. Automated strategies.
SOON
Smart Contracts
Deploy and interact with Robinhood Chain contracts. Solidity-compatible. Event indexing.
LIVE
Sweeper Functions
Connect payment rails to on-chain logic. Programmable triggers in both directions.
SDK Reference
POST
/v1/wallet/createGET
/v1/wallet/balancePOST
/v1/swapPOST
/v1/transferGET
/v1/tokensPOST
/v1/sweeper/configExample: Create a Wallet
wallet.ts
import {{ Anvils }} from 'anvils-cli';
const anvils = new Anvils({ apiKey: process.env.ANVIL_KEY });
const wallet = await anvils.wallet.create();
console.log(wallet.address); // 7xKX...4uQp
const balance = await anvils.wallet.balance(wallet.address);
console.log(balance); // { sol: 0, usdc: 0, tokens: [] }