TronPrivateKey constructor

TronPrivateKey(
  1. 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));
}