Bip44.fromPublicKey constructor

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

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

Implementation

Bip44.fromPublicKey(
  List<int> pubkeyBytes,
  Bip44Coins coinType, {
  Bip32KeyData? keyData,
}) : super.fromPublicKey(
       pubkeyBytes,
       coinType.conf,
       keyData:
           keyData ??
           Bip32KeyData(depth: Bip32Depth(Bip44Levels.account.value)),
     );