getECKeys function

ECKeys getECKeys(
  1. String mnemonic, {
  2. String passphase = "",
  3. int index = 0,
})

Implementation

ECKeys getECKeys(String mnemonic, {String passphase = "", int index = 0}) {
  assert(validateMnemonic(mnemonic), "Mnemonic phrases is not valid $mnemonic");
  final seed = mnemonicToSeed(mnemonic, passphrase: passphase);
  return fromSeed(seed, index: index);
}