ETHSigner.fromKeyBytes constructor

ETHSigner.fromKeyBytes(
  1. List<int> keyBytes
)

Factory method to create an ETHSigner from a byte representation of a private key.

Implementation

factory ETHSigner.fromKeyBytes(List<int> keyBytes) {
  return ETHSigner._(Secp256k1SigningKey.fromBytes(keyBytes: keyBytes));
}