Constructors
constructor
- new Mnemonic(phrase, language?): Mnemonic
Parameters
phrase: string
Optional
language: English
Properties
entropy
entropy: string
phrase
phrase: string
Methods
free
- free(): void
Returns void
toJSON
- toJSON(): Object
Returns Object
toSeed
- toSeed(password?): string
Parameters
Optional
password: string
Returns string
toString
- toString(): string
Returns string
Static
random
- random(word_count?): Mnemonic
Parameters
Optional
word_count: number
Static
validate
- validate(phrase, language?): boolean
Parameters
phrase: string
Optional
language: English
Returns boolean
BIP39 mnemonic phrases: sequences of words representing cryptographic keys.