Cip1852.fromPublicKey constructor
Cip1852.fromPublicKey(
- List<
int> pubkeyBytes, - Cip1852Coins coinType, {
- Bip32KeyData? keyData,
Constructor for creating a Cip1852 object from a public key and coin.
Implementation
Cip1852.fromPublicKey(
List<int> pubkeyBytes,
Cip1852Coins coinType, {
Bip32KeyData? keyData,
}) : super.fromPublicKey(
pubkeyBytes,
coinType.conf,
keyData:
keyData ??
Bip32KeyData(depth: Bip32Depth(Bip44Levels.account.value)),
);