publicKey method

SolanaPublicKey publicKey()

Derive the public key associated with the private key.

Implementation

SolanaPublicKey publicKey() {
  return SolanaPublicKey.fromBytes(_privateKey.publicKey.compressed);
}