EthPrivateKey.fromHex constructor

EthPrivateKey.fromHex(
  1. String hex
)

Parses a private key from a hexadecimal representation.

Implementation

EthPrivateKey.fromHex(String hex) : this(hexToBytes(hex));