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