Bip49.fromPrivateKey constructor

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

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

Implementation

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