Create a new [PrivateKey] from a hex-encoded string.
Get the [Address] of the PublicKey generated from this PrivateKey.
Receives a NetworkType
to determine the prefix of the address.
JavaScript: let address = privateKey.toAddress(NetworkType.MAINNET);.
Get ECDSA [Address] of the PublicKey generated from this PrivateKey.
Receives a NetworkType
to determine the prefix of the address.
JavaScript: let address = privateKey.toAddress(NetworkType.MAINNET);.
Generated using TypeDoc
Data structure that envelops a Private Key.