Package hdkeychain provides an API for bitcoin hierarchical deterministic extended keys (BIP0032).
A comprehensive suite of tests is provided to ensure proper functionality.
See test_coverage.txt for the gocov coverage report. Alternatively, if you are
running a POSIX OS, you can run the cov_report.sh script for a real-time
report.
keys
addresses ties in seamlessly with existing btcec and util types which provide powerful tools for working with them to do things like sign transations and generate payment scripts
- Generating a cryptographically secure random seed and deriving a master node from it - Default HD wallet layout as described by BIP0032 - Audits use case as described by BIP0032
$ go get -u github.com/p9c/p9/util/hdkeychain
Demonstrates how to generate a cryptographically random seed then use it to create a new master node (extended key).
Demonstrates the default hierarchical deterministic wallet layout as described in BIP0032.
Demonstrates the audits use case in BIP0032.
Package hdkeychain is licensed under the copyfree ISC License.