Versions in this module Expand all Collapse all v1 v1.1.0 Jan 28, 2023 v1.0.0 Dec 31, 2022 Changes in this version + const FirstHardenedIndex + const MaxSeedBytes + const MinSeedBytes + const RecommendedSeedLen + var ErrInvalidPath = fmt.Errorf("invalid derivation path") + var ErrInvalidSeedLen = fmt.Errorf(..., MinSeedBytes * 8, MaxSeedBytes * 8) + var ErrNoPublicDerivation = fmt.Errorf("no public derivation for ed25519") + func GenerateSeed(length uint8) ([]byte, error) + func IsValidPath(path string) bool + type Node interface + Bytes func() []byte + Derive func(i uint32) (Node, error) + KeyPair func() (ed25519.PublicKey, ed25519.PrivateKey) + PrivateKey func() []byte + PublicKeyWithPrefix func() []byte + RawSeed func() []byte + Serialize func() string + Zero func() + func DeriveForPath(path string, seed []byte) (Node, error) + func NewMasterNode(seed []byte) (Node, error) + func NewNodeFromString(val string) (Node, error)