-
Notifications
You must be signed in to change notification settings - Fork 5
/
truffle.js
42 lines (41 loc) · 1023 Bytes
/
truffle.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
const HDWalletProvider = require("truffle-hdwallet-provider");
module.exports = {
plugins: ["solidity-coverage"],
compilers:{
solc: {
version:"0.5.16",
optimizer: {
enabled: true,
runs: 200,
},
evmVersion: "istanbul",
}
},
deploy: {
StormToken: false,
StormXToken: false,
Swap: false,
Transfers: false
},
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*", // Match any network id
gas: 0xffffffffff,
gasPrice: 1000000000
},
ropsten: {
provider: function() {
const credentials = require("./credentials.js");
return new HDWalletProvider(credentials.mnemonic, `https://ropsten.infura.io/v3/${credentials.infura_apikey}`);
},
network_id: 3,
gas: 6712388,
gasPrice: 180000000000,
account: "0xb6EE73c5417559ad633bd14a1DFF6eb7b1B4F932",
reserve: "0xb6EE73c5417559ad633bd14a1DFF6eb7b1B4F932",
skipDryRun: true,
}
}
};