ETHPrivateKey constructor
ETHPrivateKey(
- String privateKeyHex
Creates an ETHPrivateKey instance from a hexadecimal private key string.
Implementation
factory ETHPrivateKey(String privateKeyHex) {
return ETHPrivateKey.fromBytes(BytesUtils.fromHexString(privateKeyHex));
}