Compare commits

...

7 Commits

Author SHA1 Message Date
6ca34dc3ba
Update README.md 2024-10-29 10:53:54 +05:30
Shivam Pandey
a087d0aa71
Update README.md 2024-07-21 19:03:29 +05:30
Shivam Pandey
2996f7f5dc
Update README.md 2024-07-21 18:58:07 +05:30
Vivek Teega
1e8c693290 Update README.md to reflect "Test flodata parsing" status badge 2023-03-19 20:18:27 +05:30
Vivek Teega
a2416e71e3
Changing Readme 2023-03-06 16:45:40 +05:30
Vivek Teega
59dba1ac4d
Merge pull request #15 from ranchimall/dependabot/pip/certifi-2022.12.7
Bump certifi from 2021.5.30 to 2022.12.7
2023-01-23 16:35:40 +05:30
dependabot[bot]
e05d978355
Bump certifi from 2021.5.30 to 2022.12.7
Bumps [certifi](https://github.com/certifi/python-certifi) from 2021.5.30 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2021.05.30...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 05:26:08 +00:00
2 changed files with 27 additions and 17 deletions

View File

@ -1,4 +1,7 @@
# Master branch is based on Flosight, which we do not support now
# FLO Token & Smart Contract System
[![Test flodata parsing](https://github.com/ranchimall/flo-token-tracking/actions/workflows/test_parsing.yml/badge.svg?branch=swap-statef-testing)](https://github.com/ranchimall/flo-token-tracking/actions/workflows/test_parsing.yml)
## 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.
@ -28,30 +31,37 @@ Docker-compatibility branch is needed right now because Docker image made for fl
```
# config.ini
[DEFAULT]
NET = testnet
FLO_CLI_PATH = /usr/local/bin/flo-cli
START_BLOCK = 740400
# config.py
committeeAddressList = ['oVwmQnQGtXjRpP7dxJeiRGd5azCrJiB6Ka']
sseAPI_url = 'https://ranchimallflo-testnet.duckdns.org/'
NET = testnet
FLO_CLI_PATH = /usr/local/bin/flo-cli
START_BLOCK = 740400
FLOSIGHT_NETURL = https://0.0.0.0:19166/
TESTNET_FLOSIGHT_SERVER_LIST = https://0.0.0.0:19166/
MAINNET_FLOSIGHT_SERVER_LIST = https://blockbook.ranchimall.net/
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
```
# config.ini
[DEFAULT]
NET = mainnet
FLO_CLI_PATH = /usr/local/bin/flo-cli
START_BLOCK = 3387900
# config.py
committeeAddressList = ['FRwwCqbP7DN4z5guffzzhCSgpD8Q33hUG8']
sseAPI_url = 'https://ranchimallflo.duckdns.org/'
NET = mainnet
FLO_CLI_PATH = /usr/local/bin/flo-cli
START_BLOCK = 3387900
FLOSIGHT_NETURL = https://blockbook.ranchimall.net/
TESTNET_FLOSIGHT_SERVER_LIST = https://0.0.0.0:19166/
MAINNET_FLOSIGHT_SERVER_LIST = https://blockbook.ranchimall.net/
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`
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

View File

@ -1,6 +1,6 @@
arrow==1.1.0
bidict==0.21.2
certifi==2021.5.30
certifi==2022.12.7
cffi==1.14.5
requests==2.25.0
chardet==3.0.4