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
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE