DeFi on Bitcoin: How It Works
Bitcoin DeFi explained: how lending, trading and yield work with BTC via wrapped tokens, sidechains, Lightning, Stacks and staking, plus the trust trade-offs.
Bitcoin DeFi means using BTC in decentralized finance activities such as lending, borrowing, trading and earning yield, typically through wrapped BTC tokens on smart contract chains, Bitcoin sidechains and layer 2s, or protocols that let BTC help secure other networks. Bitcoin's own base layer has limited programmability by design, so most of this activity happens on systems connected to Bitcoin rather than on the main chain itself.
Bitcoin is the largest crypto asset, so there is strong demand to put it to work rather than leave it idle. The catch is that every route adds trust assumptions that plain self-custodied BTC doesn't have. This guide explains how the main approaches work and what you're trusting in each case.
Why Bitcoin Isn't Built for DeFi
Bitcoin supports simple programmable conditions through Bitcoin Script, enough for multisignature wallets, time locks and payment channels. It intentionally avoids the general-purpose smart contracts that Ethereum offers, prioritizing security, predictability and ease of verification.
That conservative design is one reason many people trust Bitcoin as a store of value. It also means developers who want lending markets or automated market makers for BTC have had to build around the base layer.
The Main Approaches
| Approach | How it works | Main trust assumption |
|---|---|---|
| Wrapped BTC on other chains | BTC is held by a custodian or bridge; a token is issued on Ethereum, Solana or elsewhere | The custodian or bridge |
| Federated sidechains | A separate chain pegged to BTC, controlled by a group of functionaries | The federation |
| Merge-mined sidechains | Separate chains secured partly by Bitcoin miners, with a peg mechanism | Peg operators and the sidechain's security |
| Bitcoin-linked layers | Networks that anchor to Bitcoin and offer smart contracts | The layer's own validators and peg design |
| Lightning Network | Payment channels settled on Bitcoin | Channel partners and your node's monitoring |
| BTC staking protocols | Locking BTC to provide security to other networks | Protocol design and the networks secured |
Wrapped BTC
The simplest way to use BTC in DeFi is to convert it into a token on a smart contract chain. Wrapped BTC (WBTC) on Ethereum is the best-known example, backed by BTC held by a custodian. Other wrapped versions are issued by exchanges or bridges. Once wrapped, BTC can be lent, borrowed against, or added to liquidity pools like any other token.
The risk is concentrated in whoever holds the real BTC. If the custodian is hacked, mismanaged or compelled to freeze assets, the wrapped tokens can lose their backing. WBTC's custody arrangements changed in 2024, which led some protocols and users to review their exposure. Our guide on how to wrap and unwrap tokens explains the process.
Sidechains
Sidechains are separate blockchains with a two-way peg to Bitcoin: you lock BTC on Bitcoin and receive an equivalent on the sidechain. Blockstream's Liquid Network uses a federation of members to manage the peg. Rootstock (RSK) is merge-mined with Bitcoin and supports Ethereum-compatible smart contracts. Both add functionality, but the security of the peg depends on the operators who control it.
Stacks
Stacks is a separate network that anchors its blocks to Bitcoin and supports smart contracts that can read Bitcoin's state. It has its own token, STX, and has developed sBTC, a design for bringing BTC into Stacks applications. Users rely on Stacks' consensus and peg design in addition to Bitcoin. Our Stacks (STX) explainer covers the project's basics, use cases and risks.
Lightning Network
Lightning lets users open payment channels and send BTC quickly and cheaply off-chain, settling to Bitcoin when channels close. It's mainly a payment system, but some services build swaps and liquidity markets on top. See what is Bitcoin's Lightning Network.
BTC staking and restaking
Some protocols let holders lock BTC, often using Bitcoin's native time locks, to provide economic security to proof-of-stake networks in exchange for rewards. Designs that avoid handing BTC to a custodian are appealing, but they are new, and the rewards, penalties and technical details vary widely.
What You Can Do With BTC in DeFi
- Borrow stablecoins against BTC collateral, without selling it.
- Lend BTC to earn interest from borrowers.
- Provide liquidity in BTC trading pairs to earn fees, with impermanent loss risk.
- Stake or restake BTC through specialized protocols.
- Trade BTC against other assets on decentralized exchanges.
Risks to Understand
- 1Custodian and bridge risk: wrapped BTC is only as good as its backing. Bridges have been some of the largest targets for hacks.
- 2Smart contract risk: bugs in lending, staking or bridge contracts can cause losses.
- 3Liquidation risk: borrowing against BTC means a sharp price drop can trigger forced selling of your collateral.
- 4Peg risk: sidechain and wrapped tokens can trade below BTC if confidence falls.
- 5Complexity: each layer adds steps, fees and room for user error.
- 6Yield sustainability: high advertised yields often come from token incentives that can disappear.
A Checklist Before Using BTC in DeFi
- 1Identify exactly who or what holds the underlying BTC.
- 2Check whether the wrapped or pegged token has transparent proof of backing.
- 3Review audits and the protocol's security history.
- 4Understand how and how quickly you can redeem for native BTC.
- 5Start small and avoid using your entire BTC holding.
Bottom line
Bitcoin DeFi is possible, but almost always through systems built around Bitcoin rather than on it. Wrapped tokens, sidechains, Lightning, Stacks and staking protocols each let BTC do more, at the cost of new trust assumptions. Before chasing yield on your bitcoin, decide whether the added custodian, bridge and smart contract risks are worth it compared with simply holding BTC in self-custody.
Pertanyaan umum
Can you do DeFi directly on Bitcoin?
Only to a limited extent. Bitcoin's scripting language is intentionally restricted, so complex DeFi apps like those on Ethereum can't run directly on the base chain. Most Bitcoin DeFi happens through layer 2s, sidechains, other networks connected to Bitcoin, or wrapped BTC tokens on other blockchains.
Is wrapped bitcoin the same as bitcoin?
No. Wrapped bitcoin is a token on another blockchain that represents BTC held by a custodian or a bridge. Its value depends on that custodian or bridge keeping the backing safe and honoring redemptions. If the backing is lost or frozen, the wrapped token can lose its value.
What is the safest way to earn yield on bitcoin?
There is no risk-free way. Every method, from lending to liquidity provision to staking protocols, adds risks such as custodian failure, smart contract bugs, bridge hacks or liquidation. Holding BTC in self-custody avoids these added risks but earns no yield. Consider whether the extra return justifies the extra risk.
Does the Lightning Network count as DeFi?
Lightning is mainly a payments network, not a lending or trading platform. It lets users send bitcoin quickly and cheaply through payment channels. Some services build swaps and other financial features on top of it, but most Bitcoin DeFi activity happens elsewhere.
