fnoaddrgen

command module
v0.0.0-...-c335bfd Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: ISC Imports: 16 Imported by: 0

README

fnoaddrgen

fnoaddrgen is a simple offline address generator for fonero.

It allows one to generate an address (along with either the private key or a wallet seed) without a running wallet or daemon.

Installation and updating

Windows/Linux/BSD/POSIX - Build from source

Building or updating from source requires the following build dependencies:

  • Go 1.8 or 1.9

    Installation instructions can be found here: http://golang.org/doc/install. It is recommended to add $GOPATH/bin to your PATH at this point.

  • Dep

    Dep is used to manage project dependencies and provide reproducible builds. It is recommended to use the latest Dep release, unless a bug prevents doing so. The latest releases (for both binary and source) can be found here.

Unfortunately, the use of dep prevents a handy tool such as go get from automatically downloading, building, and installing the source in a single command. Instead, the latest project and dependency sources must be first obtained manually with git and dep, and then go is used to build and install the project.

Getting the source:

For a first time installation, the project and dependency sources can be obtained manually with git and dep (create directories as needed):

git clone https://github.com/fonero-project/fnoaddrgen $GOPATH/src/github.com/fonero-project/fnod/fnoaddrgen
cd $GOPATH/src/github.com/fonero-project/fnoaddrgen
dep ensure

To update an existing source tree, pull the latest changes and install the matching dependencies:

cd $GOPATH/src/github.com/fonero-project/fnoaddrgen
git pull
dep ensure

Building/Installing:

The go tool is used to build or install (to GOPATH) the project. Some example build instructions are provided below (all must run from the fnoaddrgen project directory).

To build a fnoaddrgen executable and install it to $GOPATH/bin/:

go install

To build a fnoaddrgen executable and place it in the current directory:

go build

Usage

Usage: fnoaddrgen [-testnet] [-simnet] [-regtest] [-noseed] [-h] filename
Generate a Fonero private and public key or wallet seed.
These are output to the file 'filename'.

  -h 		    Print this message
  -testnet 	    Generate a testnet key instead of mainnet
  -simnet       Generate a simnet key instead of mainnet
  -regtest      Generate a regtest key instead of mainnet
  -noseed       Generate a single keypair instead of a seed
  -verify 	    Verify a seed by generating the first address

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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