A skill for performing cryptocurrency transactions using Brewit smart accounts with account abstraction on Base network.
-
Install dependencies:
npm install brewit viem
-
Get Pimlico API key:
- Sign up at https://pimlico.io
- Get your API key (starts with
pim_)
-
Load the skill:
- Copy this folder to your OpenClaw skills directory
- The agent will automatically detect and use it when needed
- Create Brewit smart accounts
- Send USDC and ETH (gasless!)
- Batch transactions to multiple recipients
- Check token balances
- Resolve ENS names
node scripts/create-account.js 0xYourPrivateKeynode scripts/check-balance.js 0xSmartAccountAddressnode scripts/send-usdc.js 0xPrivateKey 0xRecipient 0.1 pim_YourAPIKeynode scripts/batch-send.js 0xPrivateKey pim_APIKey 0xAddr1:0.1 0xAddr2:0.2- Smart Accounts: Uses Brewit (ERC-4337) for smart contract wallets
- Gasless: Pimlico bundler sponsors gas fees
- Batch: Send to multiple addresses in one transaction
- Base Network: Optimized for Base L2 (low fees, fast)
- Never commit private keys to git
- Use environment variables for sensitive data
- Test on testnet first (Base Sepolia)
- Double-check recipient addresses
- Brewit: https://docs.rhinestone.wtf
- Pimlico: https://pimlico.io
- Base: https://base.org
- Viem: https://viem.sh