recoverFromIISeedPhrase static method
Implementation
static Future<Ed25519KeyIdentityRecoveredFromII> recoverFromIISeedPhrase(
String phrase,
) async {
final userNumber = extractUserNumber(phrase);
final mne = dropLeadingUserNumber(phrase);
final identity = await fromMnemonicWithoutValidation(
mne,
icDerivationPath,
);
return Ed25519KeyIdentityRecoveredFromII(
userNumber: userNumber,
identity: identity,
);
}