Side Protocol
DiscordTwitter
  • overview
    • Side Introduction
      • Preliminary
      • Architecture
        • Bitcoin Compatibility Layer
        • Oracle++
        • Trustless Relayer
        • Native BTC-Collateralized Lending System
          • Lending Workflow Overview
          • Loan Assignment
          • Repayment
          • Liquidation
          • Loss of Liveness
        • Additional Features
        • Interoperability
      • Security
    • Front-end
      • Side Station
      • Side Hub
      • Side Wallet
      • Product FAQs
        • How to bridge sBTC
        • How to bridge Runes
        • How to bridge USDC
        • How to switch gas token
        • How to switch wallet address type
    • $SIDE Token
      • Role of $SIDE
  • Developer
    • Mainnet
      • Side Chain Node Installation & Setup
      • Run a Full Node
      • Run a Validator
      • Cosmovisor
      • State Sync
    • RPC
  • About
    • Official Links
    • General FAQs
    • Privacy Policy
Powered by GitBook
On this page
  1. overview
  2. Side Introduction
  3. Architecture
  4. Native BTC-Collateralized Lending System

Repayment

Repayment

The borrower must repay the loan before the Maturity Time to avoid default liquidation. Assuming the loan is denominated in USDC, the repayment flow proceeds as follows:

  1. The borrower submits a USDC transfer transaction to the Lending Contract to repay both the principal and accrued interest.

  2. Event Signers sign an attestation of the repayment event, which is triggered by the Lending Contract, and publish the signature on the Side Chain.

  3. Anyone (including relayers) can use the Event Signers’ attestation signature to reveal the corresponding CET adaptor signature, and broadcast the CET on the Bitcoin network to release the collateral back to the borrower.

PreviousLoan AssignmentNextLiquidation

Last updated 1 month ago