Code Monkey home page Code Monkey logo

axs-restake's Introduction

Axie Restake

Axie Infinity Simple Bot to Restake tokens every 24h on Ronin chain. Creating compound interest with RON and AXS tokens.

Strategy 1

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

Strategy 2

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/

ENV Variables

You will need to create a file called .env in the root directory, copy the text in .env.example and fill in the variables

How to Run

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

RON Compound

pm2 start RoninTP.js -n "RON"
pm2 save

axs-restake's People

Contributors

azurekn1ght avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.