A script to track the total amount of Multivac tokens being unstaked from the pool.
Firstly, it pulls all active staking addresses from the explorer api, then proceeds to check each address for the value in withdrawPending
and outputs progress. After each address has been checked we save the data into the directory mtv_logs
with each file being time-stamped and output it in a more human readable format.
git
python3
python3
windows terminal
git clone https://github.com/Hardchat/Multivac-Unstaking/
-
Install python3 from the official website here: https://www.python.org/ftp/python/3.10.1/python-3.10.1-amd64.exe
-
Download this repository from Here
-
Install Windows Terminal from Microsoft: https://aka.ms/terminal
cd Multivac-Unstaking
python3 unstake.py
You can easily run the script using the unstake.bat
file in the project folder.
Alternatively:
Using powershell/windows terminal, navigate to the folder the files were downloaded to and enter the project folder:
cd Multivac-Unstaking
Then you can run the script using the command:
python3 unstake.py