Skip to content

0xrishitripathi/avail-stake-flow

Repository files navigation

Avail-Stake-Flow

Automate claiming staking reward payouts for Validators and Nomination Pools on Avail DA Network.

This tool is for:

  1. Validators who want to automate claiming their pending rewards for previous and upcoming eras.
  2. Nomination Pool Operators who want to automate compounding rewards of their Pool Members who have unclaimed pending rewards above a set amount.

       

Getting Started

  1. Clone the Repo
git clone https://github.com/0xrishitripathi/avail-stake-flow.git && cd avail-stake-flow
  1. Make sure you have Node.js v16 or above installed.
node -v
# check current Node.js version on your system. To install latest version follow below steps
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
# Download and setup the NodeSource repository
sudo apt-get install -y nodejs
# Install Node.js
  1. Proceed to install all required dependencies, including avail-js-sdk, using the following npm command:
npm install
  1. NOTE: Before running the script, please go though the configuration file config.ts to understand the settings and make neccesary changes for successful operation of the tool.
image

 

  1. Give Permission to the bash script
chmod +x staking-payout.sh
  1. Run the bash script
./staking-payout.sh
Screenshot 2024-09-09 at 1 46 24 AM

Set Alerts for your Validator Address as soon as the staking rewards are claimed:

https://web3alert.io/link/7HDdRR9SXLiKF48bqsqSz

image

About

Automate claiming staking reward payouts for Validators and Nomination Pools on Avail DA Network.

Resources

License

Stars

4 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors