fromMnemonics static method
Generate a keypair from mnemonics
string.
Implementation
static Secp256r1Keypair fromMnemonics(String mnemonics,
{int accountIndex = 0, int addressIndex = 0, int changeIndex = 0}) {
String path = "m/74'/784'/$accountIndex'/$changeIndex/$addressIndex";
return Secp256r1Keypair.deriveKeypair(path, mnemonics);
}