BIP32.fromPublicKey constructor
Implementation
factory BIP32.fromPublicKey(Uint8List publicKey, Uint8List chainCode, [NetworkType? nw]) {
NetworkType network = nw ?? _finalBitcoin;
if (!ecc.isPoint(publicKey)) {
throw ArgumentError("Point is not on the curve");
}
return BIP32(null, publicKey, chainCode, network);
}