Secp256k1Private Key
Creates a new Secp256k1PrivateKey with a randomly generated private key.
Default signature scheme is SignatureScheme.Secp256k1.
Parameters
scheme
The signature scheme to use.
Throws
If the signature scheme is not supported.
Creates a new Secp256k1PrivateKey from an encoded private key.
The expected format is a Bech32 encoded private key.
Parameters
private Key
The encoded private key.
Throws
If the private key is invalid.