Bitcoin Forum
January 15, 2026, 05:38:28 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Proposal] Trustless BTC-Backed Loans Using Taproot  (Read 28 times)
ColtBTCLoan (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 14, 2026, 08:25:02 PM
 #1

Newbie post seeking technical feedback. This proposal was drafted with AI assistance. Anyone is welcome to take these ideas forward (BIP or whatever).

[Proposal] Trustless BTC-Backed Loans Using Taproot (Phase 1 Today, Phase 2 Tomorrow)

TL;DR:
Alice needs a loan. She wants 0.20 BTC of liquidity for 365 days, agreeing to 0.05 BTC interest (total repayment: 0.25 BTC). She’s willing to lock 0.50 BTC as collateral. She doesn’t want to send her coins to a foreign custodian, so she and the lender use a simple on-chain setup detailed in Phase 1 and Phase 2 below.

Phase 1 works today with Taproot + timelocks and already beats most custodial loan models.
Phase 2 (future) adds covenants so repayment and collateral return happen without lender signature, eliminating the hold‑out problem and makes the loan fully trustless.

1) The Problem
Most BTC-backed loans today depend on custodians or centralized platforms, which creates:
Loss of control: You hand over coins and hope they don’t get frozen or lost.
Counterparty risk: Insolvency or hacks can wipe out your collateral.
Regulatory exposure: Centralized entities can be coerced to freeze or seize.
Privacy loss: KYC and on-platform activity linkage.

2) The Goal
Keep collateral governed by Bitcoin’s rules:
• Lender can’t seize early.
• Borrower can’t underpay.
• Cooperative settlements look like normal Taproot spends (privacy/fungibility).

3) Concrete Example
Loan: 0.20 BTC
Interest: 0.05 BTC
Total Repayment: 0.25 BTC
Collateral: 0.50 BTC
Term: 365 days
Alice does not want to send coins to a custodian.

4) Phase 1 — Works Today (Taproot + Timelock)
Collateral Lock: Alice locks 0.50 BTC in a Taproot output with two spending paths:
Cooperative key‑path: Alice + lender co‑sign anytime → collateral returns to Alice.
Script‑path fallback:
       • After 365 days the lock is released and collateral returns to Alice.
       • However, after 364 days, if Alice has not repaid the loan, the lender can claim the collateral via CLTV. This gives the lender priority by one day to prevent last-block race conditions.

Flow:
• If Alice repays early, cooperative spend looks like a normal Taproot spend (private).
• If Alice disappears, lender broadcasts timelocked fallback after day 364.

Known Limitation — Lender hold‑out:
If Alice repays off‑chain first, a malicious lender can refuse to co‑sign and wait for day 364 fallback.

Risk Mitigations:
Atomic repayment (single PSBT): Inputs: Alice’s 0.25 BTC repayment + the 0.50 BTC collateral UTXO. Outputs: 0.25 BTC to lender; 0.50 BTC back to Alice. Both co‑sign → repayment and collateral return happen together, or not at all.
• Or obtain a fully co‑signed, fee‑robust cooperative transaction before sending repayment (enable RBF and/or ensure CPFP from an Alice‑controlled output).

5) Why Phase 1 Already Beats Today’s BTC Loan Model
• No custodians: Collateral stays in a Taproot address controlled by script rules.
• Reduced counterparty risk: If the lender disappears, the timelock guarantees Alice can recover collateral (after expiry).
• Privacy: Cooperative spends look like ordinary Taproot transactions.
• Less regulatory exposure: Pure on‑chain enforcement.
• Deployable now: Uses existing primitives (Taproot, CLTV, PSBT).
Caveat: Phase 1 still has lender hold‑out risk. Phase 2 removes that.

6) Phase 2 — Future Upgrade (Covenants like OP_CTV/OP_CAT)
How Phase 2 Eliminates Hold‑Out and makes the loan fully trustless:
• Script‑enforced repayment template: The collateral Taproot script commits to a transaction template that must:
– Pay the lender 0.25 BTC (principal + interest), and
– Return the full 0.50 BTC collateral to Alice (minus fees if desired).
• Unilateral by Alice: At payoff, Alice assembles that exact transaction, adds her 0.25 BTC inputs, and broadcasts.
• The network checks the covenant; no lender signature required.
• Safety preserved: If Alice never broadcasts, the 364‑day lender fallback path still exists.

Operational Notes:
• The template can specify exact outputs and fee policy (e.g., fee from Alice’s inputs, or multiple fee‑tier variants pre‑committed).
• Cooperative key‑path remains for privacy when both parties are aligned.
• The explicit 0.05 BTC interest baked into the template prevents underpayment games.

7) Implementation Today (Phase 1)
• Taproot output with:
– Key‑path: Alice + lender keys (cooperative spend).
– Script‑path: OP_CHECKLOCKTIMEVERIFY leaf enabling lender to spend after 364 days.
• PSBT workflow for multi‑party signing (hardware‑wallet and cross‑wallet friendly).
• Fee strategy: Prefer RBF or ensure CPFP via an Alice‑controlled output in the cooperative transaction.

8) Questions for the Community
• Would you use this setup for BTC‑backed loans today (Phase 1)?
• Should wallets implement a PSBT flow for the atomic repayment pattern?
• For Phase 2: Is a standardized covenant repayment template (principal + interest + collateral return) worth pursuing?

9) Related Work (plain‑text links)
• Taproot basics & tooling (Bitcoin Optech): https://bitcoinops.org/en/topics/taproot/
• Taproot technical explainer: https://learnmeabitcoin.com/technical/upgrades/taproot/
• OP_CHECKTEMPLATEVERIFY (BIP‑119) on Optech: https://bitcoinops.org/en/topics/op_checktemplateverify/
• Covenants overview (CTV) on covenants.info: https://covenants.info/proposals/ctv/
• OP_CAT explainer (Bitcoin Magazine via Nasdaq): https://www.nasdaq.com/articles/op-cat:-the-purr-fect-solution-for-covenants
• OP_CAT entry (covenants.info): https://covenants.info/extra/cat/
• DLC lending: Lava Loans v2 (Bitcoin Magazine): https://bitcoinmagazine.com/technical/lava-loans-protocol-v2-dlc-based-bitcoin-collateralized-loans
• MIT DCI — Discreet Log Contracts: https://www.dci.mit.edu/projects/discreet-log-contracts
• Liquidium DLC explainer: https://liquidium.wtf/blog/dlcs-%28discreet-log-contracts%29-bitcoin-smart-contracts
• Lygos Finance acquisition (Yahoo Finance): https://finance.yahoo.com/news/lygos-finance-acquires-atomic-finance-120000622.html

10) Trade‑offs & Design Choices (quick comparison)
Phase 1 (Taproot + CLTV + PSBT, no oracles)
Pros: Deployable today; no custodians; cooperative spend looks like ordinary Taproot; lender disappearance is survivable via timelock.
Cons: Lender hold‑out risk (co‑signature needed for cooperative repayment); no price‑aware liquidations (oracle‑free means time‑based rather than LTV‑based).

DLC‑style loans (multisig + timelocks + oracles)
Pros: Price‑based margining/liquidation via external oracles; several implementations exist; discreet on‑chain footprint.
Cons: Oracle dependency/coordination; more complex ops; cross‑chain settlement can add trust assumptions.

Phase 2 with covenants (OP_CTV / OP_CAT / CSFS)
Pros: Unilateral, template‑enforced repayment (no lender veto); reduced interactivity; clearer fee policy via templating; cooperative key‑path remains for privacy.
Cons: Requires consensus changes and broad agreement; template rigidity vs flexibility; potential privacy trade‑offs if templates are visible on‑chain.
Ambatman
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1161


Don't tell anyone


View Profile WWW
January 14, 2026, 08:36:35 PM
 #2

Maybe it's me but I'm curious why would I want a loan on Bitcoin when I have more than said amount
Even if you going to say Alice doesn't want to sell
It doesn't change anything since she still has to pay in Bitcoin.
This doesn't seem rational except maybe to escape tax gains( which at the end you will still pay if you ever sell)
Well again depending on jurisdictions.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
ColtBTCLoan (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 14, 2026, 10:48:31 PM
 #3

You are right, here is the Fiat-based loan example:

Phase 1 (Today) — Fiat-Denominated Example (Cooperative)

Day 0
• BTC price = $40,000
• Borrower needs $8,000 in fiat terms
• Lender sends 0.20 BTC (because $8,000 ÷ $40,000 = 0.20 BTC)
• Borrower locks 0.50 BTC as collateral in the Taproot contract
• Loan terms: repay $8,000 + $500 interest (= $8,500) in 365 days

Day 300
• BTC price has tripled to $120,000
• How many BTC equal $8,500 now? $8,500 ÷ $120,000 = 0.0708 BTC → ~0.071 BTC
• Borrower have the money to repay early and sends 0.071 BTC to the lender
• Lender co-signs the cooperative spend to release the 0.50 BTC collateral back to borrower

Result
• Borrower repays a fixed fiat amount ($8,500), with the BTC amount adjusted by the current price
• Works today via cooperative signing (no oracle; lender confirms price at payoff)


Phase 2 (After CTV or Similar) — Fiat-Denominated Example (Unilateral + Oracle)

Goal: fixed fiat obligation, no lender co-signature at payoff, no hold-out risk.


Day 0
• BTC price = $40,000
• Borrower needs $8,000 in fiat terms
• Lender sends 0.20 BTC (because $8,000 ÷ $40,000 = 0.20 BTC)
• Borrower locks 0.50 BTC as collateral into a covenant (e.g., CTV) that pre-commits multiple repayment templates[br• Loan terms: repay $8,000 + $500 interest (= $8,500) at Day 365
• The covenant templates all send:
– Output A → lender (variable BTC amount that corresponds to $8,500 at payoff), and
– Output B → borrower (returns full collateral, minus fees if needed)
• The templates differ only by the BTC amount in Output A (discrete “price buckets”) so one of them will match the payoff price



Day 300
• BTC price = $120,000
• Oracle publishes a signed price attestation for the agreed timestamp
• The covenant allows repayment using the pre-committed template whose BTC amount equals $8,500 at $120k/BTC → ~$8,500 ÷ $120,000 = 0.071 BTC
• Borrower selects that template and broadcasts unilaterally (no lender signature)
• Collateral is automatically returned to borrower per the template



Result
• The borrower repays a fixed fiat amount ($8,500), with the BTC amount auto-adjusted by the current price
• Covenant enforces the exact payout shape + unilateral execution
• Oracle attestation provides the price so the correct template is chosen
No lender hold-out; repayment and collateral return finalize in one transaction


Notes
• Multiple fee-tier templates can be pre-committed to handle mempool conditions
• Multi-oracle setups (e.g., 2-of-3) can reduce reliance on a single price source
goldkingcoiner
Legendary
*
Offline Offline

Activity: 2660
Merit: 2792


HoDL or poor


View Profile WWW
January 14, 2026, 11:45:31 PM
 #4

I think the issue of BTC loans is that BTC is not stable in value. It is quite volatile. Can you really make loans with a volatility like that?
Also, I am not sure of the technical requirements and limitations to this whole idea.

The best way to prove it works is to create a open source, minimal viable project. If it works, I would love to hear more.   

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!