publicKeyToAddress

Function
Converts a hex-encoded public key into a base58 encoded NEO Address.
export function publicKeyToAddress(publicKey: PublicKeyString): AddressString 

Parameters

publicKey
string
hex-encoded public key

Returns

base58 encoded string that represents a NEO address.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE