getDerFromFFI function

Future<Uint8List> getDerFromFFI(
  1. Uint8List seed
)

Implementation

Future<Uint8List> getDerFromFFI(Uint8List seed) async {
  final ffiIdentity = await secp256K1FromSeed(
    req: Secp256k1FromSeedReq(seed: seed),
  );
  return ffiIdentity.derEncodedPublicKey;
}