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',
|
2020-08-05 15:32:55 +02:00
|
|
|
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx',
|
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',
|
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
|
|
|
|
portisId: process.env.GATSBY_PORTIS_ID || 'xxx'
|
2020-07-08 15:15:02 +02:00
|
|
|
}
|