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