fromPrivateKey
scrypt-ts-opcat / PublicKey / fromPrivateKey
Function: fromPrivateKey()
fromPrivateKey(
privkey
):PublicKey
Defined in: node_modules/@opcat-labs/opcat/types/publickey.d.cts:165
Instantiate a PublicKey from a PrivateKey
Parameters
privkey
PrivateKey
An instance of PrivateKey
Returns
A new valid instance of PublicKey