ICPSigner.fromSeed constructor

ICPSigner.fromSeed(
  1. Uint8List seed, {
  2. int? index = 0,
  3. CurveType curveType = CurveType.ed25519,
})

Implementation

ICPSigner.fromSeed(
  Uint8List seed, {
  int? index = 0,
  CurveType curveType = CurveType.ed25519,
}) {
  _index ??= index;
  _acc = ICPAccount.fromSeed(seed, index: index, curveType: curveType);
}