project screenshot 1
project screenshot 2
project screenshot 3

Aave Calculator

Calculate liquidation price, loan amount or collateral required for aave

Aave Calculator

Created At

HackMoney 2022

Project Description

Lets say you have 1WBTC in collateral and want to take to loan of 20k USDC, this tool will tell you what is the liquidation price of your WBTC. Similarly, if you want to take out some loan at some liquidation price, tool will tell you the amount of collateral needed. Also you can calculate how much you can borrow with given collateral and liquidation price.

How it's Made

Used aave ltv and liquidation threshold to calculate for liquidation price, collateral and loan amount. Fetched chainlink price data for assets listed on aave on ethereum, polygon and arbitrum network. Different assets on different networks have different ltv and liquidation threshold. Built with next.js, tailwindcss, ethers.js, chainlink price feeds.

background image mobile

Join the mailing list

Get the latest news and updates