-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.js
51 lines (48 loc) · 1.32 KB
/
env.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
48
49
50
51
// const peerPath = `/dns4/localhost/tcp/4003/ws/p2p`;
// const peerId = 'QmcWvt62jXjz3EiF42WfRxkREz2JHSe71hrKjvPzgPN3ux';
// const env = {
// entry: './src/index.eth.http.js',
// officialRemote: 'eth',
// http: {
// host: 'http://localhost:3100/uprtcl/1',
// },
// pinner: {
// url: 'http://localhost:3200',
// Swarm: [],
// Bootstrap: [`${peerPath}/${peerId}`],
// peerMultiaddr: `${peerPath}/${peerId}`,
// },
// ethers: {
// apiKeys: {
// etherscan: '6H4I43M46DJ4IJ9KKR8SFF1MF2TMUQTS2F',
// infura: '73e0929fc849451dae4662585aea9a7b',
// },
// provider: '',
// // provider: 'https://xdai.poanetwork.dev',
// },
// };
const peerPath = `/dns4/pinner.intercreativity.io/tcp/4003/wss/p2p`;
const peerId = 'QmZYVFpmDxv8V2pq8wfEeyZB5GCRz8St9iChjznbRoi4yA';
const env = {
entry: './src/index.eth.orbitdb.js',
officialRemote: 'eth',
http: {
host: 'http://api.intercreativity.io/uprtcl/1',
},
pinner: {
url: 'https://apps.intercreativity.io:3000',
Swarm: [],
Bootstrap: [`${peerPath}/${peerId}`],
peerMultiaddr: `${peerPath}/${peerId}`,
},
ethers: {
apiKeys: {
etherscan: '6H4I43M46DJ4IJ9KKR8SFF1MF2TMUQTS2F',
infura: '73e0929fc849451dae4662585aea9a7b',
},
provider: 'https://xdai.poanetwork.dev',
},
};
module.exports = {
env,
};