A Simple script that will do a batch call of all of the eras in a range and payout the rewards to the stash account.
- Install Deno from https://deno.land/
- Clone the repository
- Set up the environment file
cp .env.example .env- Edit the .env file with your SURI, this account does not need to be the validator account, it can be any account that has some TNT to pay for the transaction fees.
deno run -A main.ts --helpdeno run -A main.ts tgD9wRg4oaSwzZjFjM32cHM7BM9YgDeKnyDhQMYaCpe2eRmPV --from-era 0 --to-era 100