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

43 lines
1.4 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'
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 =
process.env.REACT_APP_SHOW_REQUEST_TOKENS_BUTTON === 'true' || false
// 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'