Skip to content
Offline BIP32 wallet generator for Hush
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of TheTrunk:master.
Latest commit 9017cda Jan 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
base58 Code check in Oct 26, 2016
hushcrypto
hushretrieve
.gitattributes
.gitignore
LICENSE
README.md
hushgen.go added output option Nov 30, 2017

README.md

HushGen

Offline BIP32 HD wallet and vanity address generator for Hush.

##Pre-requisites

  • Golang 1.7.3 (altought lower versions may work)
  • Git

##Build

go get -u github.com/MyHush/hushgen
go build github.com/MyHush/hushgen
go build github.com/MyHush/hushgen/hushretrieve

##Update an Existing Install

go clean github.com/MyHush/hushgen
go build github.com/MyHush/hushgen
go build github.com/MyHush/hushgen/hushretrieve

##Usage To generate a wallet:

hushgen [-test] [-n 1] [-o]

Options
-test generate testnet addresses
-n number of addresses to generate. Defaults to 1
-o enable output to file outputhushgen.txt

To retrieve addresses generated from your HD wallet:

<<<<<<< HEAD >>>>>>>
hushretrieve -passphrase="your desired passphrase" [-test] [-n 1] [-match="t1yourdesiredstring"] [-i] [-o]

Options
-passphrase Passphrase for the wallet is REQUIRED between 128 and 512 bits
-test generate testnet addresses	
-n number of addresses to retrieve. Defaults to 1
-match regex string to search for in the address
-i case insensitive string matching
-o enable output to file outputhushretrieve.txt

eg. Search case insensitive for a vanity address which starts with the string "t1jl"

hushretrieve -passphrase="board start difference answer blossom roll powerful million rough butterfly bedroom beam" -match "t1jl" -i

Note: The maximum number of addresses that can be searched given a wallet passphrase is restricted to 4,294,967,295 (unsigned 32 bit integer).

To import the private key into Hush:

./hush-cli importprivkey "private_key_from_hushgen"

Hushd will automatically rescan the blockchain for transactions

You can’t perform that action at this time.