hd

package
v0.0.0-...-22cd51a Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Path string
	Key  *hdkeychain.ExtendedKey
}

func NewMasterKeyFromSeed

func NewMasterKeyFromSeed(seed []byte) (*Key, error)

NewMasterKeyFromSeed creates a new master key based on the seed bytes.

func (*Key) DeriveChild

func (k *Key) DeriveChild(childPath string) (*Key, error)

DeriveChild derives a new child key from the parent key using the specified derivation path.

Jump to

Keyboard shortcuts

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