1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-16 02:04:54 +01:00
market/app.config.js

25 lines
474 B
JavaScript

const { ConfigHelper } = require('@oceanprotocol/lib')
const network = process.env.GATSBY_NETWORK || 'rinkeby'
function getDefaultOceanConfig() {
return new ConfigHelper().getConfig(
network,
process.env.GATSBY_INFURA_PROJECT_ID
)
}
const appConfig = {
oceanConfig: {
...getDefaultOceanConfig(),
verbose: 3
},
network,
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx'
}
module.exports = {
getDefaultOceanConfig,
appConfig
}