pubkey property

ECPublicKey get pubkey

The public key associated with this private key

Implementation

ECPublicKey get pubkey => _pubkeyCache ??= ECPublicKey(
  secp256k1.privToPubKey(_data, compressed),
);