encodeBip44Fvk static method

List<int> encodeBip44Fvk(
  1. Bip32Slip10Secp256k1 bip32
)

Implementation

static List<int> encodeBip44Fvk(Bip32Slip10Secp256k1 bip32) {
  assert(bip32.curveType == EllipticCurveTypes.secp256k1);
  return [...bip32.chainCode.toBytes(), ...bip32.publicKey.compressed];
}