Recipe #9: Track Deposit and Borrow Rates on Aave đź‘»
Last week we unveiled HAL v1, which makes it easier and more fun to create automation thanks to Recipes: a ,  way to create and  your favorite triggers.
Today’s recipe allows you to track deposit and borrow rates on Aave.
You can choose if you want to track borrow or deposit, the rate type (stable or variable) as well as for which asset (DAI, USDT, USDC, BAT, WBTC, ETH, REP, ZRX) — and of course you need to set the threshold. HAL will automatically fetch the current borrow/deposit rate and display it below the form:
Now you only need to set up your action. For example, to receive an email simply click on the “Send an Email” button:
The pre-filled message shows you how to access the Stable Borrow Rate, the Variable Borrow Rate, and the Liquidity Rate. If you want to tweak it using our template system, you’ll find the documentation on our Gitbook.
Click the “create” button and you’re set!
Email was just an example — you can set up as many actions you want to your new trigger. We support webhooks, Email, Twitter, Telegram, Discord, or Slack — and soon, on-chain actions as well!
What’s next
We’re on a roll integrating some of the most popular DeFi platforms: we already have recipes for PoolTogether, Aave, Compound, Loopring, Synthetix and thanks to Chainlink we even track gas prices.
Where to go from here
We’re going to release several new recipes over the next days, but we’d also love to hear from you which recipe you’d like to see next by filling the Typeform here.
Don’t forget to:
- Connect: you can follow us on Twitter (our DMs are open), join our builders community on Telegram, Discord and subscribe to our newsletter
- Check out our developers documentation, where you can learn how to create triggers programmatically using GraphQL and much more
- Start building triggers using HAL!