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 🙏

© 2025 – Pkg Stats / Ryan Hefner

new-wallet

v2.2.2

Published

Generate mnemonic phrase and BTC, ETH, and SOL wallets from that mnemonic phrase

Readme

new-wallet

Generate mnemonic phrase and BTC, ETH, and SOL wallets from that mnemonic phrase.

A simple CLI tool to generate self-custodial cryptocurrency wallets using industry-standard derivation paths (BIP32/BIP44/BIP84). All wallets are generated from a single mnemonic phrase, making it easy to manage multiple chains with one recovery phrase.

Features

  • 🔐 Single Mnemonic - One recovery phrase for all your wallets
  • Multiple Chains - Supports Bitcoin (SegWit), Ethereum, and Solana
  • 🎯 Chain-Specific Mode - Generate wallets for individual chains only
  • 🛡️ Industry Standards - Uses BIP32/BIP44/BIP84 derivation paths
  • 📦 Zero Config - Works instantly with npx
  • 🔒 Offline Ready - Generate wallets securely offline

Installation

You can use new-wallet without installing it globally:

npx new-wallet

Or install it globally:

npm install -g new-wallet

Usage

Generate All Wallets

Generate mnemonic phrase and BTC, ETH, and SOL wallets from that mnemonic phrase:

new-wallet

Generate Chain-Specific Wallet

Generate mnemonic phrase and a wallet for a specific blockchain only:

# Bitcoin only
new-wallet -c btc # BTC
new-wallet --chain btc # BTC

# Ethereum only
new-wallet -c eth # ETH
new-wallet --chain eth # ETH

# Solana only
new-wallet -c sol # SOL
new-wallet --chain sol # SOL

Additional Options

# Show help
new-wallet --help
new-wallet -h

# Show version
new-wallet --version
new-wallet -v

Supported Chains

| Chain | Type | Derivation Path | Address Format | |-------|------|----------------|----------------| | Bitcoin (BTC) | SegWit | m/84'/0'/0'/0/0 | P2WPKH (Native SegWit) | | Ethereum (ETH) | EVM | m/44'/60'/0'/0/0 | Standard | | Solana (SOL) | Ed25519 | m/44'/501'/0'/0' | Base58 |

Example Output

$ new-wallet

🥳 Your Self-Custodial Wallets are Ready...

Mnemonic:
abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about 

BTC (SegWit)
Address: bc1q...
Private Key: L...

ETH
Address: 0x...
Private Key: 0x...

SOL
Address: 7L...
Private Key: 5K...

🎉 Done!

Security Warnings

⚠️ IMPORTANT SECURITY INFORMATION:

  • Never share your mnemonic or private keys with anyone
  • Store offline in a secure location (paper, hardware wallet, etc.)
  • Double-check addresses before sending funds
  • Test by importing the private key into a wallet like Metamask, Phantom, etc.
  • This tool is for educational purposes
  • Use it at your own risk

Development

# Clone the repository
git clone https://github.com/shahbaz17/new-wallet.git
cd new-wallet

# Install dependencies
npm install

# Run locally
node index.js

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feat/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

License

MIT © Mohammad Shahbaz Alam

Links

  • Repository: https://github.com/shahbaz17/new-wallet
  • Author: Mohammad Shahbaz Alam
  • Issues: https://github.com/shahbaz17/new-wallet/issues

Disclaimer: This software is provided "as is", without warranty of any kind. The authors are not responsible for any losses incurred through the use of this tool.