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

ethereum-account-manager

v1.0.0

Published

A standalone Ethereum account management tool with interactive CLI

Readme

Ethereum Account Manager

一个独立的以太坊账户管理工具,提供交互式命令行界面来管理以太坊账户。

功能特性

  • 🔐 生成新账户 - 创建新的以太坊钱包
  • 📥 导入账户 - 使用私钥导入现有账户
  • 👀 查看账户信息 - 显示地址、余额和交易计数
  • 🔑 显示私钥 - 安全地显示私钥(需要密码)
  • 🗑️ 删除账户 - 删除存储的账户信息
  • 🎯 交互式界面 - 用户友好的菜单系统
  • 🔒 安全存储 - 私钥使用密码加密存储

安装

全局安装(推荐)

npm install -g ethereum-account-manager

本地安装

npm install ethereum-account-manager

从源码安装

git clone <repository-url>
cd ethereum-account-manager
npm install
npm run build

使用方法

交互式模式(推荐)

eth-account
# 或者
eth-account interactive

这将启动一个交互式菜单,让你选择要执行的操作。

命令行模式

# 生成新账户
eth-account generate

# 导入现有账户
eth-account import

# 查看账户信息
eth-account list

# 显示私钥
eth-account reveal

# 删除账户
eth-account delete

指定配置目录

# 使用自定义配置目录
eth-account --dir /path/to/config generate
eth-account -d /path/to/config list

配置

账户信息默认存储在 .eth-accounts/.env 文件中。你可以通过 --dir 参数指定不同的配置目录。

配置文件包含:

  • DEPLOYER_PRIVATE_KEY_ENCRYPTED: 加密的私钥(JSON格式)

安全说明

  • 🔒 私钥使用你设置的密码进行加密存储
  • 🚫 私钥永远不会以明文形式存储
  • ⚠️ 请妥善保管你的密码,忘记密码将无法恢复私钥
  • 🗑️ 删除账户操作需要输入密码确认

网络支持

工具会自动检查以下网络的余额:

  • Ethereum Mainnet
  • Polygon
  • BSC (Binance Smart Chain)
  • Arbitrum
  • Optimism

开发

构建项目

npm run build

开发模式

npm run dev

安装依赖

npm install

许可证

MIT License

贡献

欢迎提交 Issue 和 Pull Request!

更新日志

v1.0.0

  • 初始版本
  • 支持账户生成、导入、查看、删除
  • 交互式命令行界面
  • 多网络余额查询
  • 安全的私钥加密存储