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