forked from push-protocol/epns-showrunners-staging-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
159 lines (124 loc) · 5.28 KB
/
.env.sample
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# MAKE A COPY OF THIS AND FILL WITH YOUR CREDENTIALS AND NAME IT .env (Remove .sample Part)
# ENVIRONMENT | 'development' or 'production'
NODE_ENV='development'
PORT=5432
RUNNING_ON_MACHINE=windows
REDIS_URL=redis://localhost:6379
# TRUSTED URLS | ["https://epns.io", "https://backend.epns.io", "https://app.epns.io", "https://www.epns.io"]
TRUSTED_URLS=["https://epns.io", "https://backend.epns.io", "https://app.epns.io", "https://www.epns.io"]
# DATABASE
DB_HOST=localhost
DB_NAME=dbname
DB_USER=2roor
DB_PASS=s1mpl3
# FILE SYSTEM
FS_SERVER_DEV=http://localhost:4000/cache/
FS_SERVER_PROD=https://showrunners.epns.io/cache/
SERVE_STATIC_FILES=public
SERVE_CACHE_FILES=cache
# SERVER RELATED
DEFAULT_MAX_ATTEMPTS=3
# EPNS RELATED
EPNS_DEPLOYED_CONTRACT=0xc882dA9660d29c084345083922F8a9292E58787D
# ENS RELATED
ENS_DEPLOYED_CONTRACT=0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85
# COMPOUND RELATED
COMPOUND_COMPTROLLER_DEPLOYED_CONTRACT=0x5eae89dc1c671724a672ff0630122ee834098657
CDAI=0xf0d0eb522cfa50b716b3b1604c4f0fa6f04376ad
CBAT=0x4a77fAeE9650b09849Ff459eA1476eaB01606C7a
CETH=0x41b5844f4680a8c38fbb695b7f9cfd1f64474a72
CREP=0xa4ec170599a1cf87240a35b9b1b8ff823f448b57
CSAI=0xb3f7fb482492f4220833de6d6bfcc81157214bec
CUNI=0x35a18000230da775cac24873d00ff85bccded550
CUSDC=0x4a92e71227d294f041bd82dd8f78591b75140d63
CUSDT=0x3f0a0ea2f86bae6362cf9799b523ba06647da018
CWBTC=0xa1faa15655b0e7b6b6470ed3d096390e6ad93abb
CZRX=0xaf45ae737514c8427d373d50cd979a242ec59e5a
PRICE=0xbBdE93962Ca9fe39537eeA7380550ca6845F8db7
# EVEREST RELATED
EVEREST_DEPLOYED_CONTRACT=0x445B774C012c5418d6D885f6cbfEB049a7FE6558
# UNI RELATED
UNI_GOVERNANCE_DEPLOYED_CONTRACT_ROPSTEN=0x46219c397a8A8990f1B2172a7139C1Ea921D44E2
UNI_GOVERNANCE_DEPLOYED_CONTRACT_MAINNET=0x5e4be8Bc9637f0EAA1A755019e06A68ce081D58F
# AAVE RELATED
AAVE_LENDINGPOOL_DEPLOYED_CONTRACT_KOVAN=0xE0fBa4Fc209b4948668006B2bE61711b7f465bAe
AAVE_LENDINGPOOL_DEPLOYED_CONTRACT_MAINNET=0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9
AAVE_LENDINGPOOL_DEPLOYED_CONTRACT_POLYGON_MAINNET=0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf
AAVE_LENDINGPOOL_DEPLOYED_CONTRACT_POLYGON_MUMBAI=0x9198F13B08E299d85E096929fA9781A1E3d5d827
# ALTERNATIVES THAT ROCK
# https://medium.com/linkpool/release-of-public-ethereum-rpcs-f5dd57455d2e
# https://ropsten-rpc.linkpool.io/
# wss://ropsten-rpc.linkpool.io/ws
# https://main-rpc.linkpool.io
# wss://main-rpc.linkpool.io/ws
# IPFS
IPFS_MAX_ATTEMPTS=3
IPFS_GATEWAY=https://gateway.ipfs.io/ipfs/
IPFS_LOCAL_ENDPOINT=something
IPFS_INFURA_ENDPOINT=https://ipfs.infura.io:5001
# DEBUG
LOG_LEVEL='debug'
# SHOWRUNNERS APIS
## WEB3 ENDPOINTS
ETHERSCAN_API=your_etherscan_key
INFURA_PROJECT_ID=your_infura_project_id
INFURA_PROJECT_SECRET=your_infura_project_secret
ALCHEMY_API=your_alchemy_key
KOVAN_WEB3_PROVIDER=https://kovan.infura.io/v3/something
ROPSTEN_WEB3_PROVIDER=https://ropsten.infura.io/v3/something
MAINNET_WEB3_PROVIDER=https://ropsten.infura.io/v3/something
POLYGON_MAINNET_WEB3_PROVIDER=https://polygon-mainnet.infura.io/v3/something
POLYGON_MUMBAI_WEB3_PROVIDER=https://polygon-mumbai.infura.io/v3/something
POLYGON_MAINNET_RPC=https://rpc-mainnet.maticvigil.com
POLYGON_MUMBAI_RPC=https://rpc-mumbai.maticvigil.com
KOVAN_WEB3_NETWORK=kovan
ROPSTEN_WEB3_NETWORK=ropsten
MAINNET_WEB3_NETWORK=homestead
KOVAN_WEB3_SOCKET=wss://ropsten-rpc.linkpool.io/ws
ROPSTEN_WEB3_SOCKET=wss://ropsten-rpc.linkpool.io/ws
MAINNET_WEB3_SOCKET=wss://ropsten-rpc.linkpool.io/ws
## SERVICES APIS
MONGO_URI=mongodb://localhost:27017
CMC_ENDPOINT=https://pro-api.coinmarketcap.com/
CMC_API_KEY=YOUR_CMC_KEY
CMC_SANDBOX_ENDPOINT=https://sandbox-api.coinmarketcap.com/
CMS_SANDBOX_API_KEY=YOUR_SANDBOX_CMC_KEY
GAS_API_KEY=bca8621a178f9b958b86ea0610a0cd67c91b566cf4856ec83911e6324d82
GAS_ENDPOINT=https://ethgasstation.info/
ENS_ENDPOINT=https://api.thegraph.com/
# Truefi RELATED
TRUEFI_LENDER_DEPLOYED_CONTRACT=0x271b02176A9BD1336019A21eDA4ee79a5D32Db5a
TRUEFI_RATING_AGENCY_V2_CONTRACT=0x353488058bA40b280B73C06FEAdA42CA4d61f7Fc
TRUEFI_LOAN_FACTORY_CONTRACT=0x4ACE6dE67E9a9EDFf5c2d0a584390Fb5394119e7
TRUEFI_DUE_LOAN_DAYS=10
# AlphaHomora RELATED
HOMORA_BANK_DEPLOYED_CONTRACT=0xba5eBAf3fc1Fcca67147050Bf80462393814E54B
HOMORA_DEBT_RATIO_THRESHOLD=90
# WALLET MONITORING CONFIG
MASTER_WALLET_PRIVATE_KEY=
MASTER_WALLET_ETH_THRESHOLD=5
SHOWRUNNER_WALLET_ETH_THRESHOLD=0.5
ETHER_TRANSFER_AMOUNT=1
WALLET_MONITORING_JOB_RECURRENCE_PER_HOUR=1
# MAIL CONFIG
SUPPORT_MAIL_NAME="EPNS Support"
SOURCE_MAIL_ADDRESS="[email protected]"
SOURCE_MAIL_NAME="EPNS Support Bot"
# SHOWRUNNERS CHANNELS PRIVATE KEYS
DEV_TESTING_PRIVATE_KEY=our_wallet_filled_with_ether_key
BTC_TICKER_PRIVATE_KEY=your_wallet_filled_with_ether_key
ETH_TICKER_PRIVATE_KEY=your_wallet_filled_with_ether_key
ENS_DOMAIN_EXPIRY_PRIVATE_KEY=your_wallet_filled_with_ether_key
COMP_COMPTROLLER_PRIVATE_KEY=your_wallet_filled_with_ether_key
ETH_GAS_STATION_PRIVATE_KEY=your_wallet_filled_with_ether_key
WALLET_TRACKER_PRIVATE_KEY=your_wallet_filled_with_ether_key
EVEREST_PRIVATE_KEY=your_wallet_filled_with_ether_key
HELLO_WORLD_PRIVATE_KEY=your_wallet_filled_with_ether_key
UNISWAP_PRIVATE_KEY=your_wallet_filled_with_ether_key
AAVE_PRIVATE_KEY=your_wallet_filled_with_ether_key
TRUEFI_PRIVATE_KEY=your_wallet_filled_with_ether_key
ALPHAHOMORA_PRIVATE_KEY=your_wallet_filled_with_ether_key
# AWS CONFIG
ACCESS_KEY_ID=
SECRET_ACCESS_KEY=