This repository has been archived by the owner on Jun 10, 2022. It is now read-only.
generated from yearn/web-template
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathnext.config.js
executable file
·49 lines (47 loc) · 1.72 KB
/
next.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
const Dotenv = require('dotenv-webpack');
module.exports = ({
experimental: {
concurrentFeatures: true
},
plugins: [new Dotenv()],
images: {
domains: [
'rawcdn.githack.com'
]
},
env: {
/* 🔵 - Yearn Finance **************************************************
** Stuff used for the SEO or some related elements, like the title, the
** github url etc.
**********************************************************************/
WEBSITE_URI: 'https://experience.yearn.system/',
WEBSITE_NAME: 'YFI Experience',
WEBSITE_TITLE: 'YFI Experience',
WEBSITE_DESCRIPTION: 'The only YFI you need',
PROJECT_GITHUB_URL: 'https://github.com/yearn/yfi-experience',
/* 🔵 - Yearn Finance **************************************************
** Some config used to control the behaviour of the web library. By
** default, all of theses are set to false.
** USE_WALLET: should we allow the user to connect a wallet via
** metamask or wallet connect?
** USE_PRICES: should we fetch the prices for a list of tokens? If true
** the CG_IDS array should be populated with the tokens
** to fetch.
** USE_PRICE_TRI_CRYPTO: should we fetch the special Tri Crypto token
** price? (require blockchain call)
**********************************************************************/
USE_WALLET: true,
USE_PRICES: true,
USE_PRICE_TRI_CRYPTO: false,
CG_IDS: ['yearn-finance'],
TOKENS: [
['0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', 18, 1]
],
RPC_URL: {
1: process.env.RPC_URL_MAINNET,
250: process.env.RPC_URL_FANTOM || 'https://rpc.ftm.tools',
42161: process.env.RPC_URL_ARBITRUM || 'https://arbitrum.public-rpc.com'
},
ALCHEMY_KEY: process.env.ALCHEMY_KEY
}
});