forked from trusttoken/contracts-pre22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
31 lines (29 loc) · 850 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
var HDWalletProvider = require("truffle-hdwallet-provider");
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
gas: 5500000,
network_id: "*" // Match any network id
},
ropsten: {
provider: new HDWalletProvider(process.env.MNEMONIC, "https://ropsten.infura.io/"),
network_id: "3",
gas: 5500000,
gasPrice: 22000000000 // Specified in Wei
},
rinkeby: {
provider: new HDWalletProvider(process.env.MNEMONIC, "https://rinkeby.infura.io/"),
network_id: "4",
gas: 5500000,
gasPrice: 22000000000 // Specified in Wei
},
production: {
provider: new HDWalletProvider(process.env.MNEMONIC, "https://mainnet.infura.io/dYWKKqsJkbv9cZlQFEpI "),
network_id: "1",
gas: 5500000,
gasPrice: 8000000000
},
}
};