1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/app.config.js

21 lines
554 B
JavaScript
Raw Normal View History

2020-07-20 17:04:38 +02:00
const { ConfigHelper } = require('@oceanprotocol/lib')
const networkConfig = new ConfigHelper().getConfig(
process.env.GATSBY_NETWORK || 'rinkeby'
)
2020-07-08 15:15:02 +02:00
module.exports = {
oceanConfig: {
2020-07-20 17:04:38 +02:00
...networkConfig,
url: `https://rinkeby.infura.io/${process.env.GATSBY_INFURA_PROJECT_ID}`,
2020-07-08 15:15:02 +02:00
verbose: 3
2020-07-14 17:41:45 +02:00
},
// Main, Rinkeby, Kovan
2020-07-15 21:19:26 +02:00
// networks: [1, 4, 42],
networks: [4],
2020-07-16 14:54:12 +02:00
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx',
marketAddress:
process.env.GATSBY_MARKET_ADDRESS ||
2020-07-16 15:27:57 +02:00
'0x36A7f3383A63279cDaF4DfC0F3ABc07d90252C6b'
2020-07-08 15:15:02 +02:00
}