-
Notifications
You must be signed in to change notification settings - Fork 2
/
hardhat.config.js
112 lines (109 loc) · 3.67 KB
/
hardhat.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
require("@nomiclabs/hardhat-ethers");
require("@nomicfoundation/hardhat-chai-matchers");
require("./tasks.js");
require("dotenv").config();
module.exports = {
networks: {
hardhat: {
},
goerli: {
url: process.env.GOERLI_RPC,
accounts: [process.env.DEPLOYER_KEY]
}
},
solidity: {
compilers: [
{
version: "0.8.17"
},
{
version: "0.6.11"
}
]
},
circom: {
outDir: "artifacts/circom", // relative to root path
verifierOutDir: "verifiers", // relative to sources path
phase1: "circuits/powersOfTau28_hez_final_13.ptau", // relative to root path
options: "--r1cs --wasm",
circuits: {
CreateBitMatrix4x4: {
protocol: "plonk",
version: "2.0.8",
path: "circuits/bitMatrix.circom",
componentName: "CreateBitMatrix",
publicSignals: [],
args: [4, 4]
},
DeconstructBitMatrix4x4: {
protocol: "plonk",
version: "2.0.8",
path: "circuits/bitMatrix.circom",
componentName: "DeconstructBitMatrix",
publicSignals: [],
args: [4, 4]
},
CreateBitMatrix6x4: {
protocol: "plonk",
version: "2.0.8",
path: "circuits/bitMatrix.circom",
componentName: "CreateBitMatrix",
publicSignals: [],
args: [6, 4]
},
DeconstructBitMatrix6x4: {
protocol: "plonk",
version: "2.0.8",
path: "circuits/bitMatrix.circom",
componentName: "DeconstructBitMatrix",
publicSignals: [],
args: [6, 4]
},
Gol4x4: {
protocol: "groth16",
beacon: "0000000000000000000000000000000000000000000000000000000000000000",
version: "2.0.8",
path: "circuits/gol.circom",
componentName: "GoL",
publicSignals: [],
args: [4, 4]
},
Gol3N4x4: {
protocol: "groth16",
beacon: "0000000000000000000000000000000000000000000000000000000000000000",
version: "2.0.8",
path: "circuits/goln.circom",
componentName: "GoLN",
publicSignals: [],
args: [3, 4, 4]
},
Main4x4: {
protocol: "groth16",
beacon: "0000000000000000000000000000000000000000000000000000000000000000",
version: "2.0.8",
path: "circuits/main.circom",
componentName: "Main",
publicSignals: ["address"],
args: [1, 4, 4]
},
Main16x16: {
protocol: "groth16",
beacon: "0000000000000000000000000000000000000000000000000000000000000000",
version: "2.0.8",
path: "circuits/main.circom",
componentName: "Main",
publicSignals: ["address"],
args: [1, 16, 16]
},
Main3N8x8: {
protocol: "groth16",
// beacon: "0000000000000000000000000000000000000000000000000000000000000000",
version: "2.0.8",
path: "circuits/main.circom",
componentName: "Main",
publicSignals: ["address"],
args: [3, 8, 8]
}
}
}
};