Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPath = errors.New("the key path is invalid")
ErrInvalidPath describes an error in which the key path is invalid.
Functions ¶
func Harden ¶ added in v1.11.0
func Harden[T constraints.Integer](i T) uint32
Harden hardens the integer value 'i' by adding 0x80000000 (2^31) to it. This function does not check if 'i' is already hardened.
func UnHarden ¶ added in v1.11.0
func UnHarden[T constraints.Integer](i T) uint32
UnHarden unhardens the integer value 'i' by subtracting 0x80000000 (2^31) from it. This function does not check if 'i' is already non-hardened.
Types ¶
type Path ¶
type Path []uint32
func FromString ¶ added in v1.1.0
func (Path) AddressIndex ¶ added in v0.18.0
func (Path) AddressType ¶
func (p Path) AddressType() crypto.AddressType
Click to show internal directories.
Click to hide internal directories.