Darsh Protocol
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.
website | documentation | figma design | devpost
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.
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.
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.
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.
Offer Bidding: on a lend loan offer, borrowers are allowed to directly request for a borrow loan offer with loan terms relative to the lend loan initially offered by a lender.
Permissionless Borrowing: principals can be borrowed by borrowers permissionlessly from a lend loan offer created by a lender, once the loan terms demanded are met.
Customed Repayment: loan repayments are ease for borrowers to reassess their collateralized asset anytime once repaid. Repayments can be paid in proportions or once within the loan duration specified.
The LendingPool contract is the main point of interaction with the DARSH protocol's market.
Users can:
- Create Lending/Borrowing offers
- Request for new terms on offers
- Repay (Fully/Installment)
- Claim principal and earnings
- Claim back collateral
- Cancel/Reject/Accept requests
- and more.
Admin can:
- Liquidate matured loans
- Withdraw accrued fees
- Change owner
- Update configs
| Darsh Token | DSH |
This ensures the protocol can rapidly adjust to changing market conditions, as well as update core parts of the protocol as time goes on.
DARSH token holders will receive governance powers proportionally to their balance.
The governance power which is used to vote for or against existing proposals, and gives access to creating and sustaining a proposal.
A platform fee of 5% will be deducted from interests paid by borrowers.
More revenue models will be introduced as we grow and unlock more use cases to our users.
Create a .env
like the .env-example
and update with valid keys and mnemonic/phrase or private key
- Compile contracts
truffle compile
- Migrate contracts
truffle migrate --network=testnet|mainnet --compile-none
- Set configs
truffle test --network=testnet|mainnet --compile-none --t1
- Run test
truffle test --network=testnet|mainnet --compile-none --f2
- Verify contracts
truffle verify --network=testnet|mainnet --license=MIT
- Run frontend
npm run dev
- Start node backend
npm run start
Smart contract | Frontend | Backend | Design | Cloud services |
---|---|---|---|---|
Truffle and plugins | Vuejs | Expressjs | Figma | Netlify |
Web3js | Web3js | Web3js | Render | |
Covalent API | Moralis Stream | |||
Jazzicon | Mongodb |
- Solidity
- Javascript
- HTML/CSS
- Chainlink Price Feed
- Openzeppelin
Arogundade Ibrahim
Position: Web3 Fullstack Developer
Awolola Idowu
Position: UI/UX Designer