You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import breezeOptions, {RENDEZVOUS_URL} from 'concordia-app/src/options/breezeOptions';
|
|
|
|
import { WEB3_HOST_DEFAULT, WEB3_PORT_DEFAULT } from 'concordia-app/src/constants/configuration/defaults';
|
|
|
|
const { WEB3_HOST, WEB3_PORT } = process.env;
|
|
|
|
|
|
|
|
const API_PORT = process.env.PINNER_API_PORT || 4444;
|
|
|
|
|
|
|
|
const WEB3_PROVIDER_URL = (WEB3_HOST !== undefined && WEB3_PORT !== undefined)
|
|
|
|
? `ws://${WEB3_HOST}:${WEB3_PORT}`
|
|
|
|
: `ws://${WEB3_HOST_DEFAULT}:${WEB3_PORT_DEFAULT}`;
|
|
|
|
|
|
|
|
export const swarmAddresses = breezeOptions.ipfs.config.Addresses.Swarm;
|
|
|
|
|
|
|
|
export {API_PORT, WEB3_PROVIDER_URL, RENDEZVOUS_URL};
|