Secp256k1Signer.fromKeyBytes constructor

Secp256k1Signer.fromKeyBytes(
  1. List<int> keyBytes
)

Factory method to create a Secp256k1Signer from a byte representation of a private key.

Implementation

factory Secp256k1Signer.fromKeyBytes(List<int> keyBytes) {
  return Secp256k1Signer._(Secp256k1SigningKey.fromBytes(keyBytes: keyBytes));
}