Bip84.fromPublicKey constructor

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

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

Implementation

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