-
Notifications
You must be signed in to change notification settings - Fork 23
/
constants.py
33 lines (26 loc) · 940 Bytes
/
constants.py
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
# --------------------------------------------------------------------
# Copyright (c) iEXBase. All rights reserved.
# Licensed under the MIT License.
# See License.txt in the project root for license information.
# --------------------------------------------------------------------
# To work with telegram bot
BOT_NAME = ""
BOT_TOKEN = ""
# To work with tronapi
TRON_FULL_NODE = "https://api.trongrid.io"
TRON_SOLIDITY_NODE = "https://api.trongrid.io"
SERVER_TRON_API = 'https://server.tron.network/api/v2'
API_TRONSCAN = 'https://apilist.tronscan.org/api'
DAPPS_API = 'https://tron.app/dh/dapp/common'
DAPPS_CAT = [
'dapps_0',
'dapps_games',
'dapps_exchangers',
'dapps_gambling',
'dapps_collectibles',
'dapps_other'
]
# For courses
URL_COINMARKET_API_TRON = "https://api.coinmarketcap.com/v2/ticker/1958?convert=BTC"
# Logging format
LOG_FORMATTER = "%(asctime)s - %(levelname)s - %(name)s - %(message)s"