Skip to content

asnakep/poolLeaderLogs

Repository files navigation

poolLeaderLogs

SPO Leader Logs Checker for Next, Current and Previous Epochs.

All Needed Data is get from Koios APIs.

Note: This is a reworking of old python script leaderLogs.py available on https://github.com/papacarp/pooltool.io.git

Prerequisites:
Python 3.8
pip (Python package installer)
libsodium library

Setup:


Clone this repository using git: "git clone https://github.com/asnakep/poolLeaderLogs.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 Variables on lines 42 and 45-48 of poolLeaderLogs.py
### Indicate your own timezone
Example:
local_tz = pytz.timezone('Europe/Berlin')

### Variables for poolId, poolTicker, vrf.skey
Example:
PoolId = "342350284fd76ba9dbd7fd4ed579b2a2058d5ee558f8872b37817b28"
PoolIdBech = "pool1xs34q2z06a46nk7hl48d27dj5gzc6hh9trugw2ehs9ajsevqffx"
PoolTicker = "SNAKE"
VrfKeyFile = '/home/user/cardano/vrf.skey'

# Usage:

python3 poolLeaderLogs.py

# Output:

- a *console output* with all the slots assigned for next, current and previous Epochs

About

Leader Logs Checker for Cardano SPOs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages