Mnemonic.fromString constructor
Mnemonic.fromString(
- String mnemonicStr
Creates a new Mnemonic instance from a mnemonic phrase provided as a string. The provided mnemonic string is normalized into a list of words.
Implementation
Mnemonic.fromString(String mnemonicStr)
: mnemonicBytes = SecretBytes(
StringUtils.encode(_normalize(mnemonicStr).join(" ")),
);