fromString
scrypt-ts-opcat / HDPrivateKey / fromString
Function: fromString()
fromString(
arg
):HDPrivateKey
Defined in: node_modules/@opcat-labs/opcat/types/hdprivatekey.d.cts:192
Creates an HDPrivateKey instance from a string representation.
Parameters
arg
string
The string to convert to an HDPrivateKey
Returns
A new HDPrivateKey instance
Throws
If the input is not a valid string