RSK (Rootstock)
A Bitcoin sidechain with Ethereum-compatible smart contracts, secured by merge-mining with Bitcoin miners.
Key Takeaways
- RSK (Rootstock) is a Bitcoin sidechain that adds Ethereum-compatible smart contracts to the Bitcoin ecosystem, secured by merge-mining with over 80% of Bitcoin's hashrate.
- The Powpeg bridge uses a federated multisig with hardware security modules (PowHSMs) to lock BTC on Bitcoin and mint rBTC on Rootstock, maintaining a 1:1 peg between the two assets.
- While RSK enables DeFi on Bitcoin through full EVM compatibility, it introduces trust assumptions that differ from native Layer 2 solutions like Lightning and Spark, which offer self-custodial guarantees.
What Is RSK (Rootstock)?
RSK, now commonly referred to as Rootstock, is a smart contract platform that operates as a sidechain pegged to Bitcoin. Conceived in 2014 by a team of Argentinian engineers and launched on mainnet in January 2018, Rootstock was designed to bring Ethereum-style programmability to Bitcoin without modifying Bitcoin's base protocol.
The core idea is straightforward: users lock BTC on the Bitcoin blockchain and receive an equivalent amount of rBTC on the Rootstock chain, where they can interact with smart contracts, decentralized exchanges, lending protocols, and other DeFi applications. When they want their BTC back, they burn rBTC and unlock the original bitcoin. The Rootstock Virtual Machine (RVM) is a fork of the Ethereum Virtual Machine, meaning Solidity contracts written for Ethereum can be deployed on Rootstock with minimal changes.
Rootstock occupies a specific niche in the Bitcoin L2 landscape: it prioritizes smart contract expressiveness over the speed and self-custodial properties that payment-focused solutions like Lightning or Spark provide. This makes it more comparable to Liquid Network than to a payment channel network.
How It Works
Merge-Mining
Rootstock inherits Bitcoin's proof-of-work security through a process called merge-mining. Bitcoin miners can simultaneously mine both Bitcoin and Rootstock blocks using the same SHA-256 computational work, with no additional energy or hardware required. Mining pools include Rootstock block headers in their Bitcoin coinbase transactions, allowing a single proof-of-work solution to validate blocks on both chains.
As of early 2026, approximately 84% of Bitcoin's total hashrate participates in Rootstock merge-mining, with major pools like Foundry USA, AntPool, F2Pool, and ViaBTC all contributing. This makes Rootstock one of the most hashrate-secured sidechains in existence, though it is important to note that merge-mining security is indirect: miners validate Rootstock blocks but do not run full Rootstock nodes. The security guarantee is that producing an alternative Rootstock chain requires overpowering the merge-mining hashrate, not that every miner individually verifies every Rootstock transaction.
The Powpeg Bridge
Moving BTC between Bitcoin and Rootstock relies on the Powpeg, a federated bridge that replaced the original simpler federation model. The Powpeg consists of three components:
- A Bridge precompiled contract on Rootstock that handles peg-in and peg-out logic
- Pegnatories: federated entities that oversee bridge operations through a 5-of-9 multisig
- PowHSMs: Ledger-certified hardware security modules that store private keys and only sign transactions validated by sufficient cumulative proof-of-work
The PowHSM design is what distinguishes the Powpeg from a simple multisig federation. Each pegnatory's private key is locked inside tamper-proof hardware that independently verifies Rootstock's proof-of-work before signing any withdrawal transaction. Pegnatories cannot extract keys or sign arbitrary transactions: the hardware enforces the protocol rules.
Peg-In and Peg-Out
Converting between BTC and rBTC follows a specific process with significant wait times:
Peg-in (BTC to rBTC): a user sends BTC to the Powpeg multisig address on Bitcoin. After 100 Bitcoin block confirmations (approximately 17 hours), the Bridge contract verifies the deposit via SPV proof and mints equivalent rBTC. The minimum deposit is 0.005 BTC.
Peg-out (rBTC to BTC): a user sends rBTC to the Bridge contract on Rootstock. The rBTC is burned, and after 4,000 Rootstock block confirmations (approximately 34 hours), the corresponding BTC is released from the multisig. The minimum withdrawal is 0.004 rBTC.
# Rootstock network parameters
Chain ID: 30 (mainnet), 31 (testnet)
Block time: ~30 seconds
Native token: rBTC (1:1 peg with BTC)
Gas denomination: rBTC (default: 0.06 gwei)
Peg-in minimum: 0.005 BTC
Peg-out minimum: 0.004 rBTC
Peg-in wait: ~100 BTC blocks (~17 hours)
Peg-out wait: ~4,000 RSK blocks (~34 hours)
Powpeg threshold: 5-of-9 multisigEVM Compatibility
The Rootstock Virtual Machine (RVM) executes the same bytecode and opcodes as the Ethereum Virtual Machine. Developers can write smart contracts in Solidity, deploy them using standard Ethereum tooling like Hardhat, Foundry, or Remix, and interact with them through MetaMask, ethers.js, or web3.js. The primary configuration change is pointing to Rootstock's chain ID (30) and RPC endpoint instead of Ethereum's.
// Hardhat configuration for Rootstock
module.exports = {
networks: {
rootstock: {
url: "https://public-node.rsk.co",
chainId: 30,
gasPrice: 60000000, // 0.06 gwei
accounts: [process.env.PRIVATE_KEY]
}
}
};The DeFi Ecosystem on RSK
Rootstock hosts a growing but relatively concentrated DeFi ecosystem. As of late 2025, the network held approximately $163 million in total value locked (TVL), with two protocols dominating:
- Money on Chain: a stablecoin protocol that issues DOC (Dollar on Chain, pegged to USD) and BPro (a leveraged BTC position), accounting for roughly 48% of Rootstock's TVL
- Sovryn: a decentralized exchange offering spot trading, lending, borrowing, and margin trading, representing about 27% of TVL
- Additional protocols include LayerBank (lending), Avalon Labs (lending markets), Tropykus (lending), and Uniswap v3 deployments
The RIF (RSK Infrastructure Framework) extends the ecosystem with decentralized services including a name service (RNS, similar to Ethereum's ENS), payment channels, meta-transaction relays for gasless transactions, and a stablecoin (USDRIF). The RIF token serves as the payment mechanism for these infrastructure services and participates in DAO governance.
Use Cases
Bitcoin-Native DeFi
The primary use case for Rootstock is enabling DeFi functionality with Bitcoin as the base asset. Users can lend rBTC to earn yield, borrow stablecoins against their BTC collateral, provide liquidity on decentralized exchanges, or mint dollar-pegged stablecoins: all without converting to ETH or leaving the Bitcoin ecosystem entirely. This addresses a limitation of Bitcoin's scripting language, which does not natively support the complex logic required for DeFi protocols.
Stablecoins on Bitcoin
Rootstock provides infrastructure for stablecoins on Bitcoin, including the overcollateralized DOC stablecoin and the newer USDRIF. These offer Bitcoin holders exposure to dollar-denominated value without relying on centralized issuers, though they carry their own depeg risks and overcollateralization requirements.
Enterprise and Institutional Use
Rootstock has pursued institutional adoption through initiatives like partnerships with Japanese corporations for Bitcoin-native treasury management tools. The EVM compatibility lowers the barrier for enterprise developers already familiar with Ethereum tooling, while the Bitcoin-pegged asset base appeals to organizations with Bitcoin treasury holdings.
Risks and Considerations
Federated Bridge Trust
The most significant tradeoff is the Powpeg's trust model. Despite the PowHSM protections, users must trust that at least 5 of the 9 pegnatories operate honestly and that the hardware security modules function correctly. This is fundamentally different from native Bitcoin Layer 2 solutions where users can unilaterally exit to the Bitcoin base layer without any third-party cooperation. If a majority of pegnatories were compromised or if a vulnerability existed in the PowHSM firmware, locked BTC could theoretically be at risk.
Rootstock is working toward a more trust-minimized bridge called Union Bridge, which would use BitVMX technology to achieve a 1-of-n honest assumption, but this remains under development.
Throughput Limitations
With 30-second block times and a block gas limit of 6,800,000 units, Rootstock processes approximately 10 to 20 transactions per second for simple transfers. While adequate for current DeFi activity, this is orders of magnitude slower than payment-focused Bitcoin L2s. Compare this with the Lightning Network, which handles payments in milliseconds, or Spark, which enables instant transfers with self-custodial guarantees. For high-frequency payment use cases, a sidechain architecture is not the optimal design.
Peg Delays
The 17-hour peg-in and 34-hour peg-out times create significant friction for users moving between Bitcoin and Rootstock. Third-party services like Boltz offer faster atomic swaps as alternatives, but these introduce their own trust and liquidity considerations. Users accustomed to near-instant bridge experiences on other chains may find these delays impractical.
Ecosystem Concentration
Rootstock's DeFi ecosystem is heavily concentrated in two protocols (Money on Chain and Sovryn), which together account for roughly 75% of TVL. This concentration means a significant exploit or failure in either protocol could impact the broader ecosystem. The total TVL, while meaningful, remains small compared to Ethereum L2s or even other Bitcoin DeFi approaches.
RSK vs. Native Bitcoin Solutions
Rootstock and native Bitcoin Layer 2 solutions like Spark serve different purposes with different trust tradeoffs:
| Dimension | Rootstock (RSK) | Lightning / Spark |
|---|---|---|
| Type | Sidechain (separate chain, merge-mined) | Payment channels / statechain L2 |
| Smart contracts | Full EVM/Solidity support | Limited scripting / statechain model |
| Speed | ~30-second blocks | Sub-second payments |
| Custody | Federated multisig (PowHSM-protected) | Self-custodial (user holds keys) |
| Exit | Requires pegnatory cooperation | Unilateral exit to Bitcoin L1 |
| Best for | DeFi, lending, stablecoins | Payments, instant transfers |
For users primarily interested in payments and transfers with self-custodial guarantees, Spark and Lightning offer stronger trust properties. For users who need full smart contract programmability with Bitcoin as the underlying asset, Rootstock provides capabilities that payment-focused L2s do not.
Why It Matters
Rootstock represents one of the earliest and most mature attempts to bring general-purpose programmability to Bitcoin. Its merge-mining security model, with over 80% of Bitcoin's hashrate participating, demonstrates that Bitcoin's proof-of-work can be leveraged to secure additional systems without fragmenting miner incentives.
However, the federated bridge model highlights a fundamental tension in Bitcoin scaling: achieving expressive smart contracts while maintaining Bitcoin's trustless properties is an unsolved challenge. Sidechains like Rootstock trade some trust minimization for programmability, while solutions like Spark preserve self-custody but focus on payments rather than general computation. Understanding where each approach sits on this spectrum is essential for evaluating the growing Bitcoin DeFi landscape.
For developers exploring wrapped Bitcoin alternatives and Bitcoin-native DeFi, Rootstock offers a battle-tested platform with familiar tooling. For users prioritizing trustless, self-custodial Bitcoin transactions, Layer 2 protocols with unilateral exit guarantees remain the stronger choice.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.