generateMnemonic method
Future<AddressIconDataWithMnemonic>
generateMnemonic(
- int ss58, {
- CryptoType cryptoType = CryptoType.sr25519,
- String derivePath = '',
- String key = '',
Generate a set of new mnemonic.
Implementation
Future<AddressIconDataWithMnemonic> generateMnemonic(int ss58,
{CryptoType cryptoType = CryptoType.sr25519,
String derivePath = '',
String key = ''}) async {
final mnemonicData = await service!.generateMnemonic(ss58,
cryptoType: cryptoType, derivePath: derivePath, key: key);
return mnemonicData;
}