Documentation
¶
Index ¶
Constants ¶
View Source
const ( Words12 = 12 Words15 = 15 Words18 = 18 Words21 = 21 Words24 = 24 )
Variables ¶
View Source
var ( ErrInputValidationFailed = errors.New("input validation failed") ErrInvalidMnemonicWordsCount = errors.New("provided mnemonic words count is not supported") ErrInvalidBIP39Seed = errors.New("provided seed is not valid") ErrInvalidRootKey = errors.New("root key is invalid") ErrInvalidRangeProvided = errors.New("range provided is invalid") ErrUnSupportedPurposePath = errors.New("unsupported purpose path") ErrCoinTypeIsRequired = errors.New("coin type is required") ErrAccountPathShouldBeHardened = errors.New("account path should be hardened") ErrChangeIsRequired = errors.New("change is required") ErrUnsupportedCoinType = errors.New("coin type is not supported") ErrUnSupportedOrInvalidPath = errors.New("path is unsupported and/or invalid") ErrPathDepthNeedGreaterThanOne = errors.New("path depth must be greater than or equal to one") )
Functions ¶
func DeriveSeedFromMnemonic ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) DeriveBIP32Result ¶
func (*Generator) SetRootKey ¶
type KeyPathRange ¶
func (*KeyPathRange) GenerateRange ¶
func (b *KeyPathRange) GenerateRange() error
Click to show internal directories.
Click to hide internal directories.