A tiny server that helps you retrieve all palidators and their upcoming leader slots.
use the sample .env file as a reference, you will require a good rpc for this.
# Clone the repository
git clone https://github.com/your-username/paladin-server.git
cd paladin-server
# Build with Rust nightly (requires Rust installed)
cargo build --releaseFetch all palidator public keys for current epoch
{
"fish..adsf": [
329623876,
329623874
],
"frs....dfad": [
329623874
]
}Get next leader palidator
{
"pubkey": "Csd...def",
"leader_slot": 42424242,
"context_slot": 42424242
}Get next leader palidator on or after given slot
{
"pubkey": "Csd...def",
"leader_slot": 42424242,
"context_slot": 42424242
}