Skip to content

kshitij-404/DeFi-P2P-Lender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors


DeFi-P2P-Lender

Connecting people with their money.

reva


Table of Contents
  1. About The Project
  2. Project Design
  3. Screenshots
  4. Demonstration Video
  5. Features
  6. Technologies, Libraries and Packages Used
  7. Local Setup
  8. What Next?
  9. Team Members

About The Project

This project was developed for the RevaHack-2021, by team PilluzyM.

Small business owners often get exploited by moneylenders when borrowing money. High and unfair rates of interest, middlemen, and a process where the entire power lies in the hands of the lender leaves the borrowers vulnerable to exploitation. The entire process is very slow, and requires a lot of manual work.

We propose a solution to this problem through our DApp Decentralised Financial Peer to Peer Lender based on blockchain technology built on ethereum.

Why Blockchain?

  • Time efficient : Blockchain allows us to make the entire process decentralized, where neither of the parties has all of the power. It offers transparency and connects the borrower directly to the lender; with no middlemen involved. The process is automated and hence a lot faster than traditional lending methods.
  • Fair Interest Rates : Since blockchain is immutable, the interest rate once decided upon cannot be changed later in an unfair way. The lender gets to specify the desired interest rate beforehand and the borrower gets to choose the interest rate he wants from the ones offered by the different lenders.
  • Seamless repayment : Blockchain also removes the worry of the lenders of having their loans repaid. If the borrower does not repay the loan before the specified due date, the lenders have the mortgage submitted by the borrower which can then be auctioned off.

Project Design

reva

Screenshots

Screenshots of our DApp are added to this link.

Demonstration Video

Demonstration of our Dapp is added to this link.

Features

  • Borrowers can create their loan proposal with the amount they want, their favourable repayment due date and CID of their mortgage uploaded on IPFS.

As of now we are using a decentralised public IPFS gateway. To use our DApp generate your file CID here before adding it as a mortgage.

  • Lender's can verify the borrower's data and send their proposal with their favourable interest rate.
  • Borrower's can choose multiple lenders of their interest.
  • Borrower can repay the loan anytime they want before the due date and amortized loan will be transacted.
  • After the repayment date has passed, borrower cannot repay the loan and their mortgage will be revoked and auctioned off.

Technologies, Libraries and Packages Used

  1. Ethereum
  2. Solidity
  3. Truffle
  4. MetaMask
  5. JavaScript
  6. Ganache
  7. Web3
  8. jQuery

Local Setup

Pre-Requisites Ganache MetaMask Truffle

  1. Fork this repository.
  2. Clone the repository
     git clone https://github.com/kshitij-404/DeFi-P2P-Lender.git
  3. Open the folder in which you cloned the repository.
  4. Open Ganache to run your local blockchain.
  5. Run this command to build your smart contracts.
    truffle init
    truffle test
    truffle migrate --reset
  6. Update your config.js present in frontend directory using abi and address present in build files.
  7. Run on your local host and connect your wallet with metamask to perfrom the transactions.

Star this repository ✨ or send us some ethers at 0x08C5374DfB9Df1A5D42C76a00AcA277CF98ABe50

What Next?

  • We can create a local IPFS gateway to store the files and create CIDs.
  • We can have user profile system for both borrowers and lenders.
  • We can have a more robust system to verify the mortgages.
  • We can have a credit score system for both the borrowers and the lenders based on their transaction history.
  • We can have an alternative way to revoke the mortgage other than auctioning it off.

Team

Team Name - PilluzyM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •