-
Notifications
You must be signed in to change notification settings - Fork 13
/
.env.example
234 lines (209 loc) · 8.47 KB
/
.env.example
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# 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.
MONGOURI=mongodb://127.0.0.1:27017/nodesatt
#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
##POLYGON NODE
WEB3_URL_POLYGON=https://xxxxxxxxxxxxx
##SOCKET POLYGON
WEB3_URL_POLYGON_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 linkedin credentials
LINKEDIN_KEY=XXXXXXXXXXX
LINKEDIN_SECRET=XXXXXXXXXXXX
LINKEDIN_FIRST_URL_ADRR_FIRST=https://api.linkedin.com/v2/activities?ids=urn:li:activity:
LINKEDIN_SHARE_FIRST=https://api.linkedin.com/v2/shares?ids=urn:li:share:
LINKEDIN_FIRST_URL_ADRR_SECOND=&projection=(results(*(domainEntity~)))
LINKEDIN_START_URL_FIRST=https://api.linkedin.com/v2/organizationalEntityShareStatistics?q=organizationalEntity&
LINKEDIN_START_URL_SECOND=s[0]=urn:li:
LINKEDIN_START_URL_THIRD=&organizationalEntity=
LINKEDIN_UGC_POST_FIRST=https://api.linkedin.com/v2/videoAnalytics?q=entity&entity=urn:li:ugcPost:
LINKEDIN_ORIGINAL_ARTICLE=https://api.linkedin.com/v2/originalArticles/
LINKEDIN_UGC_POST_SECOND=&type=VIDEO_VIEW
## 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
TIKTOK_SECRET=faa31e6ea3cef7dfc0888110168754d1
# Create a TIKTOK app to get your TIKTOK credentials
TIKTOK_KEY=XXXXXXXXXXXXX
TIKTOK_SECRET=XXXXXXXXXXXXXXX
# Token contract addresses
CONST_TOKEN_ADDRESS=0xdf49c9f599a0a9049d97cff34d0c30e468987389
CONST_TOKEN_ADDRESS_TETHER=0xdac17f958d2ee523a2206206994597c13d831ec7
CONST_TOKEN_ADDRESS_DAI=0x6b175474e89094c44da98b954eedeac495271d0f
CONST_COMPAIGN_ADDRESS=
CONST_COMPAIGN_ADDRESSBEP20=
CONST_ORACLE_ADDRESS=
CONST_ORACLE_ADDRESSBEP20=
CONST_WSATT_ADDRESS=0x70A6395650b47D94A77dE4cFEDF9629f6922e645
CONST_PRICEGAP_ADDRESS=0xf117674e1890b56be87db3b0dc12750023ee69d9
CONST_BEP20_ADDRESS=0x448bee2d93be708b54ee6353a7cc35c4933f1156
CONST_BEP20_ADDRESS_BUSD=0xe9e7cea3dedca5984780bafc599bd69add087d56
# 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
CMC_GLOBL_URL=https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/latest
CMC_HISTORY_URL=https://pro-api.coinmarketcap.com/v3/cryptocurrency/quotes/historical
CMC_URl=https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest
CMC_CRYPTO_URL=https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest
CMC_CRYPTO_DETAILS=https://pro-api.coinmarketcap.com/v2/cryptocurrency/info
CMC_CRYPTO_CHART=https://api.coinmarketcap.com/data-api/v3/cryptocurrency/detail/chart
# Address of smart contract deployed by owner and the wallet password
CAMPAIGN_OWNER=
CAMPAIGN_OWNER_PASS=
# Set your IPFS Info
IPFS_PROJECT_ID=XXXXXXXXXXXXXXXXXXXXXX
IPFS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXX
IPFS_INFURA = ipfs.infura.io
IPFS_INFURA_PORT = 5001
IPFS_INFURA_PROTOCOL = https
## 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}
#Need to set up an account on Bscan to get API_KEY credentials
BSCSCAN_API=https://api.bscscan.com/api?apikey={YOUR_API_KEY}
WEB3_URL_POLYGON=https://polygon-mumbai.infura.io/v3/557c0cefcd1b4ba5b1418d56a699f705
CMR_URL=https://pro-api.coinmarketcap.com/v1/cryptocurrency/info?symbol=
POLYGONSCAN_API=https://api-testnet.polygonscan.com/api?module=account&startblock=0&endblock=99999999&sort=asc&apikey=XXXXXXXXXXXXXXXXXXXXXX=
# SaTT Token adress in BEP20
SATT_BEP20_ADDRR=
#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