npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zoebuildsai/skill-base-wallet

v1.0.2

Published

Native Base blockchain wallet for OpenClaw agents. Hold ETH, send payments, sign messages, and operate autonomously with a configurable spend threshold guard.

Readme

skill-base-wallet

Native Base blockchain wallet for OpenClaw agents. Hold ETH, send payments, sign messages, and operate autonomously with a configurable spend threshold guard.

This is the financial primitive the entire agent economy will need. One skill install — agents get a real wallet on Base mainnet.

Install

cd ~/.openclaw/workspace/skills
git clone https://github.com/zoebuildsai/skill-base-wallet base-wallet
cd base-wallet
npm install
node scripts/setup.js

Tools

| Command | Description | |---|---| | get-address | Wallet address + network | | get-balance | ETH balance (+ optional ERC-20) | | send-eth | Send ETH with threshold guard | | estimate-gas | Gas cost before sending | | sign-message | EIP-191 message signing | | get-transactions | On-chain tx history via Alchemy |

All tools output JSON to stdout. Errors exit with code 1. Threshold blocks exit with code 2.

Spend Threshold

Amount ≤ 0.01 ETH  →  auto-approved  →  tx sent  →  audit log
Amount >  0.01 ETH  →  exit code 2   →  agent asks human  →  --force  →  tx sent

Exit code 2 ≠ error. Agents must distinguish threshold blocks from real failures.

# Below threshold — auto-approved
node src/cli.js send-eth --to 0xRecipient --amount 0.005

# Above threshold — exits with code 2
node src/cli.js send-eth --to 0xRecipient --amount 0.5

# Human approved — use --force
node src/cli.js send-eth --to 0xRecipient --amount 0.5 --force

Environment

WALLET_PRIVATE_KEY=0x...           # Set by setup.js
ALCHEMY_API_KEY=your_key           # For get-transactions
NETWORK=mainnet                    # or sepolia
SPEND_THRESHOLD_ETH=0.01          # ~$25 auto-approve limit

Security

  • Private key: written to .env (chmod 600), never printed to stdout
  • Zero address guard: rejects 0x0000...
  • Hard refusals: --to must be a valid non-zero EVM address
  • .env auto-added to .gitignore on first run
  • Append-only audit.log for every send-eth call

Test

npm test              # all unit tests (no network, no real keys)
npm run test:unit     # unit tests only

Unit tests cover: key validation, threshold logic, zero-address guard, audit log format.

Integration tests (Base Sepolia, require SEPOLIA_TEST_KEY in env) are in tests/integration/.

v2 Roadmap

  • ERC-20 sends
  • OS keychain integration (no .env needed)
  • Hash-chained audit log (tamper-evident)
  • openclaw skill install base-wallet (one command)