Create a new PrivateKey instance from a Uint8Array or String.
A HexInput (string or Uint8Array)
Derive the Secp256k1PublicKey from this private key.
Secp256k1PublicKey
Sign the given message with the private key.
Note: signatures are canonical, and non-malleable
a message as a string or Uint8Array
Signature
Static
deserializeStatic
fromDerives a private key from a mnemonic seed phrase.
the BIP44 path
the mnemonic seed phrase
The generated key
Static
generateGenerate a new random private key.
Secp256k1PrivateKey
Static
is
A Secp256k1 ecdsa private key