forked from sarbogast/ethereum-cv
-
Notifications
You must be signed in to change notification settings - Fork 2
/
truffle.js
25 lines (24 loc) · 889 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
// Allows us to use ES6 in our migrations and tests.
require('babel-register')
module.exports = {
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '*' // Match any network id
},
live: {
host: 'localhost', // Random IP for example purposes (do not use)
port: 8545,
network_id: 1, // Ethereum public network
from: '0x1494cb5f7ad7b09e9daf1ffa3070e69ae936ca0e',
gas: 2000000
// optional config values:
// gas
// gasPrice
// from - default address to use for any transaction Truffle makes during migrations
// provider - web3 provider instance Truffle should use to talk to the Ethereum network.
// - if specified, host and port are ignored.
}
}
}