Bridge Assets
Interoperability is the ability for Bitcoin to move seamlessly between its native layer and programmable smart contract environments. Rootstock provides the infrastructure that combines the security of Bitcoin's proof of work with Ethereum's smart contract capabilities.
Core Pillars
| Pillar | Description | Best Use Case |
|---|---|---|
| Swap SDK | Enable secure movement of assets between Bitcoin and Rootstock using the Swap SDK. | Trustless DeFi & L2 interoperability. |
| PowPeg | SDK for creating native peg-in and peg-out transactions following the PowPeg protocol. | Institutional & high-value transfers. |
| Flyover SDK | A liquidity-based fast bridge that uses LPs to front the funds for the user. | Retail users & fast dApp onboarding. |
| Union (BitVMX) | A trust-minimized 1-of-N bridge that uses optimistic fraud proofs on Bitcoin. | Trustless DeFi & L2 interoperability. |
| Layerzero | Build Omnichain Fungible Token (OFTs) on Rootstock with Layerzero. | Trustless DeFi & L2 interoperability. |
Key Concepts
1. Peg-In (Bitcoin to Rootstock)
A Peg-In occurs when you send native BTC to a designated vault address on the Bitcoin network. Once confirmed, the Rootstock network mints an equivalent amount of rBTC to your Rootstock address.
2. Peg-Out (Rootstock to Bitcoin)
A Peg-Out is the reverse process: rBTC is burned on Rootstock, and the bridge infrastructure releases native BTC to your Bitcoin address.
3. Trust-Minimized Security (BitVMX)
With the advent of BitVMX, Rootstock bridges are moving toward an optimistic verification model. This allows for Bitcoin-native fraud proofs, meaning that as long as one participant is honest, the bridge remains secure.
Top Tools for Developers
- Flyover SDK: The primary library for integrating near-instant bridging into your frontend.
- Swap SDK: Atlas Bridge is a cross-chain bridge for the Rootstock ecosystem. You can use it to move assets between Rootstock and other supported networks.
- Rootstock Explorer: Visually track cross-chain transactions and bridge health.
Implementation Guides
Explore the recipes below to start integrating bridging solutions into your application.