addresspath

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const HardenedKeyStart = uint32(0x80000000) // 2^31

Variables

View Source
var ErrInvalidPath = errors.New("the key path is invalid")

ErrInvalidPath describes an error in which the key path is invalid.

Functions

This section is empty.

Types

type Path

type Path []uint32

func FromString added in v1.1.0

func FromString(str string) (Path, error)

TODO: check the path should exactly 4 levels.

func NewPath

func NewPath(indexes ...uint32) Path

func (Path) AddressIndex added in v0.18.0

func (p Path) AddressIndex() uint32

func (Path) AddressType

func (p Path) AddressType() uint32

func (Path) CoinType added in v0.18.0

func (p Path) CoinType() uint32

func (Path) Purpose added in v0.18.0

func (p Path) Purpose() uint32

func (Path) String

func (p Path) String() string

Jump to

Keyboard shortcuts

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