base-wallet

base-wallet is a skill for Claude Code, Codex from dAAAb/agent-skills. It costs 44 tokens per session (1,250 once invoked), scanned B, original, MIT.

A command-line toolkit for creating and managing cryptocurrency wallets on Base, an Ethereum-compatible blockchain, and for signing messages or sending transactions.

In plain words
What is it for?
Use it to create wallets, check balances, sign Sign-In with Ethereum messages, and send blockchain transactions programmatically.
Why use it?
It lets an agent handle wallet-based Web3 tasks without a browser extension or manual approval, while documenting safer handling of private keys.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to create wallets, check balances, sign Sign-In with Ethereum messages, and send blockchain transactions programmatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daaab/agent-skills/base-wallet
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dAAAb/agent-skills --skill base-wallet
Clone the repo
git clone --depth 1 https://github.com/dAAAb/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for base-wallet

README.md
[![agentmods](https://agentmods.dev/badge/skills/daaab/agent-skills/base-wallet/github.svg)](https://agentmods.dev/skills/daaab/agent-skills/base-wallet)
Your own site
<a href="https://agentmods.dev/skills/daaab/agent-skills/base-wallet"><img src="https://agentmods.dev/badge/skills/daaab/agent-skills/base-wallet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for base-wallet

Your own site · 80×15
<a href="https://agentmods.dev/skills/daaab/agent-skills/base-wallet"><img src="https://agentmods.dev/badge/skills/daaab/agent-skills/base-wallet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01250
Opus 5.5 $0.00018 $0.00500
Sonnet 5.5 $0.00009 $0.00250
Haiku 4.5 $0.00004 $0.00125

Measured 1mo ago against content hash 76a5c8da1ba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

base-wallet scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/basemail-register.js, scripts/check-balance.js, scripts/create-wallet.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Set wallet files to **chmod 600** | Commit wallet files to git |
skills/base-wallet/SKILL.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🔐 Base Wallet - Crypto Identity for AI Agents

Every autonomous agent needs a wallet. Create one without human help.

TL;DR: Programmatic wallet creation on Base/Ethereum. SIWE auth, balance checks, transactions.

Why Base Wallet?

  • True autonomy — Your agent creates and controls its own wallet
  • No browser needed — Pure CLI, no extensions or popups
  • SIWE ready — Sign-In with Ethereum for Web3 services
  • Secure by default — Environment variables, no plaintext keys

Create and manage Base chain (Ethereum-compatible) wallets programmatically.


⚠️ Security First

✅ DO ❌ DON'T
Use environment variables for private keys Store private keys in plain text files
Set wallet files to chmod 600 Commit wallet files to git
Use --env mode (recommended) Use console.log(privateKey)
Back up mnemonics offline Share private keys or mnemonics

Quick Start

Create a New Wallet (Recommended)

# Output as environment variable format (safest)
node scripts/create-wallet.js --env

# Output example:
# export WALLET_ADDRESS="0x..."
# export PRIVATE_KEY="0x..."

Then copy to your shell or .env file.

Create with File Storage (Opt-in)

# Only if you need file-based storage
node scripts/create-wallet.js --managed my-agent

⚠️ This stores private key in ~/.openclaw/wallets/my-agent.json


Usage Examples

Load Wallet from Environment

const { ethers } = require('ethers');

// ✅ SECURE: Load from environment variable
const wallet = new ethers.Wallet(process.env.PRIVATE_KEY);
console.log('Address:', wallet.address);
// ❌ NEVER: console.log('Private Key:', wallet.privateKey);

Load from Mnemonic

const wallet = ethers.Wallet.fromPhrase(process.env.MNEMONIC);

Check Balance

const provider = new ethers.JsonRpcProvider('https://mainnet.base.org');
const balance = await provider.getBalance(wallet.address);
console.log('Balance:', ethers.formatEther(balance), 'ETH');

Read the full file on GitHub · 225 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 225 lines · 44 tokens per session scan B 76a5c8da1ba6

Subscribe to this mod's changes

base-wallet is a skill published in the GitHub repository dAAAb/agent-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 1,250 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.