signSecp256k1Async function

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

Implementation

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