Install the following two libraries by following their respective instructions. Be aware that snarkjs
should be installed globally.
- circom (a language for writing zero-knowledge proof circuits)
- snarkjs (a JavaScript library for computing zero-knowledge proofs)
Install NPM:
$ cd hardhat
$ pwd
~/hardhat
$ yarn
$ yarn build:circuit
$ cp .env.example .env
$ yarn test