Skip to content

picoAMPERE/vexchange-yield-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project tracks the APY of the VTHO (in an LP with VET) and VEX Vexchange (in an LP with VET + farming)

How to run for the first time

  • Clone the repository
  • Add your info to initial JSON file
    • For every token you can set the amount of LP tokens you have (check Vexchange for this (or find it by interacting with the contract (similar to this)) (or just leave it at 1000 if you just want to see the APY)
    • For every token you need to set the start date ( = current date).
    • Don't touch the address of the token (needed to interact with the contract)
  • Install the required packages
  • Run the script After running the script, a HTML page will open showing the forecasted APY's.

Add tokens

  • You can add other tokens on Vexchange by adding them to the initial JSON file.
  • You would also need to initalise a new CSV file in the data folder called f'{token}.csv, with token being the name of the token. Enter the column names in this file and your initial amounts.

Disclaimer

This project is not affiliated with the Vexchange team. It was purely built for fun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published