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.

Aave Calculator showcase

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.