This script automates the process of querying the Cardano node for leadership schedule information for a specified stake pool. It checks whether the node is fully synced, determines the appropriate time to run the leadership query, and formats the result into a Grafana CSV file for analysis.
Automated leadership schedule query for a specified stake pool. Checks for node synchronization before running the query. Grafana CSV formatting for easy integration with monitoring tools.
A running Cardano block producer node. Installed Cardano binaries (cardano-cli, jq) in the system's PATH. Properly configured NODE_HOME directory and stake pool settings. Usage
Clone the repository:
git clone https://github.com/IndieStakeHub/SlotLeadership.git
cd SlotLeadership
Make the script executable:
chmod +x leaderSchedule.sh
Edit the script (if needed) with your specific configurations.
Run the script:
./leaderSchedule.sh
Contributions are welcome! Feel free to submit issues or pull requests.