2021-04-30 17:15:30 +03:00
|
|
|
import config from 'src/app.json';
|
2021-02-24 21:05:20 +03:00
|
|
|
import { testNet } from '@fluencelabs/fluence-network-environment';
|
2021-01-12 13:58:40 +03:00
|
|
|
|
2020-12-25 02:00:46 +03:00
|
|
|
export const fluentPadServiceId = 'fluence/fluent-pad';
|
2021-01-08 19:07:40 +03:00
|
|
|
|
2021-01-14 03:15:07 +03:00
|
|
|
export const notifyOnlineFnName = 'notifyOnline';
|
|
|
|
export const notifyUserAddedFnName = 'notifyUserAdded';
|
|
|
|
export const notifyUserRemovedFnName = 'notifyUserRemoved';
|
2021-01-14 13:17:48 +03:00
|
|
|
export const notifyTextUpdateFnName = 'notifyTextUpdate';
|
2021-01-14 03:15:07 +03:00
|
|
|
|
2021-04-30 17:15:30 +03:00
|
|
|
export const userList = {
|
|
|
|
peer_id: config.services.user_list.node,
|
|
|
|
service_id: config.services.user_list.id,
|
|
|
|
};
|
|
|
|
|
|
|
|
export const history = {
|
|
|
|
peer_id: config.services.history.node,
|
|
|
|
service_id: config.services.history.id,
|
|
|
|
};
|
2021-01-12 13:58:40 +03:00
|
|
|
|
2021-04-30 17:15:30 +03:00
|
|
|
export const fluentPadApp = {
|
|
|
|
user_list: userList,
|
|
|
|
history: history,
|
|
|
|
};
|
2021-01-16 13:24:26 +03:00
|
|
|
|
2021-04-30 17:15:30 +03:00
|
|
|
// export const relayNode = testNet[0];
|
|
|
|
export const relayNode = {
|
|
|
|
multiaddr: '/ip4/127.0.0.1/tcp/4310/ws/p2p/12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
|
|
|
|
peerId: '12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
|
|
|
|
};
|