/ftx-yield

Scheduled API call to FTX to compound lending and staking

Primary LanguageJavaScript

pioug/ftx-yield is a repository calling FTX API every ~hour (using GitHub Actions) to compound yield.

compound

Usage

Define the following secrets on GitHub:

  • FTX_API_KEY

  • FTX_SECRET

  • FTX_LENDABLE_COINS

    • Example: BNB GME USD
    • Caveat: Simple string search is used so putting "USD" will include "USDT" too
  • FTX_STAKABLE_TOKENS

    • Example: RAY SOL
    • Caveat: Simple string search is used
    • Note: Require a proxy since GitHub Actions servers are located in the US
  • PROXY

    • Example: https://my.proxy.com
    • See /proxy for an example of proxy server