getPublicKey method

PublicKey getPublicKey([
  1. bool isCompressed = true
])

Make public key from priv

Implementation

PublicKey getPublicKey([bool isCompressed = true]) {
  // 33b or 65b output
  return PublicKey(point.toRawBytes(isCompressed));
}