A tool to collect data from all blocks forged by a delegate in a certain time period in BTC/USD/EUR at the time of forging. Useful for tax purposes, for example.
The script is now utilizing Python3 and is fully updated for Liskv3, including some minor improvements.
DIM can be run "as-is" in interactive mode, or with optional arguments.
Open dim
and follow the instructions.
DIM accepts multiple (optional) arguments. Examples are:
./dim --network testnet --username lemii
./dim --network mainnet --username helpinghand --share 60 --start 2021/09/01 --end 2021/09/10
For a complete list, please see: ./dim -h
optional arguments:
-h, --help show this help message and exit
--network {mainnet,testnet,custom}
use 'mainnet' or 'testnet'
--username USERNAME specify delegate username
--share SHARE specify voter's share %
--start START specify start date (yyyy/mm/dd)
--end END specify end date (yyyy/mm/dd)
You can run the original Python script if that's preferred.
The only non-standard library used is requests
, found in the requirements.txt
file.
All of the above instructions still apply to using this method.