wifToPrivateKey

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

Parameters

wif
string
wallet-import-format (WIF) private key.

Returns

hex-encoded private key.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE