Scheduled Block Checker for Cardano Stakepool Operators.
Lightweight and Portable Scheduled Blocks Checker for Next, Current and Previous Epochs. No cardano-cli required, just your VRF Key file. All data is taken from Koios API and Armada Alliance
Note: This is a reworking of old python script ScheduledBlocks.py available on https://github.com/papacarp/pooltool.io.git , Ouroboros TPraos version: https://github.com/asnakep/ScheduledBlocks and using Ouroboros Praos updated code from https://github.com/dostrelith678/cardano-leader-logs
- Python 3.8 or higher version
- pip (Python package installer)
- libsodium library
- Koios-Python Library
First of all you need libsodium library installed, If not follow these steps:
git clone https://github.com/input-output-hk/libsodium.git
cd libsodium
git checkout 1.0.16-519-g66f017f1
./autogen.sh
./configure
make
sudo make install
- Go to your Git folder where is this repository cloned and run:
git pull
- Make sure that you have the last version of Koios Python installed:
pip install koios-python -U
- Clone this repository using git:
git clone https://github.com/QuixoteSystems/cardano-leader-slot.git
- Execute inside the newly cloned directory:
pip install -r pip_requirements.txt
to install all needed python package requirements
-
Make sure you can access your vrf.skey file (you can copy in it a path of your choice) and remember to keep it as read only
chmod 400 vrf.skey
-
Set Pool Variables on lines 35-39 of leaderslot.py:
### Set These Variables -------------------------------------------###
pool_ticker = "YOUT_POOL_TICKER"
vrf_key_file = ('YOUR_VRF_FILE_PATH')
pool_id_bech32 = "YOUR_POOL_ID:_pool1..."
### -------------------------------------------------------------- ###
python3 leaderslot.py
- a console output with all the slots assigned for next, current and previous Epochs
Output Example of a Previous Epoch: