Project Name : Darsh Protocol
Project Track : DeFi
Team Name : mimians
Team Member(s) : 2 - @mikealDoraHacks URL : DoraHacks
Smart Contracts : BTTC Testnet
Project Test Instructions:
Project Info :
Darsh Protocol - Time based p2p lending.
Inspiration
The DeFi ecosystem have flourished in the last few years and not only we’ve been inspired by BTTC’s resiliency as one the top blockchain that offers best building blocks for DeFi, we believe DeFi can be more socialized and personalizable while maintaining it’s autonomy and permissionlessness to on-board the next generation of users into the ecosystem.
What it does
Darsh introduces a decentralized peer to peer lending platform which offers a way enabling lenders to maximize earnings on supplied assets while allowing borrowers access to fixed-term fixed-rate loans, removing the risk exposure of their collaterals to price-based liquidations. Borrowers are required to lock a certain amount of collateral to borrow a loan, in which the Collateral ratio is determined by the Rating group the user is categorized as.
Lenders and borrowers are also enabled to determine who to initiate a loan with based on their social stats and on-chain credibility.
How we built it
Architecture and design
We ideated on the project’s architecture and userflow using Figjam on Figma after deciding on what user pain point we are determined to solve. Thereafter, proceeding to design the User interface and developing the product. figma design
Frontend
Using the Vuejs framework and plugins like truffle-contract, jazzicon, time-ago and others, we were able to build the frontend application easier and faster, and Web3js library for interacting with our smart contracts.
Smart contracts
We used Chainlink price feed aggregatorV3 in our smart contract to get latest price of tokens, and some Openzeppelin standard contracts to build an error-safe and secured contracts.
Backend
For better indexing and querying of data, we used Moralis stream to sync events from our smart contracts to a mongo database via a nodejs application.
Challenges we ran into
Along the line we faced a few difficulties building the project which was due to scarce documentations and since it’s our first time verifying smart contract code on an EVM chain like BTTC, it was a bit tricky. But Luckily, after many attempts and help from the BTTC’s fantastic developer community, we were able to resolve them.
Accomplishments that we’re proud of
Firstly, we’re very proud of been able to have built a fully functioning prototype improving aspect of decentralized financing, despite the time constraint given.
We are also proud of the product we built starting from the ideation stage, to a user centered and friendly interface, down to the smart contract challenges and other technical aspects we’ve overcome.
What we learned
In building Darsh in the past few weeks, We learned a lot about smart contract development and EVM security best practices as well as a lot about how intricate developing a protocol solving a user problem can be, but in doing so we believe we are now much more proficient and knowledgeable BTTC developers than we initially were at the start of the hackathon.
What’s next for Darsh Protocol
**1. Further decentralizing our protocol, where all decisions governing how our protocol operates are decided by a DAO, and a token, tokenomics that incentivize Dao members, helping the protocol thrive further.
2. In increasing the coverage of our target audience, we plan to support other forms of collateral like other forms of tokenized assets in the future.
**
Built With
- BTTC
- figmas
- mongodb
- solidity
- express.js
- openzeppelin
- truffle
- vuejs
- web3js
- covalent-apis
Important Links
- WebSite
- GitHub Repo
- DoraHacks
- communication.with.info@mimi.money
Project Milestones:
- Further decentralizing our protocol, where all decisions governing how our protocol operates are decided by a DAO, and a token, tokenomics that incentivize Dao members, helping the protocol thrive further.
- In increasing the coverage of our target audience, we plan to support other forms of collateral like other forms of tokenized assets in the future.
- Deploy on mainnet.
- Finally, we will pitch to investors