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

const { ConfigHelper } = require('@oceanprotocol/lib')
const networkConfig = new ConfigHelper().getConfig(
process.env.GATSBY_NETWORK || 'rinkeby'
)
module.exports = {
oceanConfig: {
...networkConfig,
url: `https://rinkeby.infura.io/${process.env.GATSBY_INFURA_PROJECT_ID}`,
verbose: 3
},
// Main, Rinkeby, Kovan
// networks: [1, 4, 42],
networks: [4],
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx',
marketAddress:
process.env.GATSBY_MARKET_ADDRESS ||
'0x36A7f3383A63279cDaF4DfC0F3ABc07d90252C6b'
}