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

generate-ethereum-wallet

v1.0.0

Published

A CLI tool to generate Ethereum blockchain wallets with address, private key, and 24-word mnemonic phrase

Readme

💎 generate-ethereum-wallet

cli-available node version npm version downloads count size license github-ci

A simple Node.js tool to generate Ethereum blockchain wallets with address, private key, and mnemonic phrase.

✨ Features

  • 🔐 Generate secure Ethereum wallets
  • 🔑 Provides wallet address, private key, and 24-word mnemonic phrase
  • 📦 Built with ethers.js library
  • 💻 CLI support with multiple output formats

📥 Installation

npm install -g generate-ethereum-wallet

🚀 Usage

# Generate a new wallet
generate-ethereum-wallet

# Or use the short alias
eth-wallet

# Output as JSON (useful for scripting)
eth-wallet --json

# Show help
eth-wallet --help

# Show version
eth-wallet --version

⚙️ CLI Options

| Option | Alias | Description | | ----------- | ----- | -------------------------- | | --help | -h | Show help message | | --version | -v | Show version number | | --json | -j | Output wallet data as JSON |

📚 Programmatic Usage

import { generateWallet, displayWallet } from "generate-ethereum-wallet";

const wallet = generateWallet();
console.log(wallet.address);
console.log(wallet.privateKey);
console.log(wallet.mnemonic);

// Or display formatted output
displayWallet(wallet);

The tool will output:

  • 📍 Address: Your Ethereum wallet address (public)
  • 🔑 Private Key: Your wallet's private key (keep secret!)
  • 📝 Mnemonic Phrase: 24-word recovery phrase (keep secret!)

⚠️ Security Warning

  • 🚫 Never share your private key or mnemonic phrase with anyone
  • 🔒 Store them securely offline
  • 💸 Anyone with access to your private key or mnemonic can access your funds
  • 🎓 This tool is for educational purposes or creating new wallets
  • ✅ Always verify you're using trusted code when dealing with real cryptocurrency

📋 Example Output

==============================================
  Ethereum Wallet Generated Successfully!
==============================================

Address:
  0x1234567890123456789012345678901234567890

Private Key:
  0xabcdef...

Mnemonic Phrase (24 words):
  word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12
  word13 word14 word15 word16 word17 word18 word19 word20 word21 word22 word23 word24

==============================================
IMPORTANT: Keep your private key and mnemonic
phrase secure. Never share them with anyone!
==============================================

🔧 How It Works

The tool uses the ethers.js library to:

  1. 🎲 Generate 256-bit cryptographically secure entropy
  2. 📝 Create a BIP-39 24-word mnemonic phrase from the entropy
  3. 🔐 Derive the wallet (address and private key) from the mnemonic phrase

📄 License

The MIT License @ 2026