Simple project π to demonstrate π¨βπ¬ zk-Snark using zokrates-js. Zero-Knowledege proof - proving something without revealing the answerπ§Ύ.
In others words,
I know a in f(a, b) = c
npm i
1.Generate proof and verifier contracts for the program in /zok-src
npx hardhat run scripts/generate-proof.js
2.Deploy contract on chain using deploy.js
npx hardhat run scripts/deploy.js
npm test