The LendX Protocol contract is a decentralized lending and borrowing system that allows borrowers to request loans without collateral, while lenders provide funds and earn rewards based on their deposits. The system features loan repayment, late fees, insurance, and mechanisms to manage defaulters, including blacklisting.
Deploy the contract with the desired parameters. After deployment, users can interact with the contract for lending and borrowing functions.
baseInterestRate
: The interest rate applied to loans (default 5%).lateFeeRate
: The rate at which late fees are applied (default 2% per month).insurancePool
: A pool of funds used to cover defaulted loans.Contributions are welcome! To contribute, fork this repository, make your changes, and submit a pull request.
You can lend a amount in XFIs for 30, 90 and 180 days.
A borrower can request loan for 30, 90 and 180 days. Also, the borrower can also repay loan, calculate repayment amount and also can fetch loan history.
Admin can unblacklist borrower and recover defaulted funds.