privateKeyToWIF

Function
Converts a hex-encoded private key to a wallet-import-format (WIF) private key.
export function privateKeyToWIF(privateKey: PrivateKeyString): string 

Parameters

privateKey
string
hex-encoded private key.

Returns

wallet-import-format (WIF) private key.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE