-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.js
More file actions
41 lines (33 loc) · 1013 Bytes
/
config.js
File metadata and controls
41 lines (33 loc) · 1013 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const networks = {
local: {
name: 'local',
contract: 'ordersbook',
chainId: 'cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f',
host: 'http://localhost:8888',
port: 8888,
protocol: 'http',
monitor: 'https://jungle.eosx.io',
lightapi: 'https://lightapi.eosgeneva.io',
},
jungle: {
name: 'jungle',
contract: 'avralsjungle',
chainId: 'e70aaab8997e1dfce58fbfac80cbbb8fecec7b99cf982a9444273cbc64c41473',
host: 'https://api.jungle.alohaeos.com',
port: 443,
protocol: 'https',
monitor: 'https://jungle.eosx.io',
lightapi: 'https://lightapi.eosgeneva.io',
},
eos: {
name: 'eos',
contract: 'wwweosswapio',
chainId: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906',
host: 'https://api.main.alohaeos.com:443',
port: 443,
protocol: 'https',
monitor: 'https://eosx.io',
lightapi: 'https://api.light.xeos.me',
}
}
export default networks[process.env.NETWORK] || networks.local