It aggregates compound and aave and provides internal aggregation to achieve the best rate for lending.
Using aggregated lending, the deposit rate is always the highest and the borrowing rate is always the lowest
http://35.220.222.252/aggregate-lending-web/markets
Note that this is only mvp, so this link may be expired, you can clone it and run it locally after that. Of course, you need to deploy your own backend service and liquidation robot. Otherwise, when your apr exceeds the liquidation rate, the liquidation event will not be executed properly.
-
recommend to use nodejs v16+.
-
recomment to use pnpm v7.
-
Don't change pnpm-lock.yaml, unless it's necessary .Normally use
pnpm install --frozen-lockfile
to install packages which is equal to 'npm ci'. -
use 'less', css modules , unocss(atomic css).
https://swr.vercel.app/zh-CN/docs/getting-started
recomment to install unocss vscode plugin which can show style results when hover
extend tailwind, so you can use any tailwind rules
https://www.rainbowkit.com/docs/custom-chains
https://docs.ethers.org/v5/getting-started/
https://www.yuque.com/zgryhn/duu5f7/xp2u5d
https://github.com/crcong/vite-plugin-externals
https://github.com/sanyuan0704/vite-plugin-chunk-split/blob/HEAD/README-CN.md