Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
Address wraps a simple wallet address. It contains information such as network type (e.g. mainnet or testnet), derivation path (e.g. m/0/0/123/50), change value and address index.
func NewAddress ¶
NewAddress creates a new instance of Address, given network, derivation path, change value and address index.
type AddressDeriver ¶
type AddressDeriver struct {
// contains filtered or unexported fields
}
AddressDeriver is a struct that contains necessary information to derive an address from a given extended public key (or list of public keys). It follows the conventions as written in BIP32 // https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format
func NewAddressDeriver ¶
func NewAddressDeriver(network Network, xpubs []string, m int, singleAddress string) *AddressDeriver
NewAddressDeriver returns a new instance of AddressDeriver
Click to show internal directories.
Click to hide internal directories.