forked from oodrive/open-rdays-eurobillion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
32 lines (29 loc) · 913 Bytes
/
truffle-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
var HDWalletProvider = require("truffle-hdwallet-provider");
// WARNING : never put your production mnemonic!
const MNEMONIC = 'holiday world hat parade forum february lab sibling barely curtain buddy bamboo';
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// for more about customizing your Truffle configuration!
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*" // Match any network id
},
ropsten: {
provider: function() {
return new HDWalletProvider(MNEMONIC, "https://ropsten.infura.io/dda0abb6385e4156ae075fe1ef151ca9")
},
network_id: 3,
gas: 8000000,
gasPrice: 200000000000,
skipDryRun: true,
websockets: true
}
},
compilers: {
solc: {
version: "0.4.26" // ex: "0.4.20". (Default: Truffle's installed solc)
}
}
};