signSecp256k1Recoverable function

Future<Uint8List> signSecp256k1Recoverable(
  1. Uint8List blob,
  2. Uint8List seed
)

Implementation

Future<Uint8List> signSecp256k1Recoverable(
  Uint8List blob,
  Uint8List seed,
) async {
  final result = await secp256K1SignRecoverable(
    req: Secp256k1SignWithSeedReq(seed: seed, msg: blob),
  );
  return result.signature!;
}