ETHPublicKey constructor

ETHPublicKey(
  1. String pubHex
)

Creates an ETHPublicKey instance from a hexadecimal public key string.

Implementation

factory ETHPublicKey(String pubHex) {
  return ETHPublicKey.fromBytes(BytesUtils.fromHexString(pubHex));
}