2020-08-07 10:17:06 +02:00
|
|
|
module.exports = {
|
2020-10-23 13:01:29 +02:00
|
|
|
// The default network and its associated config the app should connect to
|
|
|
|
// on start. App will automatically switch network configs when user switches
|
|
|
|
// networks in their wallet.
|
|
|
|
// Ocean Protocol contracts are deployed for: 'mainnet', 'rinkeby', 'development'
|
2020-11-20 14:31:28 +01:00
|
|
|
network: process.env.GATSBY_NETWORK || 'mainnet',
|
2021-06-10 11:06:26 +02:00
|
|
|
rbacUrl: process.env.GATSBY_RBAC_URL,
|
2021-03-04 18:16:20 +01:00
|
|
|
|
2020-08-05 15:32:55 +02:00
|
|
|
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx',
|
2021-03-04 18:16:20 +01:00
|
|
|
|
2020-10-09 21:31:57 +02:00
|
|
|
// The ETH address the marketplace fee will be sent to.
|
2020-08-06 14:39:56 +02:00
|
|
|
marketFeeAddress:
|
|
|
|
process.env.GATSBY_MARKET_FEE_ADDRESS ||
|
|
|
|
'0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7',
|
2021-03-04 18:16:20 +01:00
|
|
|
|
2020-09-10 14:21:10 +02:00
|
|
|
// Used for conversion display, can be whatever coingecko API supports
|
|
|
|
// see: https://api.coingecko.com/api/v3/simple/supported_vs_currencies
|
2020-10-31 20:18:45 +01:00
|
|
|
currencies: [
|
|
|
|
'EUR',
|
|
|
|
'USD',
|
|
|
|
'CAD',
|
|
|
|
'GBP',
|
|
|
|
'SGD',
|
|
|
|
'HKD',
|
|
|
|
'CNY',
|
|
|
|
'JPY',
|
|
|
|
'INR',
|
|
|
|
'RUB',
|
|
|
|
'ETH',
|
|
|
|
'BTC',
|
|
|
|
'LINK'
|
|
|
|
],
|
2020-10-30 21:28:20 +01:00
|
|
|
|
|
|
|
// Config for https://github.com/donavon/use-dark-mode
|
|
|
|
darkModeConfig: {
|
|
|
|
classNameDark: 'dark',
|
|
|
|
classNameLight: 'light',
|
|
|
|
storageKey: 'oceanDarkMode'
|
2021-01-29 13:40:54 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
// Wallets
|
2021-03-24 13:27:32 +01:00
|
|
|
portisId: process.env.GATSBY_PORTIS_ID || 'xxx',
|
|
|
|
|
2021-06-16 03:32:11 +02:00
|
|
|
// Used to show or hide the fixed, dynamic or free price options
|
2021-03-24 13:27:32 +01:00
|
|
|
// tab to publishers during the price creation.
|
|
|
|
allowFixedPricing: process.env.GATSBY_ALLOW_FIXED_PRICING || 'true',
|
2021-06-14 09:47:31 +02:00
|
|
|
allowDynamicPricing: process.env.GATSBY_ALLOW_DYNAMIC_PRICING || 'true',
|
2021-06-16 03:32:11 +02:00
|
|
|
allowFreePricing: process.env.GATSBY_ALLOW_FREE_PRICING || 'false',
|
2021-06-14 09:47:31 +02:00
|
|
|
|
|
|
|
// Used to show or hide advanced settings button in asset details page
|
|
|
|
allowAdvancedSettings: process.env.GATSBY_ALLOW_ADVANCED_SETTINGS || 'false',
|
|
|
|
credentialType: process.env.GATSBY_CREDENTIAL_TYPE || 'address'
|
2020-07-08 15:15:02 +02:00
|
|
|
}
|