-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env
219 lines (196 loc) · 7.82 KB
/
.env
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
# SSL certification was created using: https://letsencrypt.org/getting-started/
## CERTIFICATION_SSL_PATH
SSL_CER=./conf/ssl/fullchain.pem
## CERTIFICATION_SSL_KEY_PATH
SSL_KEY=./conf/ssl/privkey.pem
#Project node port
LISTEN_PORT=YOUR_PORT
# Set your mongo connection please check the readme for more information.
MONGO_BASE=YOUR_MONGO_BASE
MONGO_USER=YOUR_MONGO_USER
MONGO_PASS=YOUR_MONGO_PASS
MONGO_HOST=YOUR_MONGO_HOST
MONGO_PORT=YOUR_MONGO_PORT
MONGOURI=mongodb://MONGO_USER:MONGO_PASS@MONGO_HOST:MONGO_PORT/MONGO_BASE
#Get node credentials from infura please check the Blockchain deployment file in the documentaion to learn how to get it.
##ETHEREUM NODE
WEB3_URL=wss://xxxxxxxxxxxxx
##BINANCE NODE
WEB3_URL_BEP20=https://xxxxxxxxxxxxx
##SOCKET BINANCE
WEB3_URL_BEP20_WEBSOCKET=wss://xxxxxxxxxxxxxxx
# Generate your JWT Token
## For more information please visit this link: https://www.npmjs.com/package/jsonwebtoken
TOKEN_SECRET= YOUR_TOKEN_SECRET_JWT
REFRESH_TOKEN_SECRET=YOUR_REFRESH_TOKEN_SECRET
#Period in minutes between fail login attempts
failInterval=2
#Maximum fail login attempts
bad_login_limit=3
#Locked period in minutes if a user fail to login 3 times in a row
lockedPeriod=30
# Create a Facebook app to get your Facebook credentials
## For more information please check the social network configuration file in the docs folder of this project.
APPID= YOUR_API_ID
APP_SECRET= YOUR_APP_SECRET
FB_GRAPH_VERSION= YOUR_FB_GRAPH_VERSION
# Get your Google API client ID
## To learn how to get the following keys please check the social network configuration file in the docs folder of this project.
GOOGLE_CLIENTID=YOUR_GOOGLE_CLIENTID
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
GDA_TAP_API_KEY=YOUR_GDA_TAP_API_KEY
# Get your Telegram Token
## See in the documentaion on how to get it.
TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN
# Create a Twitter app to get your Twitter credentials
## Please check the documentaion for more details.
TWITTER_CONSUMER_KEY_ALT=YOUR_TWITTER_CONSUMER_KEY_ALT
TWILTTER_CONSUMER_SECRET_ALT=YOUR_TWILTTER_CONSUMER_SECRET_ALT
TWITTER_CONSUMER_SECRET_DEV=YOUR_TWITTER_CONSUMER_SECRET_DEV
TWITTER_CONSUMER_KEY=YOUR_TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET=YOUR_TWITTER_CONSUMER_SECRET
TWITTER_ACCESS_TOKEN_KEY=YOUR_TWITTER_ACCESS_TOKEN_KEY
TWITTER_ACCESS_TOKEN_SECRET=YOUR_TWITTER_ACCESS_TOKEN_SECRET
# Create a Linkedin app to get your Linkedin credentials
## Please check the documentaion for more details.
LINKEDIN_KEY=YOUR_LINKEDIN_KEY
LINKEDIN_SECRET=YOUR_LINKEDIN_SECRETLINKEDIN_SECRET
# Token contract addresses
CONST_TOKEN_ADDRESS_MAINNET=0xdf49c9f599a0a9049d97cff34d0c30e468987389
CONST_TOKEN_ADDRESS_TESTNET=0x2beF0d7531f0aaE08ADc26A0442Ba8D0516590d0
CONST_TOKEN_ADDRESS_TETHERMAINNET=0xdac17f958d2ee523a2206206994597c13d831ec7
CONST_TOKEN_ADDRESS_TETHERTESTNET=0x3B2243E3Aeb6d4A102061BCE6C5c233c2C08fF65
CONST_TOKEN_ADDRESS_DAIMAINNET=0x6b175474e89094c44da98b954eedeac495271d0f
CONST_TOKEN_ADDRESS_DAITESTNET=0x7d6550Bb3946c0BB0701c75baBE2f679E01F3f3E
CONST_COMPAIGN_ADDRESS_MAINNET=
CONST_COMPAIGN_ADDRESS_TESTNET=0xa5F46d6F4F3b318EeFF1B37e39491e52233c5975
CONST_COMPAIGN_ADDRESS_MAINNETBEP20=
CONST_COMPAIGN_ADDRESS_TESTNETBEP20=0x2beF0d7531f0aaE08ADc26A0442Ba8D0516590d0
CONST_ORACLE_ADDRESS_MAINNET=
CONST_ORACLE_ADDRESS_TESTNET=0x49B1149C975970E47Ad3a16BE3c7701B3f445ECd
CONST_ORACLE_ADDRESS_MAINNETBEP20=
CONST_ORACLE_ADDRESS_TESTNETBEP20=0x11235dca54a882f7a9221fc156b7945de0a4e655
CONST_WSATT_ADDRESS_MAINNET=0x70A6395650b47D94A77dE4cFEDF9629f6922e645
CONST_PRICEGAP_ADDRESS_MAINNET=0xf117674e1890b56be87db3b0dc12750023ee69d9
CONST_BEP20_ADDRESS_MAINNET=0x448bee2d93be708b54ee6353a7cc35c4933f1156
CONST_BEP20_ADDRESS_TESTNET=0x6fAc729f346A46fC0093126f237b4A520c40eb89
CONST_BEP20_ADDRESS_BUSDMAINNET=0xe9e7cea3dedca5984780bafc599bd69add087d56
CONST_BEP20_ADDRESS_BUSDTESTNET=0x4CB4473Af06B844d06b5eDeF08983B2C5C61e5af
# CRONS Configuration
##CRON job schedule for statistics script
CRON_UPDATE_STAT=*/30 * * * *
##CRON job schedule for user balance on a daily timeframe
CRON_WALLET_USERS_sTAT_DAILY=00 01 * * *
##CRON job schedule for user balance on a monthly timeframe
CRON_WALLET_USERS_sTAT_MONTHLY=* * 1 * *
##CRON job schedule for user balance on a weekly timeframe
CRON_WALLET_USERS_sTAT_WEEKLY=03 04 * * 1
# Generate a mailer api Credentials
MAILER_HOST=YOUR_MAILER_HOST
MAILER_PORT=YOUR_MAILER_PORT
MAILER_USER=YOUR_MAILER_USER
MAILER_PASS=YOUR_MAILER_PASS
MAIL_SENDER=YOUR_MAIL_SENDER
RESET_PASSWORD_EMAIL=YOUR_RESET_PASSWORD_EMAIL
CONTACT_MAIL=YOUR_CONTACT_MAIL
# SaTT FAQ
SATT_FAQ=https://satt-token.com/
# Base URL
BASEURL=https://localhost:3015/
# Get your CoinMarketCap credentials please check the social network configuration file in the docs folder of this project for more information.
CMR_URL=YOUR_CMR_URL
CMCAPIKEY=YOUR_COINMARKETCAP_KEY
# Address of smart contract deployed by owner and the wallet password
CAMPAIGN_OWNER=
CAMPAIGN_OWNER_PASS=
# Wallet Info
## PATH_CAMPAIGN_WALLET
CAMPAIGN_WALLET_PATH=./conf/wallets/campaign.json
# Links to connect to the platform different apis
BTS_FEES=https://bitcoinfees.earn.com/api/v1/fees/recommended
#Need to set up an etherscan account to get API_KEY credentials
ETHERSCAN_APIURL=https://api.etherscan.io/api?apikey={YOUR_API_KEY}
ETHERSCAN_APIURLTX=https://api.etherscan.io/api?apikey={YOUR_API_KEY}
ETHERSCAN_APIURL_=https://api.etherscan.io/api?&apikey={YOUR_API_KEY}
#Need to set up an account on Bscan to get API_KEY credentials
BSCSCAN_API=https://api.bscscan.com/api?apikey={YOUR_API_KEY}
# SaTT Token adress in BEP20
SATT_BEP20_ADDRR=0x3f31cbacfec98b29eeb35566fd630c04e706ac46
#Tokens Information for SaTT default wallet
TOKEN_SATT_NAME=SATT
TOKEN_SATT_SYMBOL=SATT
TOKEN_SATT_UNDERNAME=SATT
TOKEN_SATT_UNDERNAME2=SATT
TOKEN_SATT_CONTRACT=0xdf49c9f599a0a9049d97cff34d0c30e468987389
TOKEN_SATT_DICIMAL=18
TOKEN_SATT_NETWORK=ERC20
TOKEN_WSATT_NAME=WSATT
TOKEN_WSATT_SYMBOL=WSATT
TOKEN_WSATT_UNDERNAME=WSATT
TOKEN_WSATT_UNDERNAME2=WSATT
TOKEN_WSATT_CONTRACT=0x70A6395650b47D94A77dE4cFEDF9629f6922e645
TOKEN_WSATT_DICIMAL=18
TOKEN_WSATT_NETWORK=ERC20
TOKEN_SATT_BEP20_NAME=SATT
TOKEN_SATT_BEP20_SYMBOL=SATTBEP20
TOKEN_SATT_BEP20_UNDERNAME=(BEP20)
TOKEN_SATT_BEP20_UNDERNAME2=SATT
TOKEN_SATT_BEP20_CONTRACT=0x6fAc729f346A46fC0093126f237b4A520c40eb89
TOKEN_SATT_BEP20_DICIMAL=18
TOKEN_SATT_BEP20_NETWORK=BEP20
TOKEN_OMG_NAME=Omise Go
TOKEN_OMG_SYMBOL=OMG
TOKEN_OMG_UNDERNAME=OMG
TOKEN_OMG_UNDERNAME2=OMG
TOKEN_OMG_CONTRACT=0xd26114cd6EE289AccF82350c8d8487fedB8A0C07
TOKEN_OMG_DICIMAL=18
TOKEN_OMG_NETWORK=ERC20
TOKEN_DAI_NAME=DAI
TOKEN_DAI_SYMBOL=DAI
TOKEN_DAI_UNDERNAME=DAI
TOKEN_DAI_UNDERNAME2=DAI
TOKEN_DAI_CONTRACT=0x7d6550Bb3946c0BB0701c75baBE2f679E01F3f3E
TOKEN_DAI_DICIMAL=18
TOKEN_DAI_NETWORK=ERC20
TOKEN_USDT_NAME=Tether
TOKEN_USDT_SYMBOL=USDT
TOKEN_USDT_UNDERNAME=USDT
TOKEN_USDT_UNDERNAME2=USDT
TOKEN_USDT_CONTRACT=0xdac17f958d2ee523a2206206994597c13d831ec7
TOKEN_USDT_DICIMAL=6
TOKEN_USDT_NETWORK=ERC20
TOKEN_ZRX_NAME=0x
TOKEN_ZRX_SYMBOL=ZRX
TOKEN_ZRX_UNDERNAME=ZRX
TOKEN_ZRX_UNDERNAME2=ZRX
TOKEN_ZRX_CONTRACT=0xe41d2489571d322189246dafa5ebde1f4699f498
TOKEN_ZRX_DICIMAL=18
TOKEN_ZRX_NETWORK=ERC20
TOKEN_MKR_NAME=Maker
TOKEN_MKR_SYMBOL=MKR
TOKEN_MKR_UNDERNAME=MKR
TOKEN_MKR_UNDERNAME2=MKR
TOKEN_MKR_CONTRACT=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
TOKEN_MKR_DICIMAL=18
TOKEN_MKR_NETWORK=ERC20
TOKEN_BNB_NAME=BNB
TOKEN_BNB_SYMBOL=BNB
TOKEN_BNB_UNDERNAME=(SMART CHAINE)
TOKEN_BNB_UNDERNAME2=BNB
TOKEN_BNB_CONTRACT=0xB8c77482e45F1F44dE1745F52C74426C631bDD52
TOKEN_BNB_DICIMAL=18
TOKEN_BNB_NETWORK=BEP20
TOKEN_CAKE_NAME=CAKE
TOKEN_CAKE_SYMBOL=CAKE
TOKEN_CAKE_UNDERNAME=CAKE
TOKEN_CAKE_UNDERNAME2=CAKE
TOKEN_CAKE_CONTRACT=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
TOKEN_CAKE_DICIMAL=18
TOKEN_CAKE_NETWORK=BEP20
TOKEN_BUSD_NAME=Binance-Peg BUSD Token
TOKEN_BUSD_SYMBOL=BUSD
TOKEN_BUSD_UNDERNAME=BUSD
TOKEN_BUSD_UNDERNAME2=BUSD
TOKEN_BUSD_CONTRACT=0x4CB4473Af06B844d06b5eDeF08983B2C5C61e5af
TOKEN_BUSD_DICIMAL=18
TOKEN_BUSD_NETWORK=BEP20