-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.js
45 lines (43 loc) · 1015 Bytes
/
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
const HDWalletProvider = require("@truffle/hdwallet-provider");
// require("@nomiclabs/hardhat-waffle");
require("@truffle/hdwallet-provider");
// require("hardhat-deploy");
// require("hardhat-deploy-ethers");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
defaultNetwork: "ropsten",
networks: {
hardhat: {},
ropsten: {
url: "https://ropsten.infura.io/v3/679e629368664df78fb2bdb6826271b7",
accounts: {
mnemonic:
"also alcohol metal point whip emerge science elevator recycle can bundle diesel",
},
gas: 5500000, // Ropsten has a lower block limit than mainnet
skipDryRun: true,
},
},
solidity: {
compilers: [
{
version: "0.8.0",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
//},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts",
},
};