KZG setup based on Powers of Tau

This repository provides a way of loading Powers of Tau as KZG setup parameters. It specifically targets the arkworks KZG implementation. Part of this repository is a binary that preprocesses Powers of Tau and produces an arkworks-ready file that is faster to load and more compact since it stores only part of the Powers of Tau parameters.

Two functions are provided:

  • download_kzg_setup: downloads the publicly available preprocessed parameters file, hosted by Anoma.
  • load_kzg_setup: loads the parameters from the parameters file