Skip to content

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.

Notifications You must be signed in to change notification settings

IndieStakeHub/SlotLeadership

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Cardano Leadership Schedule Script

Overview

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.

Features

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.

Prerequisites

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

Contributions are welcome! Feel free to submit issues or pull requests.

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages