forked from SpartanLabsXyz/zk-sbt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
54 lines (53 loc) · 1.13 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
require("hardhat-circom");
require('@openzeppelin/hardhat-upgrades');
require('dotenv').config();
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
compilers: [
{
version: "0.6.11",
},
{
version: "0.8.9",
},
],
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
gasReporter: {
currency: "USD",
coinmarketcap: process.env.COINMARKETCAP || null,
enabled: true,
},
networks: {
goerli: {
url: "https://goerli.infura.io/v3/460f40a260564ac4a4f4b3fffb032dad", // <----
chainId: 5,
accounts: [process.env.PRIVATE_KEY],
}
},
circom: {
inputBasePath: "./circuits",
ptau: "https://hermezptau.blob.core.windows.net/ptau/powersOfTau28_hez_final_15.ptau",
circuits: [
{
name: "division",
// No protocol, so it defaults to groth16
},
{
name: "simple-polynomial",
// Generate PLONK
protocol: "plonk",
},
{
name: "hash",
// Explicitly generate groth16
protocol: "groth16",
},
],
},
};