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
StaticdeserializeStaticfromDerives a private key from a mnemonic seed phrase.
the BIP44 path
the mnemonic seed phrase
The generated key
StaticgenerateGenerate a new random private key.
Secp256k1PrivateKey
Staticis
A Secp256k1 ecdsa private key