Derives Dash child public keys from a BIP32 seed
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vendor
.gitignore
LICENSE
Makefile
README.md
addrgen.go
addrgen_test.go
go.mod
go.sum

README.md

addrgen

Package addrgen handles the derivation of Dash child public keys from a BIP32 seed.

API

func Derive(seed string, index uint32) (string, error)

The Derive function takes an xpub or drkp prefixed BIP32 seed address and a child index. It derives the specified child address and returns it as a compressed Dash address.

Tests

The library is covered by multiple test cases. See addrgen_test.go or run go test.