File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Setting Up Contract Development Environment (Until Test Code Execution)
2+
3+ ## Installing Necessary Libraries
4+
5+ Install the following two libraries by following their respective instructions. Be aware that ` snarkjs ` should be installed globally.
6+
7+ 1 . [ circom (a language for writing zero-knowledge proof circuits)] ( https://docs.circom.io/getting-started/installation/ )
8+ 2 . [ snarkjs (a JavaScript library for computing zero-knowledge proofs)] ( https://www.npmjs.com/package/snarkjs )
9+
10+ Install NPM:
11+
12+ ``` shell
13+ $ cd hardhat
14+ $ pwd
15+ ~ /hardhat
16+ $ yarn
17+ ```
18+
19+ ## Building the Zero-Knowledge Proof Circuit
20+
21+ ```
22+ $ yarn build:circuit
23+ ```
24+
25+ ## Setting Up .env
26+
27+ ```
28+ $ cp .env.example .env
29+ ```
30+
31+ ## Compilation and Test Execution
32+
33+ ```
34+ $ yarn test
35+ ```
You can’t perform that action at this time.
0 commit comments