mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
b5a11d6d0f
* fix price refresh, add AssetProvider Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * price comment Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * fix trade Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * fix trade Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * fix pool liquidity Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * fix AssetProvider Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * fix Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * fix import Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * remove console.log Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * pool refresh fix * simplify, logging * handle errors * cleanup Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
40 lines
1.1 KiB
JavaScript
40 lines
1.1 KiB
JavaScript
module.exports = {
|
|
// 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'
|
|
network: process.env.GATSBY_NETWORK || 'mainnet',
|
|
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx',
|
|
// The ETH address the marketplace fee will be sent to.
|
|
marketFeeAddress:
|
|
process.env.GATSBY_MARKET_FEE_ADDRESS ||
|
|
'0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7',
|
|
// Used for conversion display, can be whatever coingecko API supports
|
|
// see: https://api.coingecko.com/api/v3/simple/supported_vs_currencies
|
|
currencies: [
|
|
'EUR',
|
|
'USD',
|
|
'CAD',
|
|
'GBP',
|
|
'SGD',
|
|
'HKD',
|
|
'CNY',
|
|
'JPY',
|
|
'INR',
|
|
'RUB',
|
|
'ETH',
|
|
'BTC',
|
|
'LINK'
|
|
],
|
|
|
|
// Config for https://github.com/donavon/use-dark-mode
|
|
darkModeConfig: {
|
|
classNameDark: 'dark',
|
|
classNameLight: 'light',
|
|
storageKey: 'oceanDarkMode'
|
|
},
|
|
|
|
// Analytics
|
|
analyticsId: process.env.GATSBY_ANALYTICS_ID || 'xxx'
|
|
}
|