secp256k1 static method

String secp256k1(
  1. String privateKey
)

Implementation

static String secp256k1(String privateKey) {
  var pk = lib_secp256k1.PrivateKey.fromHex(privateKey);
  return pk.publicKey.toHex();
}