Skip to content

A CLI utility which generates and verifies BIP39 addresses.

License

Notifications You must be signed in to change notification settings

andyichr/bip39-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

██████╗ ██╗██████╗ ██████╗  █████╗        ██████╗██╗     ██╗
██╔══██╗██║██╔══██╗╚════██╗██╔══██╗      ██╔════╝██║     ██║
██████╔╝██║██████╔╝ █████╔╝╚██████║█████╗██║     ██║     ██║
██╔══██╗██║██╔═══╝  ╚═══██╗ ╚═══██║╚════╝██║     ██║     ██║
██████╔╝██║██║     ██████╔╝ █████╔╝      ╚██████╗███████╗██║
╚═════╝ ╚═╝╚═╝     ╚═════╝  ╚════╝        ╚═════╝╚══════╝╚═╝
A CLI utility which generates and verifies BIP39 addresses.

Copying

This program is heavily based on the MIT-licensed Trezor source code, and as such is released under the MIT license.

Motivation

When working with bitcoin, standards are your friend. This program solves the specific problem of generating a secure BIP39 mnemonic with optional passphrase. It uses derivation routines from the secure Trezor hardware wallet. This is useful for cross-verifying other BIP39 generators such as the one at https://dcpos.github.io/bip39/, verifying a hardware Trezor device, or generating multiple BIP39 wallets on independent systems using independent software stacks for use in a BIP32 multisig fund, as supported by Electrum.

Liability

There is no liability to the author. Use at your own risk.

Usage/Example

./bip39-cli
enter mnemonic (leave empty to generate): 
generated mnemonic: truly system urge doll panther crew vendor drill onion lamp fortune online
enter passphrase (optional): 
master private key: xprv9s21ZrQH143K4UwkcntG6XPGpuL7mkaaLWPs3hK8AKZacX5Vd4mouGZNB7vN8akx53mYg8sSkwu8CfaZDwWXY9rymKGETEt6QmRaQz1VCyo
master public key: xpub661MyMwAqRbcGy2DipRGTfL1NwAcBDJRhjKTr5ijif6ZVKQeAc64T4sr2Q6heGuZfhDCKXc3SRPYSD1TtzDzXDGSo2XMuvrAQR6KBNuL9qn

Compiling (requires Docker)

./shell make

About

A CLI utility which generates and verifies BIP39 addresses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages