Skip to content

Bitcoin, Ethereum, Binance Smart Chain and many other cryptos wallet generator CLI tool

License

Notifications You must be signed in to change notification settings

ryusuzaku/HappyWallet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptowallet-cli

Crypto wallet generator CLI tool

Screenshot


Install

# via Yarn
$ yarn global add @yerofey/cryptowallet-cli

# or via NPM
$ npm i -g @yerofey/cryptowallet-cli

Usage

# generate random ERC-like wallet (ETH, BNB, POLYGON, ...)
$ cw

# generate random ERC-like wallet with desired prefix
$ cw -p aaa

# generate random BTC wallet (default format: bech32 - bc1...)
$ cw -c BTC

# generate random BTC wallet with desired prefix (case sensitive)
$ cw -c BTC -p ABC

# generate random BTC wallet with desired prefix (case insensitive)
$ cw -c BTC -P abc

# generate BTC legacy wallet (1...)
$ cw -c BTC -f legacy

# generate BTC segwit wallet (3...)
$ cw -c BTC -f segwit

# generate BTC bech32 wallet from mnemonic string
$ cw -c BTC -f bech32 -m "radio bright pizza pluck family crawl palm flame forget focus stock stadium"

# generate N of BTC bech32 wallets from mnemonic string
$ cw -c BTC -f bech32 -n 10 -m "radio bright pizza pluck family crawl palm flame forget focus stock stadium"

# generate ERC-like wallet from mnemonic string
$ cw -m "radio bright pizza pluck family crawl palm flame forget focus stock stadium"

# generate BNB (BEP2) wallet from mnemonic string
$ cw -c BNB -f BEP2 -m "radio bright pizza pluck family crawl palm flame forget focus stock stadium"

# generate BNB (BEP20) wallet from mnemonic string
$ cw -c BNB -f BEP20 -m "radio bright pizza pluck family crawl palm flame forget focus stock stadium"

# generate just a mnemonic string (12 words) to import in any wallet app
$ cw -m

# list all supported cryptos
$ cw -l

Blockchains supported

  • BTC (Bitcoin) [legacy, segwit, bech32]
  • ETH (Ethereum)
  • BNB (Binance Coin) [BEP2, BEP20, ERC20]
  • DOGE (Dogecoin) [legacy, segwit, bech32]
  • BCH (Bitcoin Cash)
  • LTC (Litecoin) [legacy, segwit, bech32]
  • POLYGON (Polygon)
  • TRX (Tron)
  • XTZ (Tezos)
  • DASH (Dash)
  • DCR (Decred)
  • ZEC (Zcash)
  • QTUM (Qtum)
  • BTG (Bitcoin Gold)
  • ONE (Harmony)
  • DGB (DigiByte)
  • RDD (ReddCoin)
  • VTC (Vertcoin)
  • MONA (MonaCoin)
  • NMC (NameCoin)
  • PPC (PeerCoin)
  • BLK (BlackCoin)
  • VIA (Viacoin)
  • NBT (NIX Bridge Token)

*all other cryptos that are tokens in the ecosystems like Ethereum, Binance Smart Chain or Polygon and others (EVM compatible) are supported too, you just need to create ERC wallet (that is set by default)

Options

  • -c or --coin: Specify the ticker of a coin to generate wallet for
  • -f or --format: Specify cryptocurrency wallet format (for BTC: legacy, segwit, bech32)
  • -g or --geek: Display some additional "geeky" info
  • -l or --list: List all supported cryptocurrencies
  • -m or --mnemonic: Use a bip39 mnemonic phrase (if is set) to generate wallet, or leave it empty to generate new one
  • -n or --number: Specify number of wallets to display (works for HD wallets only, like BTC/LTC/DOGE)
  • -p or --prefix: Specify desired prefix of an wallet address (case sensitive)
  • -P or --prefix-ignorecase: Specify desired prefix of an wallet address (case insensitive)
  • -v or --version: Display the version of CW tool

Highlights

  • 24 blockchains supported
  • Generate wallet with desired prefix
  • Generate wallet from mnemonic
  • Generate just a mnemonic
  • Works fully offline

TODO

  • Windows support
  • Show SegWit Bech32 BTC change addresses with additional flag
  • SegWit Bech32 wallet address support for all Bitcoin forks
  • More EVM compatible cryptos
  • tests

Author

Yerofey S.

License

MIT

About

Bitcoin, Ethereum, Binance Smart Chain and many other cryptos wallet generator CLI tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%