Bip86.fromPublicKey constructor

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

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

Implementation

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