privateKeyToPublicKey

Function
Converts a hex-encoded private key to a hex-encoded public key.
export function privateKeyToPublicKey(privateKey: PrivateKeyString): PublicKeyString 

Parameters

privateKey
string
hex-encoded private key.

Returns

hex-encoded public key