AdaPrivateKey.fromHex constructor

AdaPrivateKey.fromHex(
  1. String privateKeyHex
)

Constructs an AdaPrivateKey from the hexadecimal representation privateKeyHex.

Implementation

factory AdaPrivateKey.fromHex(String privateKeyHex) {
  return AdaPrivateKey.fromBytes(BytesUtils.fromHexString(privateKeyHex));
}