Rootstock (RSK): Bitcoin Smart Contract Sidechain Explained
Rootstock (RSK) is a Bitcoin sidechain that adds EVM smart contracts via merged mining and a 1:1 BTC peg. Learn how Powpeg, RBTC, and Bitcoin DeFi work.
Key takeaways
- Rootstock (RSK) runs its own consensus as a sidechain, but borrows Bitcoin's proof-of-work security through merged mining – a hybrid position between sidechain and Layer 2.
- RBTC is the native gas token of Rootstock, pegged 1:1 to BTC through a mechanism called Powpeg. It is BTC that has been bridged onto Rootstock.
- Merged mining allows Bitcoin miners to secure Rootstock simultaneously with Bitcoin, using the same hardware and energy.
- Powpeg is the bridge between Bitcoin and Rootstock. It uses hardware security modules (HSMs) and proof-of-work attestation to minimize trust requirements.
Rootstock (RSK) is a Bitcoin sidechain that enables smart contracts and decentralized applications on top of Bitcoin's security. It was created because Bitcoin's scripting language was designed for security, which makes smart contracts impossible at the base layer without compromising Bitcoin's core properties.
The question "can Bitcoin do DeFi?" has been around for a long time. Rootstock is one of the oldest answers and still one of the most technically rigorous ones.
What Is Rootstock (RSK)?
| In short: Rootstock is a smart contract platform that runs alongside the Bitcoin blockchain as a sidechain. It launched its mainnet in January 2018 and has become one of the longest-running Bitcoin scaling projects in existence. |
The project originally operated under the name RSK, then rebranded to Rootstock in 2022, though RSK is still widely used to refer to both the network and its technical architecture.
The core premise: Bitcoin is highly secure but not programmable. Rootstock adds programmability without touching Bitcoin's protocol.
Rootstock operates with two native tokens:
- RBTC (Smart Bitcoin): The gas token used to pay transaction fees on Rootstock. It is pegged 1:1 to BTC and has a hard cap of 21 million units, mirroring Bitcoin's supply exactly. RBTC comes into existence only when real BTC is locked on the Bitcoin blockchain.
- RIF (RSK Infrastructure Framework): A separate utility and governance token used to access services built on the Rootstock ecosystem, including naming services, payments infrastructure, and oracles.
Is Rootstock a Layer 2 or a sidechain?
- A true Bitcoin layer 2 derives its security entirely from the parent chain's consensus mechanism – think of how Ethereum rollups settle state back to the Ethereum mainnet.
- A Bitcoin sidechain, by contrast, runs its own consensus independently and merely maintains a bridge to the main chain.
Rootstock falls between these two categories. It has its own block production and consensus, which technically makes it a sidechain. However, it inherits a significant portion of Bitcoin's proof-of-work security through merged mining – a mechanism that connects RSK's security directly to Bitcoin's hashrate.
As of Q1 2025, over 81% of Bitcoin's total hashrate was contributing to Rootstock's security, according to Messari's State of Rootstock report.
Rootstock Labs officially positions the network as a "Bitcoin Layer 2," reflecting this deep security inheritance. For practical purposes, it sits closer to L2 than most sidechains, but not as tightly bound to Bitcoin's consensus as a rollup would be.
"Rootstock was built with a design philosophy that most smart contract platforms never bothered with: keep Bitcoin at the center. While other ecosystems launched with their own native tokens and monetary policies, every RBTC in existence requires a real BTC to be locked on the Bitcoin blockchain. The commitment is essentially to give Bitcoin programmability without giving it a new coin. That single constraint shapes everything about how Rootstock works. And after seven years of mainnet operation, the architecture has held true to it without compromise."
— BytebyByte, Cryptothreads.io
How Merged Mining Works on Rootstock
| In short: Merged mining is what allows Bitcoin miners to secure Rootstock simultaneously with Bitcoin, using the same computational work without additional hardware or extra electricity. |
Here is how the mechanism works at a technical level:
- When a Bitcoin miner constructs a block, they include a special field in the coinbase transaction (the first transaction in every Bitcoin block).
- Rootstock's block header hash is embedded into this coinbase field.
- The miner then solves the proof-of-work puzzle for Bitcoin as normal.
- If their solution also meets Rootstock's difficulty threshold, which is lower than Bitcoin's difficulty, the same block is accepted as a valid RSK block simultaneously.
→ The result: one set of computational work produces two valid blocks on two separate chains.
As of Q1 2025, merged mining participation surged to an all-time high of 81% of Bitcoin's hashrate, up from 56.4% in Q4 2024, after major mining pools Foundry and SpiderPool joined the network, according to Messari. This translates to over 740 exahashes per second of hash power securing Rootstock, surpassing the total Bitcoin network hashrate recorded in October 2024.
What incentivizes miners?
Bitcoin mining pools that merge-mine Rootstock receive 79% of all Rootstock transaction fees, paid in RBTC. This creates a direct economic incentive for miners to participate without any conflict with their Bitcoin mining operation. For miners facing shrinking block rewards after each halving, this represents additional revenue from the same hardware.
The security implications are significant. To attack Rootstock, an adversary would need to control a majority of the participating Bitcoin hashrate – a cost measured in billions of dollars.
What Is Powpeg and How Does BTC Move to Rootstock?
| In short: Powpeg is Rootstock's two-way bridge between the Bitcoin blockchain and the Rootstock sidechain. It is what allows users to convert BTC into RBTC and back again. |
The basic flow:
1. Peg-in (BTC → RBTC):
- You send BTC to a special Bitcoin address controlled by the Powpeg federation.
- The BTC is locked in a multi-signature wallet on the Bitcoin blockchain.
- After 100 Bitcoin block confirmations (~16 hours), an equivalent amount of RBTC is minted to your Rootstock wallet address.
- Your original BTC remains locked and fully auditable on Bitcoin L1.
2. Peg-out (RBTC → BTC):
- You send RBTC back through the Powpeg bridge.
- The RBTC is burned (removed from circulation).
- After approximately 200 Bitcoin block confirmations, the equivalent BTC is released to your Bitcoin wallet.
Powpeg is a federated bridge, meaning a defined group of participants, called pegnatories, collectively control the BTC escrow. What makes it distinct from typical multisig bridges is a layered security model:
- HSMs (Hardware Security Modules): Each pegnatory uses a tamper-proof Ledger hardware device. Private keys never leave the device. Signers cannot manually authorize arbitrary transactions. The firmware only signs peg transactions that have been validated by sufficient cumulative proof-of-work on both chains.
- Merge-mining attestation: The HSMs run Rootstock in SPV mode, meaning they only sign a release if there is a valid, well-confirmed chain behind the request. An attacker cannot forge a peg-out without controlling significant Bitcoin hashrate.
- Transparency: The BTC escrow address is public and auditable on Bitcoin. Anyone can verify that the circulating RBTC supply is backed 1:1 by locked BTC.
As of early 2025, the Powpeg federation consists of 9 pegnatories (5-of-9 multisig required to sign), including organizations such as Luxor, Sovryn, Xapo Bank, and RootstockLabs. Following the Reed network upgrade completed in Q3 2025, plans call for expanding the federation to 20 pegnatories, with a longer-term target of 60, increasing decentralization over time.
How Rootstock Brings Smart Contracts to Bitcoin
| In short: Rootstock brings smart contracts to Bitcoin through the Rootstock Virtual Machine (RVM), which is an execution environment that is fully compatible with the Ethereum Virtual Machine (EVM). |
This means developers can write Solidity smart contracts and deploy them on Rootstock using the same tools they use on Ethereum, such as Hardhat, Truffle, MetaMask, Web3.js, and Ethers.js.
The practical implications for the developer community are real:
- Ethereum-native protocols have already been deployed on Rootstock, including Uniswap, SushiSwap, and Beefy Finance – ported without rewriting core contract logic.
- Block time on Rootstock is approximately 30 seconds, compared to ~10 minutes on Bitcoin and ~12 seconds on Ethereum.
- The Lovell network upgrade in Q1 2025 reduced gas fees by 60%, significantly improving competitiveness for everyday transactions.
- The Reed upgrade in Q3 2025 introduced Segwit-compatible pegouts and reduced peg-out costs by another 60%.
The EVM compatibility also means Rootstock benefits from Ethereum's vast developer tooling ecosystem without needing to rebuild from scratch.
Is Rootstock Secure?
| Direct answer: Rootstock's security track record is arguably its strongest attribute. Since its mainnet launch in January 2018, the network has maintained 100% uptime with no chain resets and no major protocol-level exploits – a record that most newer Bitcoin L2s cannot yet match. |
The security model operates on two layers:
- Block-level security: Secured by Bitcoin's proof-of-work through merged mining. With 81%+ of Bitcoin's hashrate participating, reorganizing Rootstock blocks would require controlling a majority of one of the most expensive-to-attack computational systems ever built. You can read Can Bitcoin Be Hacked? to further understand real security risks behind the Bitcoin network.
- Bridge-level security: Secured by Powpeg – the HSM-based federated bridge described above. This layer is strong but carries a different risk profile than the block layer. The 5-of-9 multisig structure with hardware-enforced signing provides meaningful protection, but it is not equivalent to on-chain cryptographic verification.
In February 2025, Foundry, one of the largest Bitcoin mining pools in the world, joined Rootstock's merged mining network, pushing participation to record levels.
Where security limitations remain:
- The peg is federated. Federation compromise, while technically difficult, remains a theoretical vector.
- Smart contract risk exists at the application layer. Rootstock's protocol being secure does not mean every dApp deployed on it is audited or safe.
- Peg-in and peg-out wait times (up to ~16 hours and ~33 hours, respectively) create user experience friction and exposure windows during the confirmation period.
Rootstock vs. Other Bitcoin Scaling Solutions
Rootstock is not the only attempt to extend Bitcoin's capabilities. Here is how it compares to the most prominent alternatives:
Rootstock (RSK) | Lightning Network | Stacks | Liquid Network | |
| Type | Sidechain (EVM) | Payment channel L2 | Sidechain | Federated sidechain |
| Smart contracts | Yes (Solidity/EVM) | No | Yes (Clarity) | Limited |
| Security model | Merged mining + Powpeg | Bitcoin script | Proof-of-Transfer | Federation |
| Primary use case | DeFi, dApps | Payments | DApps, NFTs | Asset issuance, trading |
| Mainnet launch | 2018 | 2018 | 2021 | 2018 |
| BTC peg | RBTC (1:1, Powpeg) | None (native BTC) | sBTC (trust-minimized) | L-BTC (federated) |
Key distinctions:
- vs. Lightning Network: Lightning is a payment channel network optimized for fast, cheap BTC transfers. It does not support DeFi applications. Lightning and Rootstock are not direct competitors. They solve different problems.
- vs. Stacks: Stacks uses the Clarity programming language (not Solidity) and a Proof-of-Transfer consensus mechanism that anchors to Bitcoin differently from merged mining. Stacks has a larger developer community and NFT ecosystem, while Rootstock has deeper Bitcoin hashrate security.
- vs. Liquid: Liquid is a federated sidechain run by Blockstream, primarily used for fast BTC transfers between exchanges and asset issuance. It has minimal smart contract capabilities and a different trust model.
Rootstock is the only Bitcoin sidechain combining full EVM compatibility, direct merged-mining security with Bitcoin's hashrate, and a proven eight-year operational track record.
The Rootstock DeFi Ecosystem (BTCFi)
| At a glance: Rootstock is the primary platform for what the industry now calls BTCFi – decentralized finance built on Bitcoin's security layer rather than Ethereum's. The premise is to use BTC as productive collateral for lending, trading, and yield, without leaving the Bitcoin security umbrella. |
DeFi TVL on Rootstock peaked at approximately $260 million in mid-2025 before declining to around $98 million by early 2026, according to DefiLlama data cited by Spark.
The decline reflects broader BTCFi market conditions and competition from newer entrants, but the protocols themselves have continued operating.
DEX and Trading
The primary decentralized exchange on Rootstock is Sovryn, which supports spot trading, margin trading, and token swaps using RBTC and ecosystem tokens. Uniswap and SushiSwap forks have also been deployed, offering familiar AMM-style liquidity pools.
Weekly DEX trading volume on Rootstock reached approximately $1.24 million as of mid-2025 – modest relative to Ethereum L2s, but consistent and growing.
Lending, Borrowing, and Stablecoins
Sovryn offers Bitcoin-collateralized lending and borrowing, allowing users to borrow stablecoins or other assets against their RBTC holdings without selling BTC.
Money on Chain issues DOC (Dollar on Chain) – a stablecoin fully collateralized by BTC. Unlike algorithmic stablecoins or fiat-backed ones, DOC derives its stability from over-collateralization in RBTC, making it one of the few truly Bitcoin-native stable assets in DeFi.
Together, Sovryn and Money on Chain account for roughly 77% of all DeFi TVL on Rootstock as of early 2026. The figure reflects both the quality of these protocols and the limited breadth of the wider ecosystem.
Yield and Other Protocols
Beefy Finance is a yield optimizer that automates compounding strategies across Rootstock liquidity pools. Users can deposit RBTC or other supported assets and earn automated yield without manually managing positions.
Beyond these core protocols, Rootstock's ecosystem page lists 120+ dApps across categories, including payments, NFTs, wallets, oracle services, and developer tooling, though active usage data suggests a much smaller set of protocols drives most of the on-chain activity.
In conclusion, whether the Bitcoin DeFi ecosystem eventually gravitates toward the most secure and proven infrastructure, or continues chasing new entrants, remains an open question. Rootstock has built the foundation. Whether the ecosystem chooses to use it is a different story.
Sources and Further Reading
- Rootstock – "Official Developer Documentation" https://dev.rootstock.io/
- Rootstock – "Powpeg: The Most Secure Bitcoin Two-Way Peg" https://rootstock.io/powpeg/
- Messari – "State of Rootstock Q1 2025" https://messari.io/report/state-of-rootstock-q1-2025
- Spark Money – "Rootstock RSK: What Bitcoin's Longest-Running EVM Sidechain Gets Right and Wrong" https://www.spark.money/research/rootstock-rsk-evm-bitcoin-analysis
- DefiLlama – "Rootstock Chain TVL" https://defillama.com/chain/RSK
- Rootstock – "Bitcoin Mining and Merged Mining: A Quick Overview" https://rootstock.io/blog/bitcoin-mining-and-merged-mining-a-quick-overview/
FAQs About Rootstock RSK
Technically, yes, the Powpeg is designed to allow full redemption in both directions. However, the process takes approximately 33 hours (200 Bitcoin block confirmations) for a peg-out, and it requires the Powpeg federation to remain operational. The HSM architecture makes a federation failure extremely unlikely, but it is not zero-risk. Using the official Powpeg app is strongly recommended over third-party bridges.