Skip to content

yield-bay/bay-watcher-ts

Repository files navigation

bay-watcher-ts

The secondary ETL service for Yield Bay. This is used to index protocols which offer APIs in TypeScript.

Getting Started

  • Use the same database which was set up for bay-watcher
  • Copy sample env file cp .env.sample .env and set env variables.
  • yarn install
  • yarn build
  • yarn start

Integration Details

  • The integrations are done inside src/tasks directory.
  • The Karura and Mangata protocols had SDKs only in TypeScript, so we included them here.
  • Sirius has their own API to compute farm data, so we used some of their code here. (We also have an open PR in their repo).
  • Arthswap Single Staking farm is also implemented here, due to some issue with ethers-rs not working properly with a particular solidity function.
  • We run all the tasks every 5 minutes, as shown in src/main.ts.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published