Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrvKeyFromHDWallet ¶
func GetPrvKeyFromHDWallet(seed []byte, hp *HDPathLevel) (*ecdsa.PrivateKey, error)
func GetPrvKeyFromMnemonicAndHDWPath ¶
func GetPrvKeyFromMnemonicAndHDWPath(mnemonic, path string) (*ecdsa.PrivateKey, error)
Types ¶
type HDPathLevel ¶
type HDPathLevel struct { Purpose uint32 CoinType uint32 Account uint32 Change uint32 Index uint32 }
func ParseHDPathLevel ¶
func ParseHDPathLevel(path string) (*HDPathLevel, error)
func (*HDPathLevel) String ¶
func (hp *HDPathLevel) String() string
func (*HDPathLevel) Validate ¶
func (hp *HDPathLevel) Validate() error
Click to show internal directories.
Click to hide internal directories.