getPublicKey static method

String getPublicKey(
  1. String privateKey
)

privateKey is a 32-bytes hex-encoded string returns the public key in form of 32-bytes hex-encoded string

Implementation

static String getPublicKey(String privateKey) {
  return bip340.getPublicKey(privateKey);
}