getPubKeyFromPrivateKey function

String getPubKeyFromPrivateKey(
  1. String privateKey
)

publicKey calculation for Zilliqa

Implementation

String getPubKeyFromPrivateKey(String privateKey) {
  BigInt privateKeyBigInt = numbers.hexToInt(privateKey);
  return getPublic(privateKeyBigInt);
}