-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtruffle.js
More file actions
26 lines (25 loc) · 876 Bytes
/
truffle.js
File metadata and controls
26 lines (25 loc) · 876 Bytes
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
require('babel-register');
require('babel-polyfill');
const Provider = require('./helpers/Provider');
const ProviderRopsten = Provider.createRopstenNetwork("type here your private key from owner address");
const ProviderMain = Provider.createMainNetwork("type here your private key from owner address");
const ProviderTestRpc = Provider.createTestRpcNetwork("type here your private key from owner address");
module.exports = {
networks: {
ropsten: ProviderRopsten.getNetwork(),
mainnet: ProviderMain.getNetwork(),
testrpc: ProviderTestRpc.getNetwork(),
development: {
host: "localhost",
port: 9545,
network_id: "*",
gas: 8000000
},
coverage: {
host: "localhost",
port: 8555,
network_id: "*",
gas: 0xffffffff
}
}
};