Compare commits
7 Commits
blockbook-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ca34dc3ba | |||
|
|
a087d0aa71 | ||
|
|
2996f7f5dc | ||
|
|
1e8c693290 | ||
|
|
a2416e71e3 | ||
|
|
59dba1ac4d | ||
|
|
e05d978355 |
42
README.md
42
README.md
@ -1,4 +1,7 @@
|
|||||||
|
# Master branch is based on Flosight, which we do not support now
|
||||||
|
|
||||||
# FLO Token & Smart Contract System
|
# FLO Token & Smart Contract System
|
||||||
|
[](https://github.com/ranchimall/flo-token-tracking/actions/workflows/test_parsing.yml)
|
||||||
|
|
||||||
## Important versions and their hashes
|
## Important versions and their hashes
|
||||||
The python script scans the FLO Blockchain for Token and Smart Contract activity and creates/updates local SQLite databases accordingly.
|
The python script scans the FLO Blockchain for Token and Smart Contract activity and creates/updates local SQLite databases accordingly.
|
||||||
@ -28,30 +31,37 @@ Docker-compatibility branch is needed right now because Docker image made for fl
|
|||||||
```
|
```
|
||||||
# config.ini
|
# config.ini
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
NET = testnet
|
NET = testnet
|
||||||
FLO_CLI_PATH = /usr/local/bin/flo-cli
|
FLO_CLI_PATH = /usr/local/bin/flo-cli
|
||||||
START_BLOCK = 740400
|
START_BLOCK = 740400
|
||||||
|
FLOSIGHT_NETURL = https://0.0.0.0:19166/
|
||||||
# config.py
|
TESTNET_FLOSIGHT_SERVER_LIST = https://0.0.0.0:19166/
|
||||||
committeeAddressList = ['oVwmQnQGtXjRpP7dxJeiRGd5azCrJiB6Ka']
|
MAINNET_FLOSIGHT_SERVER_LIST = https://blockbook.ranchimall.net/
|
||||||
sseAPI_url = 'https://ranchimallflo-testnet.duckdns.org/'
|
TOKENAPI_SSE_URL = https://ranchimallflo-testnet-blockbook.ranchimall.net
|
||||||
|
IGNORE_BLOCK_LIST = 902446
|
||||||
|
IGNORE_TRANSACTION_LIST = b4ac4ddb51188b28b39bcb3aa31357d5bfe562c21e8aaf8dde0ec560fc893174
|
||||||
|
DATA_PATH = /home/production/deployed/ftt-blockbook-migration-testnet-rescan
|
||||||
|
APP_ADMIN = oWooGLbBELNnwq8Z5YmjoVjw8GhBGH3qSP
|
||||||
```
|
```
|
||||||
|
|
||||||
For mainnet
|
For mainnet
|
||||||
```
|
```
|
||||||
# config.ini
|
# config.ini
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
NET = mainnet
|
NET = mainnet
|
||||||
FLO_CLI_PATH = /usr/local/bin/flo-cli
|
FLO_CLI_PATH = /usr/local/bin/flo-cli
|
||||||
START_BLOCK = 3387900
|
START_BLOCK = 3387900
|
||||||
|
FLOSIGHT_NETURL = https://blockbook.ranchimall.net/
|
||||||
# config.py
|
TESTNET_FLOSIGHT_SERVER_LIST = https://0.0.0.0:19166/
|
||||||
committeeAddressList = ['FRwwCqbP7DN4z5guffzzhCSgpD8Q33hUG8']
|
MAINNET_FLOSIGHT_SERVER_LIST = https://blockbook.ranchimall.net/
|
||||||
sseAPI_url = 'https://ranchimallflo.duckdns.org/'
|
TOKENAPI_SSE_URL = https://ranchimallflo-blockbook.ranchimall.net
|
||||||
|
IGNORE_BLOCK_LIST = 2
|
||||||
|
IGNORE_TRANSACTION_LIST = b4
|
||||||
|
DATA_PATH = /home/production/deployed/ftt-blockbook-migration-rescan
|
||||||
|
APP_ADMIN = FNcvkz9PZNZM3HcxM1XTrVL4tgivmCkHp9
|
||||||
|
API_VERIFY = False
|
||||||
```
|
```
|
||||||
|
|
||||||
4. If running for the first time, run `python3.7 tracktokens-smartcontracts.py --reset` otherwise run `python3.7 tracktokens-smartcontracts.py`
|
4. If running for the first time, run `python3.7 tracktokens-smartcontracts.py --reset` otherwise run `python3.7 tracktokens-smartcontracts.py`
|
||||||
|
|
||||||
|
|
||||||
If you want to listen to RanchiMall's Token Tracker scanner's events you have to subscribe to Ranchimallflo API's end point `/sse`
|
|
||||||
Reference - https://ably.com/topic/server-sent-events
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
arrow==1.1.0
|
arrow==1.1.0
|
||||||
bidict==0.21.2
|
bidict==0.21.2
|
||||||
certifi==2021.5.30
|
certifi==2022.12.7
|
||||||
cffi==1.14.5
|
cffi==1.14.5
|
||||||
requests==2.25.0
|
requests==2.25.0
|
||||||
chardet==3.0.4
|
chardet==3.0.4
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user