Creating an Ordinal lending protocol using Bitcoin Discreet Log Contracts (DLC) involves designing a trust-minimized
system that enables borrowers to access loans while maintaining the security and trustlessness of the Bitcoin
blockchain. In this protocol,lenders and borrowers engage in DLC smart contracts, allowing borrowers to lock up Ordinal
collateral in a multisignature address while receiving a loan in return. The terms of the loan, such as interest rates
and repayment deadline, are be encoded in a DLC contract. Conditions are established to define the contract outcomes
(ie repayment amount and repayment deadline date). This mechanism ensures that borrowers meet their repayment
obligations and that lenders are appropriately compensated. By leveraging Bitcoin\'s native scripting language, as
well as Tapscript, and the Schnorr signature scheme, this protocol would provide a novel way to create trustless
lending agreements while minimizing the need for intermediaries. This system offers the first secure and transparent
solution for ordinal lending within the cryptocurrency ecosystem.
Architecture
Workflow
Borrower locks their Ordinal into a Loan Request Covenant. Bitcoin transaction fees apply. These are the covenant inputs.
The Loan Request Transaction has the following outputs:
The Ordinal Lock Covenant
The miner (transaction) fee
The borrower's change
The ordinal lock output and lender funding input create a funded loan request (Loan Funding Transaction).
Outputs from the Loan Funding Transaction are:
The Lender Funding Covenant
The miner (transaction) fee
The lenders' change
Finally, the borrower signs the lender funding covenant and receives the Funding amount
Scenario
When combined with the Deep Lake Oracle, the above scenario provides a trust-minimized process for enabling markets for many different Ordinal protocols.
sidebar_position: 1
Use Cases - Ordinal Lending
Architecture
Workflow
Scenario
When combined with the Deep Lake Oracle, the above scenario provides a trust-minimized process for enabling markets for many different Ordinal protocols.
Potential use cases
Considerations
Security
Try this scenario
Related resources