Bip44.fromPrivateKey constructor

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

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

Implementation

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