jaracil / btcbrain

BTC brain wallet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

btcbrain

Transforms a passphrase into a valid BTC wallet.

It uses the SHA256 Hash function to derivate private key from passphrase.

Why?

I needed a way to regain access to my wallets without depending on any physical instrument.

Install

npm install -g btcbrain

... Or run directly

npx btcbrain

Usage

btcbrain transforms a passphrase into a valid BTC wallet.

Options:
-l              Generate legacy address.
-s              Use scrypt instead of sha256.
-p              Show private key in WIF format.
-q              Show also QR code.
--help, -h      Show help.

Usage example:
btcbrain -p -q  #Show private key in WIF format and QR code. 

Tips

You can access your account with a wallet capable of importing private keys in wif format (Wallet Import Format) like Electrum.

Do not use simple phrases as these are vulnerable to dictionary attacks.

About

BTC brain wallet


Languages

Language:JavaScript 100.0%