1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/client/src/config.ts

35 lines
1.1 KiB
TypeScript
Raw Normal View History

2019-04-05 11:58:10 +02:00
//
// commons-server connection
//
export const serviceUri =
process.env.REACT_APP_SERVICE_URI || 'http://localhost:4000'
2019-04-01 16:01:51 +02:00
//
// OCEAN REMOTE CONNECTIONS
//
export const nodeUri =
2019-06-25 13:57:18 +02:00
process.env.REACT_APP_NODE_URI || 'https://pacific.oceanprotocol.com'
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'
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'
export const secretStoreUri =
process.env.REACT_APP_SECRET_STORE_URI ||
2019-06-27 22:23:31 +02:00
'https://secret-store.oceanprotocol.com'
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
//
export const verbose = true
2019-04-08 19:54:18 +02:00
export const analyticsId = 'UA-60614729-11'
2019-10-10 11:19:36 +02:00
export const showChannels = process.env.REACT_APP_SHOW_CHANNELS || false
2019-07-24 16:18:56 +02:00
export const allowPricing = process.env.REACT_APP_ALLOW_PRICING || false
2019-10-07 14:25:42 +02:00
export const showRequestTokens =
process.env.REACT_APP_SHOW_REQUEST_TOKENS_BUTTON || false