zelgen

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2018 License: MIT Imports: 6 Imported by: 0

README

ZelGen

Offline BIP32 HD wallet and vanity address generator for Zelcash.

##Pre-requisites

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

##Build

go get -u github.com/TheTrunk/zelgen
go build github.com/TheTrunk/zelgen
go build github.com/TheTrunk/zelgen/zelretrieve

##Update an Existing Install

go clean github.com/TheTrunk/zelgen
go build github.com/TheTrunk/zelgen
go build github.com/TheTrunk/zelgen/zelretrieve

##Usage To generate a wallet:

zelgen [-test] [-n 1] [-o]

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

To retrieve addresses generated from your HD wallet:

<<<<<<< HEAD >>>>>>>
zelretrieve -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 outputzelretrieve.txt

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

zelretrieve -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 Zelcash:

./zelcash-cli importprivkey "private_key_from_zelgen"

Zelcashd will automatically rescan the blockchain for transactions

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package base58 provides an API for working with modified base58 and Base58Check encodings.
Package base58 provides an API for working with modified base58 and Base58Check encodings.
Standalone library to generate Zelcash addresses
Standalone library to generate Zelcash addresses
retrieves the addresses and priv keys associated with a mneumonic
retrieves the addresses and priv keys associated with a mneumonic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL