EthPrivateKey.fromInt constructor

EthPrivateKey.fromInt(
  1. BigInt privateKeyInt
)

Creates a private key from the underlying number.

Implementation

EthPrivateKey.fromInt(this.privateKeyInt)
    : privateKey = unsignedIntToBytes(privateKeyInt);