Simple Bot to Restake tokens every 24h on Ronin chain. Creating compound interest with RON and AXS tokens.
This strategy involves claiming the rewards (AXS tokens) and swapping the AXS tokens to RON and WETH to create LP tokens and deposit the LP tokens into the farm on the Katana DEX for RON rewards, thereby compounding the daily RON yields.
From: https://stake.axieinfinity.com/
To: https://katana.roninchain.com/#/farm
This strategy involves claiming farm rewards (RON tokens) and swapping the RON tokens to AXS and staking it into the AXS staking vault for AXS rewards, thereby creating a farming loop between the LP and AXS farms.
From: https://katana.roninchain.com/#/farm
To: https://stake.axieinfinity.com/
You will need to create a file called .env in the root directory, copy the text in .env.example and fill in the variables
You could run it on your desktop just using Node.js in your terminal. However, on a production environment, it is recommended to use something like PM2 to run the processes to ensure robust uptime and management.
npm install
pm2 start strategy1.js -n "AXS"
pm2 start strategy2.js -n "RON"
pm2 save
pm2 start RoninTP.js -n "RON"
pm2 save