new-wallet
v2.2.2
Published
Generate mnemonic phrase and BTC, ETH, and SOL wallets from that mnemonic phrase
Maintainers
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-walletOr install it globally:
npm install -g new-walletUsage
Generate All Wallets
Generate mnemonic phrase and BTC, ETH, and SOL wallets from that mnemonic phrase:
new-walletGenerate 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 # SOLAdditional Options
# Show help
new-wallet --help
new-wallet -h
# Show version
new-wallet --version
new-wallet -vSupported 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.jsContributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feat/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feat/amazing-feature) - Open a Pull Request
License
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.
