CosmosETHSecp256k1Signer.fromKeyBytes constructor

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

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

Implementation

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