Documentation
¶
Overview ¶
Package mnemonic provides BIP39 mnemonic phrase generation and validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidMnemonic = errors.New("invalid mnemonic given")
ErrInvalidMnemonic is returned when a mnemonic phrase is not valid BIP39.
Functions ¶
func FromSeedAndPassphrase ¶ added in v0.26.0
func FromSeedAndPassphrase(mnemonic, passphrase string, index int) (*btcec.PrivateKey, *btcec.PublicKey)
FromSeedAndPassphrase derives a key pair from a BIP39 mnemonic and passphrase at the given TRON HD path index (44'/195'/0'/0/{index}).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.