publicKey property

PublicKey publicKey

get the unique public key of the private key on secp256k1 curve

Implementation

PublicKey get publicKey {
  final point = base.getPointByBig(
      D, base.secp256k1.p, base.secp256k1.a, base.secp256k1.G);

  return PublicKey(point[0], point[1]);
}