Cip1852.fromPrivateKey constructor

Cip1852.fromPrivateKey(
  1. List<int> privateKeyBytes,
  2. Cip1852Coins coinType, {
  3. Bip32KeyData? keyData,
})

Constructor for creating a Cip1852 object from a private key and coin.

Implementation

Cip1852.fromPrivateKey(List<int> privateKeyBytes, Cip1852Coins coinType,
    {Bip32KeyData? keyData})
    : super.fromPrivateKey(privateKeyBytes, coinType.conf,
          keyData: keyData ?? Bip32KeyData());