Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1011 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 1011 Bytes

hd

Hierarchical deterministic wallet for Ethereum.

GoDoc Go Report Card

Usage

This package provides hierarchical deterministic wallet ("HD wallet") functionality according to BIP39, BIP32 and BIP44.

Once the HdWallet is initialized, you can easily generate any address by requesting the wallet number, either Change or External and the id of the address (a number between 1 and 2e32-1). See test file for same code.

For a full description of what a HD wallet is, please read here.

Configuration

The initialization of the wallet requires a 64-byte seed. It is recommended to generate seeds using BIP39 out of a 24 word mnemonic and passphrase which are easy to remember. You should always keep private keys and seed safe.