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