Overview of the Darsh Protocol project

Project Name : Darsh Protocol
Project Track : DeFi
Team Name : mimians
Team Member(s) : 2 - @mikeal

DoraHacks URL : DoraHacks
Smart Contracts : BTTC Testnet

Project Test Instructions:

Video instructions for the application

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

  1. BTTC
  2. figmas
  3. mongodb
  4. solidity
  5. express.js
  6. openzeppelin
  7. truffle
  8. vuejs
  9. web3js
  10. covalent-apis

Important Links

  1. WebSite
  2. Twitter
  3. GitHub Repo
  4. DoraHacks
  5. communication.with.info@mimi.money

Project Milestones:

  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.
  3. Deploy on mainnet.
  4. Finally, we will pitch to investors

Video Review

15 Likes

Welcome to Grand hackathon season 4, wishing you all the best :handshake:

6 Likes

All the best to you and your project
Welcome to Tron Hackathon session 4.

6 Likes

Thanks @Nweke-nature1.com

4 Likes

You are welcome, I saw your post under one project’s submission. I am glad you have done it the right way now. All the best

6 Likes

Bienvenido a este S4, suerte en su proyecto.

6 Likes

Thank you very much @Gordian

4 Likes

Thanks @Prince-Onscolo for the wishes. I was learning how to post here being a newbie.
Thanks again.

6 Likes

@antonio Muchas gracias por los mejores deseos de suerte.

5 Likes

You’ve helped to solve problems of people queuing at the banks for loans. I wish you all the best.

7 Likes

How do you make sure the system does not abuse the collateral to be provided by a borrower.

6 Likes

Tienes razón, lo que se busca es una solución y alternativa a estos problemas.

6 Likes

Thanks so much @kaarasamuel9 for the best of luck wishes, hope we win the prize that we intend to use for the initial investment to go mainnet and mainstream for real world use.

5 Likes

Great project, good luck.

4 Likes

Having documented Darsh to almost ten pages, it is hard for most users to read and digest in one go so we will posting a bit of the entire document here piece by piece for easy understanding beginning today.

4 Likes

Darsh’s mission is to create a socialized way of lending and borrowing while maintaining DeFi’s autonomy and permissionlessness by offering a decentralized peer to peer way for any individual to engage as a lender or borrower.

Our main goal is to provide an efficient and sustainable way for lenders to maximize their rewards on supplied asset by enabling them the ability to structure their loan terms while also removing the risk of an unexpected liquidation of a borrower’s collateralized loan all being settled on-chain in a fully decentralized manner.

6 Likes

Features

For Lenders:

Terms Structuring: Lenders are enabled to create offers with sets of predetermined loan terms, specifying the principal amount and asset type (ERC20), Collateral types, Loan duration, interest rate demanded to be met by a potential borrower.

2 Likes

Asset Vaulting: the principal supplied by a Lender is locked into a principal vault accessible to the lender anytime. The vault serves as a decentralized escrow between a lender and borrowers.

2 Likes

On-Chain matching: loan offers funded by lenders are matched and settled with a borrower once countersigned, all happening seamlessly with all transactions recorded and fully verifiable on-chain.

1 Like

Loan Managing: on approving and creating a loan offer, lenders are assigned the full authority to a created loan offer of actions like settling borrow requests, repayments claiming, asset vault management all achievable on-chain

1 Like