forked from GetDala/dala-smart-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
43 lines (42 loc) · 1.15 KB
/
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
43
const mnemonic = require('./secret').mnemonic;
const HDWalletProvider = require("truffle-hdwallet-provider");
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
gas: 4500000,
network_id: "*" // Match any network id,
},
ropsten: {
host: "localhost",
port: 8545,
from: '0x69b3bb7355d49ec0cb8503ff449f8758d7866733',
network_id: "*" // Match any network id,
},
mainnet: {
host: "localhost",
port: 8545,
from: '0x77aff9081ff30cc8c2aec665e331c25c0260b516',
network_id: "*"
},
infuraropsten: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://ropsten.infura.io/G2bbwcegsuLDEAnhkd2n")
},
from: '0x69b3bb7355d49ec0cb8503ff449f8758d7866733',
gasPrice: 10000000000,
gas: 4500000,
network_id: 3
},
infuramainnet: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://mainnet.infura.io/G2bbwcegsuLDEAnhkd2n")
},
network_id: 1,
gasPrice: 25000000000,
gas: 4500000,
from: '0x69b3bb7355d49ec0cb8503ff449f8758d7866733'
}
}
};