getKeyPair method

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

Implementation

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