forked from deltaDAO/portal-sbb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
84 lines (70 loc) · 2.96 KB
/
app.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
const { getDefaultChainIds, getSupportedChainIds } = require('./chains.config')
module.exports = {
// URI of single metadata cache instance for all networks.
// While ocean.js includes this value for each network as part of its ConfigHelper,
// it is assumed to be the same for all networks.
// In components can be accessed with the useSiteMetadata hook:
// const { appConfig } = useSiteMetadata()
// return appConfig.metadataCacheUri
metadataCacheUri:
process.env.GATSBY_METADATACACHE_URI || 'https://aquarius.delta-dao.com',
complianceUri:
process.env.GATSBY_COMPLIANCE_URI ||
'https://compliance.gaia-x.eu/v2206/api',
// List of chainIds which metadata cache queries will return by default.
// This preselects the Chains user preferences.
chainIds: getDefaultChainIds(),
// List of all supported chainIds. Used to populate the Chains user preferences list.
chainIdsSupported: getSupportedChainIds(),
rbacUrl: process.env.GATSBY_RBAC_URL,
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 ||
'0x9984b2453eC7D99a73A5B3a46Da81f197B753C8d',
// 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'
},
// Wallets
portisId: process.env.GATSBY_PORTIS_ID || 'xxx',
// Used to show or hide the fixed, dynamic or free price options
// tab to publishers during the price creation.
allowFixedPricing: process.env.GATSBY_ALLOW_FIXED_PRICING || 'true',
allowDynamicPricing: process.env.GATSBY_ALLOW_DYNAMIC_PRICING || 'false',
allowFreePricing: process.env.GATSBY_ALLOW_FREE_PRICING || 'false',
// Used to show or hide advanced settings button in asset details page
allowAdvancedSettings: process.env.GATSBY_ALLOW_ADVANCED_SETTINGS || 'true',
allowAdvancedPublishSettings:
process.env.GATSBY_ALLOW_ADVANCED_PUBLISH_SETTINGS || 'false',
credentialType: process.env.GATSBY_CREDENTIAL_TYPE || 'address',
// Set the default privacy policy to initially display
// this should be the slug of your default policy markdown file
defaultPrivacyPolicySlug: '/privacy/en',
// This enables / disables the use of a GDPR compliant
// privacy preference center to manage cookies on the market
// If set to true a gdpr.json file inside the content directory
// is used to create and show a privacy preference center / cookie banner
// To learn more about how to configure and use this, please refer to the readme
privacyPreferenceCenter:
process.env.GATSBY_PRIVACY_PREFERENCE_CENTER || 'true'
}