TronPrivateKey constructor
TronPrivateKey(
- String privateKeyHex
Factory method to create a TronPrivateKey from a hexadecimal private key string
Implementation
factory TronPrivateKey(String privateKeyHex) {
return TronPrivateKey.fromBytes(BytesUtils.fromHexString(privateKeyHex));
}