Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding APY to Deposit Blink Title #1

Open
ChesterSim opened this issue Jul 12, 2024 · 1 comment
Open

Adding APY to Deposit Blink Title #1

ChesterSim opened this issue Jul 12, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@ChesterSim
Copy link
Contributor

We want to be able to display the deposit APR of the deposit token in the Blink title, if the APR is >= 0.1%.

You may make use of the following functions from @drift-labs/sdk

  • DriftClient.getSpotMarketAccount()
  • calculateDepositRate()
@ChesterSim ChesterSim added the good first issue Good for newcomers label Jul 12, 2024
@arihantbansal
Copy link
Contributor

Interested in trying this out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants