Skip to content

yield-bay/yield-twitter-bot

Repository files navigation

YieldBay Twitter Bot

Description

Twitter bot that tweets the following whenever it's triggered -

  1. Top 3 farms by TVL on YieldBay List.
  2. Top 3 farms by safety score on YieldBay List.
  3. Top 3 farms by yield on YieldBay List.

How to run?

  1. Setup a Twitter Developers account.
  2. Generate the necessary credentials from your Twitter Developers dashboard.
  3. Create a .env file and populate it with the Twitter credentials.
APP_KEY=<your_twitter_app_key>
APP_SECRET=<your_twitter_app_secret>
ACCESS_TOKEN=<your_twitter_access_token>
ACCESS_SECRET=<your_twitter_access_secret>
  1. Install the dependencies. yarn
  2. Run the script node index.js

Setup tips

We at YieldBay run it as a cron job at a specific time everyday. You can configure it as a cron job to run as often as you want. This could also be morphed into an on-demand Telegram Bot to poll the data.

About

Yieldbay Twitter bot that tweets top TVL, APR and Safety score farms.

Resources

License

Stars

Watchers

Forks