getKeyPair method

KeyPair getKeyPair (
  1. {int index: 0}
)

Implementation

KeyPair getKeyPair({int index = 0}) {
  final key = this._derivePath("m/44'/148'/$index'");
  return KeyPair.fromSecretSeedList(key.sublist(0, 32));
}