CosmosNist256p1Signer.fromKeyBytes constructor
Factory method to create a CosmosNist256p1Signer from a byte representation of a private key.
Implementation
factory CosmosNist256p1Signer.fromKeyBytes(List<int> keyBytes) {
final signingKey =
ECDSAPrivateKey.fromBytes(keyBytes, _NistSignerConst.nist256256);
return CosmosNist256p1Signer._(EcdsaSigningKey(signingKey));
}