A decentralized blockchain platform for peer to peer lending.
P2P System provides a crowd sourced loan platform where the users can create a loan request and the lender gets to choose the exact amount and the rate at which he wants to lend depending on his own risk assessment without any intermediary.
- Existing Loan Request
- Create new Loan Request
- Fund the Loan
- Refund
- Withdrawn by Borrower
- Account Defaulted or Repay
- Withdraw Re-paid fund back to Lenders
- Cancel Loan Request
- React with Web3
- Truffle
- Ganache
- Metamask
- Solidity
Required NPM packages
npm install --save truffle-hdwallet-provider
npm install --save dotenv
update the truffle-config.js:
const HDWalletProvider = require('truffle-hdwallet-provider');
require('dotenv').config();
In .env add following config
MNEMONIC=[the mnemonic generated from metamask]
INFURA_API_KEY=[INFURA KEY]
In client directory
npm start
Open http://localhost:3000 in the browser