Skip to content

Collect data from all blocks forged by a Lisk delegate in a certain time period in BTC/USD/EUR at the time of forging.

Notifications You must be signed in to change notification settings

h3lp1ngh4nd/dim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Delegate Incoming Monitor (DIM) - fixed for Liskv3

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.

Usage

DIM can be run "as-is" in interactive mode, or with optional arguments.

Interactive Mode

Open dim and follow the instructions.

Arguments

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)

Running the Python script

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.

About

Collect data from all blocks forged by a Lisk delegate in a certain time period in BTC/USD/EUR at the time of forging.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%