forked from ProofSuite/amp-dex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
44 lines (43 loc) · 1.17 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
let config = {
infura: {
ethereum: 'https://mainnet.infura.io/Oi27hEUIuGqMsrYGpI7e',
ropsten: 'https://ropsten.infura.io/Oi27hEUIuGqMsrYGpI7e',
rinkeby: 'https://rinkeby.infura.io/Oi27hEUIuGqMsrYGpI7e',
kovan: 'https://kovan.infura.io/Oi27hEUIuGqMsrYGpI7e'
},
constants: {
DEFAULT_GAS: 4.5 * 10 ** 6,
MAX_GAS: 4.5 * 10 ** 6,
DEFAULT_LOW_GAS_PRICE: 0.1 * 10 ** 9,
DEFAULT_GAS_PRICE: 2 * 10 ** 9,
DEFAULT_HIGH_GAS_PRICE: 5 * 10 ** 9,
TOKENS_ALLOCATED_TO_PROOF: 1181031 * (10 ** 18),
DECIMALS_POINTS: 10 ** 18,
TOKEN_UNITS: 10 ** 18,
ETHER: 10 ** 18
},
ipfs: {
PRODUCTION: 'QmUM5eT3vY9NfeJ9JBg8xcrom3jEZ3J86wRtNPsFBJ6QFo',
TESTING_SUCCESS: 'QmVuyH2JtbTguZuC5HsefNBbu8SNSUdq6mrHHDhGeLob3V',
TESTING_FAIL: 'QmUGo9mjcdc232p4YUgGf5mdZ5aAvVrVpp8AXiN4AuvBZd'
},
addresses: {
development: {
WALLET_ADDRESS: '',
TOKEN_WALLET_ADDRESS: ''
},
rinkeby: {
WALLET_ADDRESS: '',
TOKEN_WALLET_ADDRESS: ''
},
ropsten: {
WALLET_ADDRESS: '',
TOKEN_WALLET_ADDRESS: ''
},
ethereum: {
WALLET_ADDRESS: '',
TOKEN_WALLET_ADDRESS: ''
}
}
}
module.exports = config