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

69 lines
2.5 KiB
TypeScript
Raw Normal View History

2019-04-05 11:58:10 +02:00
//
// commons-server connection
//
2019-04-04 12:41:03 +02:00
export const serviceScheme = process.env.SERVICE_SCHEME || 'http'
export const serviceHost = process.env.SERVICE_HOST || 'localhost'
export const servicePort = process.env.SERVICE_PORT || 4000
2019-04-01 16:01:51 +02:00
//
// OCEAN REMOTE CONNECTIONS
//
2019-04-04 12:41:03 +02:00
export const nodeScheme = process.env.NODE_SCHEME || 'https'
export const nodeHost = process.env.NODE_HOST || 'nile.dev-ocean.com'
export const nodePort = process.env.NODE_PORT || 443
2019-01-23 12:15:16 +01:00
2019-04-04 12:41:03 +02:00
export const aquariusScheme = process.env.AQUARIUS_SCHEME || 'https'
export const aquariusHost = process.env.AQUARIUS_HOST || 'nginx-aquarius.dev-ocean.com'
export const aquariusPort = process.env.AQUARIUS_PORT || 443
2019-01-23 12:15:16 +01:00
2019-04-04 12:41:03 +02:00
export const brizoScheme = process.env.BRIZO_SCHEME || 'https'
export const brizoHost = process.env.BRIZO_HOST || 'nginx-brizo.dev-ocean.com'
export const brizoPort = process.env.BRIZO_PORT || 443
export const brizoAddress = process.env.BRIZO_ADDRESS || '0x376817c638d2a04f475a73af37f7b51a2862d567'
2019-01-23 12:15:16 +01:00
2019-04-04 12:41:03 +02:00
export const parityScheme = process.env.PARITY_SCHEME || 'https'
export const parityHost = process.env.PARITY_HOST || 'nile.dev-ocean.com'
export const parityPort = process.env.PARITY_PORT || 443
2019-01-23 12:15:16 +01:00
2019-04-04 12:41:03 +02:00
export const secretStoreScheme = process.env.SECRET_STORE_SCHEME || 'https'
export const secretStoreHost = process.env.SECRET_STORE_HOST || 'secret-store.dev-ocean.com'
export const secretStorePort = process.env.SECRET_STORE_PORT || 443
2019-01-23 12:15:16 +01:00
2019-04-04 12:41:03 +02:00
export const faucetScheme = process.env.FAUCET_SCHEME || 'https'
export const faucetHost = process.env.FAUCET_HOST || 'faucet.nile.dev-ocean.com'
export const faucetPort = process.env.FAUCET_PORT || 443
2019-04-01 16:01:51 +02:00
//
// OCEAN LOCAL CONNECTIONS
// e.g. when running with barge
//
// export const nodeScheme = 'http'
// export const nodeHost = 'localhost'
// export const nodePort = 8545
// export const aquariusScheme = 'http'
// export const aquariusHost = 'aquarius'
// export const aquariusPort = 5000
// export const brizoScheme = 'http'
// export const brizoHost = 'localhost'
// export const brizoPort = 8030
// export const parityScheme = 'http'
// export const parityHost = 'localhost'
// export const parityPort = 8545
// export const threshold = 0
// export const password = 'node0'
// export const address = '0x00bd138abd70e2f00903268f3db08f2d25677c9e'
// export const secretStoreScheme = 'http'
// export const secretStoreHost = 'localhost'
// export const secretStorePort = 12001
2019-01-23 12:15:16 +01:00
2019-04-01 16:01:51 +02:00
// export const faucetScheme = 'http'
// export const faucetHost = 'localhost'
// export const faucetPort = 3001
2019-02-20 15:06:23 +01:00
2019-01-24 17:52:11 +01:00
export const verbose = true
2019-04-04 12:41:03 +02:00