-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhardhat.config.js
More file actions
39 lines (36 loc) · 947 Bytes
/
hardhat.config.js
File metadata and controls
39 lines (36 loc) · 947 Bytes
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
require("@nomiclabs/hardhat-waffle");
require("@tenderly/hardhat-tenderly");
require("hardhat-gas-reporter");
require("solidity-coverage");
require("./tasks");
require("dotenv").config();
// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: "0.8.4",
defaultNetwork: "hardhat",
networks: {
local: {
url: "http://127.0.0.1:8545",
},
rinkeby: {
url: `${process.env.RINKEBY_NODE_URL}`,
accounts: [`0x${process.env.PRIVATE_KEY}`],
},
kovan: {
url: `${process.env.KOVAN_NODE_URL}`,
accounts: [`0x${process.env.PRIVATE_KEY}`],
}
},
tenderly: {
username: `${process.env.TENDERLY_USERNAME}`,
project: `${process.env.TENDERLY_PROJECT_NAME}`,
},
gasReporter: {
currency: "USD",
enabled: process.env.REPORT_GAS === "true",
},
};