-
Notifications
You must be signed in to change notification settings - Fork 7
/
flattened-config.js
55 lines (55 loc) · 1.21 KB
/
flattened-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
module.exports = {
contracts_directory: "./contracts/flattened/",
networks: {
test: {
provider: require("ganache-cli").provider({ gasLimit: 100000000, seed: 1234 }),
network_id: "*",
},
development: {
provider: require("ganache-cli").provider({ gasLimit: 100000000, seed: 1234 }),
network_id: "*",
},
ropsten: {
network_id: 3,
host: "localhost",
port: 8543,
},
rinkeby: {
network_id: 4,
host: "localhost",
port: 8544,
},
goerli: {
network_id: 5,
host: "localhost",
port: 8545,
},
kovan: {
network_id: 42,
host: "localhost",
port: 8542,
},
},
// Set default mocha options here, use special reporters etc.
mocha: {
// timeout: 100000
},
// Configure your compilers
compilers: {
solc: {
version: "0.6.12", // Fetch exact version from solc-bin (default: truffle's version)
settings: { // See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: true,
runs: 200,
},
},
},
},
plugins: [
"truffle-verify",
],
api_keys: {
etherscan: process.env.ETHERSCAN_API_KEY,
},
}