Statistic tools for twister network ⠀
Script written in python v2, that scans the blockchain and dump the data to the MySQL database. ⠀
Index contain: ⠀
- block number ⠀
- block hash ⠀
- time created ⠀
- usernames ⠀
line 5 - MySQL database ⠀
line 13 - blocks per step ⠀
line 31 - twister API ⠀
apt install python2 python2-dev php-mysql mysql-server
⠀
pip2 install python-bitcoinrpc
⠀
pip2 install mysqlclient
⠀
python2 crawler/blockchain.py
⠀
Tools for the data dumped visualization written in PHP ⠀
line 8 - MySQL database ⠀
apt install php-fpm php-curl php-mysql mysql-server
⠀
create new server instance ⠀
cd twister-stat
⠀
php -S localhost:8081
⠀
open in browser ⠀
http://localhost:8081/index.php
⠀
todo: ⠀
https://github.com/twisterarmy/twister-stat/tree/main/dump ⠀
https://github.com/twisterarmy/cloud-server/blob/main/tool/crawler/blockchain.php