Skip to content

Latest commit

 

History

History
82 lines (53 loc) · 4.92 KB

README.md

File metadata and controls

82 lines (53 loc) · 4.92 KB

Lendbit: Decentralized P2P Lending and Borrowing Platform

Liquidation Process

Empowering Community-Driven Financial Solutions

Lendbit is a decentralized finance (DeFi) platform designed to revolutionize peer-to-peer lending and borrowing, enabling financial freedom and control through community-driven solutions. By leveraging blockchain technology, Lendbit ensures transparency, security, and efficiency in financial transactions.

Key Features

  • Custom Loan Ads: Lenders can create personalized loan offers, specifying terms such as interest rates, duration, and collateral types.
  • Flexible Borrowing: Borrowers can explore loan offers, selecting the ones that best meet their financial needs.
  • Multi-Token Collateral: Support for multiple tokens like ETH, DAI, and USDC as collateral.
  • Smart Collateral Management: Automatic tracking of loan health with real-time monitoring and automated liquidation mechanisms.
  • Transparent & Fair: Blockchain ensures all transactions and loan terms are verifiable and immutable.
  • Liquidation & Off-Chain Bots: A seamless liquidation process backed by off-chain bots, ensuring loan security and instant repayment in case of collateral underperformance.

How It Works

system design

  1. Collateral Deposit: Borrowers can deposit multiple tokens as collateral for loans.
  2. Real-time Valuation: Lendbit integrates oracle services to provide up-to-date market prices, ensuring accurate collateral valuation.
  3. Loan Creation: Lenders create customized loan offers or participate in lending pools with predefined terms.
  4. Borrower Selection: Borrowers browse available offers and choose those that fit their needs.
  5. Smart Contract Execution: After an agreement, the smart contract calculates the loan amount based on collateral and loan-to-value (LTV) ratio.
  6. Loan Disbursement: Once the contract conditions are met, the borrower receives the loan in their desired token.

Collateral Management

Liquidation Process

  • Multi-Token Support: Borrowers can use assets like ETH, DAI, and USDC as collateral.
  • Accurate Valuation: Real-time prices are retrieved from oracles to calculate total collateral value in USD.
  • LTV Ratio: The system sets a loan-to-value (LTV) ratio, typically up to 80%, to determine the maximum loan amount.
  • Loan Monitoring: Loans are actively monitored, and users can manage their collateral to maintain healthy loan conditions.

Automated Liquidation & Off-Chain Bots

Liquidation Process

Lendbit's platform includes an automated liquidation process to safeguard lenders and ensure platform stability:

  1. Real-Time Loan Health Monitoring: Loans are constantly evaluated based on collateral value and market fluctuations.
  2. Eligibility for Liquidation: If a loan's health factor (collateral value vs. loan value) drops below a predefined threshold (usually < 1), it becomes eligible for liquidation.
  3. Off-Chain Liquidation Bots: Off-chain bots instantly trigger the liquidation process, selling off collateral and repaying the lender to cover the outstanding loan balance.

This ensures seamless execution of liquidation without delays, maintaining the financial security of the platform.

Why Choose Lendbit?

  • Community-Driven: Users are empowered to set and control their own lending and borrowing terms.
  • Multi-Collateral Support: Flexibility to use various cryptocurrencies as collateral.
  • Automated & Efficient: Built-in smart contracts and off-chain bots streamline the collateral management and liquidation processes.
  • Transparent & Secure: All transactions and loan details are recorded on-chain, providing transparency and reducing counterparty risk.

Getting Started

Follow these steps to start using Lendbit:

  1. Connect your wallet (MetaMask, WalletConnect, etc.) to the Lendbit platform.
  2. Browse loan offers or create custom loan ads with your desired terms.
  3. Deposit collateral (ETH, DAI, USDC) to secure your loan.
  4. Once the loan terms are agreed upon, receive the loan in your chosen token.

Smart Contract Addresses

  • DiamondCutFacet deployed: 0x26E8D28be621253Ea834210a9B955C244e84D64a
  • Diamond deployed: 0x7286F2708f8f4d0a1a1b6c19f5D14AdB4c3207B2
  • DiamondInit deployed: 0x0BCd2893e7a5919DfDff95173dB1d0C5DceF85C0

Deploying facets

  • DiamondLoupeFacet deployed: 0x50e53dbbe0ffb102676c4c44faCf7D6BbD6362BD
  • OwnershipFacet deployed: 0xe614d6De7E342ae9394b4EA813285E1371dd779e
  • ProtocolFacet deployed: 0x09C4De2818D8DAaBefA1aDb016134199f1418aaB

Contributing

We welcome and encourage contributions from developers and community members! If you're interested in contributing to Lendbit, please follow our [Contribution Guidelines] or reach out via X @lendbit.