In this project we illustrated how zksnarks works, with the help of two examples. In polynomial-circuit we illustrated a simple quadratic ciruit and in hash-function we illustrated a complex hash-function.
- Install nodejs.
- Install snarkjs
npm install -g snarkjs
- Install Circom
npm install -g circom
If you have git install then
git clone https://github.com/ashutoshkush81/zksnarks
or goto https://github.com/ashutoshkush81/zksnarks and download the repo.