This is a Javascript implementation of KZG (Kate-Zaverucha-Goldberg) Polynomial Commiment scheme basic study. It uses the bn128 pairing-friendly elliptic curve of prime order.
Please note that this repository is intended for study and experimental purposes only. It is not meant to be used in a production environment. The code provided here may not have undergone thorough testing, and it may contain bugs or security vulnerabilities.
This study is released under the MIT License. Please review the license file for more details.
Before running the tests, you need to create a tmp
folder in the root of the repository. Then, you need to download the powersOfTau28_hez_final_11.ptau
file from this link and place it in the tmp
folder.