-
Notifications
You must be signed in to change notification settings - Fork 0
/
lithium.js
47 lines (43 loc) · 1.16 KB
/
lithium.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
44
45
46
47
'use strict'
const Web3 = require('web3')
const testWeb3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'))
require('dotenv').config()
const devKey = process.env['DEVELOPMENT_PKEY']
const testBroker = testWeb3.eth.coinbase
module.exports = {
deploy: [
'Depay'
],
networks: {
test: {
web3: testWeb3
},
development: {
web3: testWeb3,
url: 'http://localhost:8545',
txOptions: {
gas: 6000000,
gasPrice: 20e9,
from: testWeb3.eth.coinbase
}
},
kovan: {
privateKey: devKey,
url: process.env['DEPLOY_KEY'],
txOptions: {
gas: 6500000,
gasPrice: 30e9,
from: '0x2cE8525bFb35fd3959FBe0E37b77Fd5D69Db45AE'
}
},
main: {
privateKey: process.env['DEPLOY_KEY'],
url: process.env['MAIN_URL'],
txOptions: {
gas: 4000000,
gasPrice: 10e9,
from: '0x2cE8525bFb35fd3959FBe0E37b77Fd5D69Db45AE'
}
}
}
}