Bip84.fromPrivateKey constructor

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

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

Implementation

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