Versions in this module Expand all Collapse all v1 v1.0.2 Oct 18, 2021 v1.0.1 Oct 18, 2021 Changes in this version + func GetWord(lang Language, index int64) (string, error) + func IsMnemonicValid(lang Language, sentence string) (bool, error) + type Language string + const ChineseSimplified + const ChineseTraditional + const English + const French + const Italian + const Japanese + const Korean + const Spanish + type Mnemonic struct + Language Language + Words []string + func New(ent []byte, lang Language) (*Mnemonic, error) + func NewRandom(length int, lang Language) (*Mnemonic, error) + func RecoverFromMnemonic(lang Language, sentence string) (m *Mnemonic, err error) + func (m *Mnemonic) GenerateSeed(passphrase string) *Seed + func (m *Mnemonic) Sentence() string + type Seed struct + Bytes []byte + func NewSeed(sentence string, passphrase string) *Seed + func (s *Seed) String() string + func (s *Seed) ToHex() string