forked from DefiLlama/yield-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.js
25 lines (24 loc) · 962 Bytes
/
env.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
try {
require('dotenv').config({ path: './config.env' });
} catch (e) {}
module.exports = {
// API keys
ALCHEMY_CONNECTION_ARBITRUM: process.env.ALCHEMY_CONNECTION_ARBITRUM,
ALCHEMY_CONNECTION_ETHEREUM: process.env.ALCHEMY_CONNECTION_ETHEREUM,
ALCHEMY_CONNECTION_POLYGON: process.env.ALCHEMY_CONNECTION_POLYGON,
ETHEREUM_RPC: process.env.ETHEREUM_RPC,
XDAI_RPC: process.env.XDAI_RPC,
CRONOS_RPC: process.env.CRONOS_RPC,
FANTOM_RPC: process.env.FANTOM_RPC,
OPTIMISM_RPC: process.env.OPTIMISM_RPC,
AVAX_RPC: process.env.AVAX_RPC,
ARBITRUM_RPC: process.env.ARBITRUM_RPC,
TVL_SPIKE_WEBHOOK: process.env.TVL_SPIKE_WEBHOOK,
NEW_YIELDS_WEBHOOK: process.env.NEW_YIELDS_WEBHOOK,
STALE_PROJECTS_WEBHOOK: process.env.STALE_PROJECTS_WEBHOOK,
ZEROX_API: process.env.ZEROX_API,
SMARDEX_SUBGRAPH_API_KEY: process.env.SMARDEX_SUBGRAPH_API_KEY,
VENDOR_FINANCE: process.env.VENDOR_FINANCE,
// DB
DATABASE_URL: process.env.DATABASE_URL,
};