A set of DeFi primitives built from scratch to learn.
A simple Dex which runs on AMM formula k=x*y. The token exchange amount calculation is done in the frontend.
Basic lending & borrowing functionalities. Users could borrow a token by depositing ETH.