
Mutuum
Mutuum is a collaterized lending platform built on a private Application Chain on the Mina Protocol
Demo
About
So basically the idea is like Aave, where users stake and borrow different tokens to maximize utility and profit. This just took it to a whole new level of difficulty/exploration by writing it from scratch with circuits. Every public function (runtime methods) has been tested to work properly, though not a 100% coverage (for time constraints) - There's a Faucet for users to get tokens and test out the platform - We created an additional DataFeed circuit to estimate the USD values of open positions on the platform (A combination of querying chainlink data feeds and a third party api) - Health factor is factored in the execution of withdrawal and borrow transactions. - There's a UI to execute all functions [stake, unstake, withdraw, borrow] with real-time updates as transactions are performed - A wallet that supports the MINA protocol should be used in interacting with the application e.g Auro Wallet - Tests for the circuit can ran to see that the circuits works properly NOTE: When the app is running, please keep an eye on the console, to see successful transaction receipts, and descriptive reasons behind why a particular transaction fails 🤝
How it's made
Protokit library was majorly used in the development of this project. We needed to create a circuit to act as an on-chain oracle to determine the USD value of open positions on the protocol, so we cleverly used chainlink's datafeed oracle and coingecko's api for querying the data from other blockchains. PS: protokit and privacy enabled blockchains was challenging and fun to build on.