2019-04-05 11:58:10 +02:00
|
|
|
//
|
|
|
|
// commons-server connection
|
|
|
|
//
|
2019-06-12 03:14:24 +02:00
|
|
|
export const serviceUri =
|
|
|
|
process.env.REACT_APP_SERVICE_URI || 'http://localhost:4000'
|
2019-03-07 14:41:27 +01:00
|
|
|
|
2019-04-01 16:01:51 +02:00
|
|
|
//
|
|
|
|
// OCEAN REMOTE CONNECTIONS
|
|
|
|
//
|
2019-06-12 03:14:24 +02:00
|
|
|
export const nodeUri =
|
2019-06-25 13:57:18 +02:00
|
|
|
process.env.REACT_APP_NODE_URI || 'https://pacific.oceanprotocol.com'
|
2019-06-12 03:14:24 +02:00
|
|
|
export const aquariusUri =
|
2019-06-25 13:57:18 +02:00
|
|
|
process.env.REACT_APP_AQUARIUS_URI ||
|
2019-06-27 22:23:31 +02:00
|
|
|
'https://aquarius.commons.oceanprotocol.com'
|
2019-06-12 03:14:24 +02:00
|
|
|
export const brizoUri =
|
2019-06-27 22:23:31 +02:00
|
|
|
process.env.REACT_APP_BRIZO_URI || 'https://brizo.commons.oceanprotocol.com'
|
2019-04-08 10:44:03 +02:00
|
|
|
export const brizoAddress =
|
|
|
|
process.env.REACT_APP_BRIZO_ADDRESS ||
|
2019-06-25 13:57:18 +02:00
|
|
|
'0x008c25ed3594e094db4592f4115d5fa74c4f41ea'
|
2019-06-12 03:14:24 +02:00
|
|
|
export const secretStoreUri =
|
|
|
|
process.env.REACT_APP_SECRET_STORE_URI ||
|
2019-06-27 22:23:31 +02:00
|
|
|
'https://secret-store.oceanprotocol.com'
|
2019-06-12 03:14:24 +02:00
|
|
|
export const faucetUri =
|
2019-06-27 22:23:31 +02:00
|
|
|
process.env.REACT_APP_FAUCET_URI || 'https://faucet.oceanprotocol.com'
|
2019-04-08 19:54:18 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// APP CONFIG
|
|
|
|
//
|
2019-06-12 03:14:24 +02:00
|
|
|
export const verbose = true
|
2019-04-08 19:54:18 +02:00
|
|
|
export const analyticsId = 'UA-60614729-11'
|
2019-10-10 11:31:36 +02:00
|
|
|
|
|
|
|
export const showChannels =
|
|
|
|
process.env.REACT_APP_SHOW_CHANNELS === 'true' || false
|
|
|
|
export const allowPricing =
|
|
|
|
process.env.REACT_APP_ALLOW_PRICING === 'true' || false
|
2019-10-07 14:25:42 +02:00
|
|
|
export const showRequestTokens =
|
2019-10-10 11:31:36 +02:00
|
|
|
process.env.REACT_APP_SHOW_REQUEST_TOKENS_BUTTON === 'true' || false
|
2019-09-09 22:23:29 +02:00
|
|
|
// https://ipfs.github.io/public-gateway-checker/
|
|
|
|
export const ipfsGatewayUri =
|
|
|
|
process.env.REACT_APP_IPFS_GATEWAY_URI || 'https://gateway.ipfs.io'
|
2019-09-24 12:20:08 +02:00
|
|
|
export const ipfsNodeUri =
|
|
|
|
process.env.REACT_APP_IPFS_NODE_URI || 'https://ipfs.infura.io:5001'
|