createPublicKey static method

String createPublicKey(
  1. String privateKey
)

Implementation

static String createPublicKey(String privateKey) {
  assert(NanoSeeds.isValidSeed(privateKey));
  return NanoHelpers.byteToHex(
      Ed25519Blake2b.getPubkey(NanoHelpers.hexToBytes(privateKey))!);
}