Skip to content

Commit c0092d0

Browse files
committed
added contract_en.md
1 parent 87ceb44 commit c0092d0

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/contract_en.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
```

0 commit comments

Comments
 (0)