-
Notifications
You must be signed in to change notification settings - Fork 15
/
hardhat.config.ts
47 lines (43 loc) · 1.12 KB
/
hardhat.config.ts
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
import "@nomicfoundation/hardhat-ethers";
import "@nomicfoundation/hardhat-toolbox";
import "tsconfig-paths/register";
import "@solarity/hardhat-zkit";
import "@solarity/chai-zkit";
import { HardhatUserConfig } from "hardhat/config";
const config: HardhatUserConfig = {
networks: {
hardhat: {
initialDate: "1970-01-01T00:00:00Z",
},
},
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
evmVersion: "paris",
},
},
zkit: {
circuitsDir: "test/circuits",
compilationSettings: {
c: true,
onlyFiles: ["queryIdentity.circom", "queryIdentityTD1.circom", "registerIdentity_1_256_3_4_600_248_1_1496_3_256.circom"],
skipFiles: []
},
setupSettings: {
ptauDir: "zkit/ptau",
onlyFiles: ["queryIdentity.circom", "queryIdentityTD1.circom", "registerIdentity_1_256_3_4_600_248_1_1496_3_256.circom"],
skipFiles: []
},
},
typechain: {
outDir: "generated-types/ethers",
target: "ethers-v6",
alwaysGenerateOverloads: true,
discriminateTypes: true,
},
};
export default config;