Account Abstraction on Rootstock
Create smarter accounts that give users a seamless web3 experience
Create smarter accounts that give users a seamless web3 experience
Create a seamless user experience for your dApps on Rootstock and EVM-compatible chains.
In this guide, you will learn how to use the Etherspot Prime SDK to deploy an Account Abstraction dApp on the Rootstock network. By following these steps, you will empower your users to interact with your dApp without managing private keys directly.
DefiLlama is the largest TVL aggregator for DeFi. Learn how to list a DeFi project and write an SDK adapter to add a Protocol to DefiLlama.
Learn how to add and initiate a network switch on Metamask from a website.
An attestation is a digital certificate or proof that verifies a specific claim or fact. Learn about how to verify or attest documents, identity, asset ownership in your dApps using attestation tools on Rootstock.
Best practices for Smart Contract Development on Rootstock
The #bitcoin Writing Contest, presented by Rootstock and HackerNoon, is now live with a total prize pool of $17,500 up for grabs! Whether you're a thought leader, a skilled writer, a talented developer, or simply passionate about blockchain technology, this contest invites you to showcase your expertise in various Bitcoin-related topics.
Transfer BTC to RBTC, and RBTC to BTC through the PowPeg Protocol.
Learn about some potential issues you can run into and tips on how to resolve them.
Learn about some potential issues you can run into and tips on how to resolve them.
Here, we will learn how to perform a peg-out using Metamask Wallet.
The PowPeg App is a user-friendly interface for the conversion of BTC to RBTC and vice versa. It is secured by the powpeg protocol, which is a unique 2-way peg system that allows users to natively transfer bitcoins from the Bitcoin blockchain to the Rootstock blockchain and vice versa, creating a token called RBTC that is pegged to the value of Bitcoin.
This section of the documentation covers the core concepts about the Rootstock blockchain. Working with Rootstock requires an understanding of blockchain technology, bitcoin and smart contracts.
The JSON-RPC methods supported by Rootstock nodes.
Setting your own config preferences, when using the Java command, Ubuntu, Azure, AWS, or Docker
Learn how to configure your Foundry project for development on Rootstock testnet and mainnet
Learn how to configure your Hardhat project for development on Rootstock testnet and mainnet
Learn about the different ways to set up and connect to Rootstock networks using a MetaMask Wallet
Configure RSKj for desired log verbosity, finding log files, and using logback.
An overview of different ways you can contribute to Rootstock.
RootstockLabs has created the bug bounty program to reward researchers that submit valid vulnerabilities to improve the RootstockLabs platforms security.
How to perform the Powpeg mechanism using Ledger.
The PowPeg App is a user-friendly interface for the conversion of BTC to RBTC and vice versa. It is secured by the powpeg protocol, which is a unique 2-way peg system that allows users to natively transfer bitcoins from the Bitcoin blockchain to the Rootstock blockchain and vice versa, creating a token called RBTC that is pegged to the value of Bitcoin.
Converting BTC to RBTC (peg-in) and RBTC to BTC (peg-out) on Mainnet and Testnet.
Welcome to Rootstock Courses; Explore learning materials and courses to enable you get started on building on Rootstock and RIF Technologies.
Learn how to set up your environment for development using Foundry
Learn how to set up your environment for development using Hardhat
Explore cross-chain bridging solutions on Rootstock.
Testing decentralized applications (dApps) is crucial for delivering a smooth user experience and ensuring the reliability of decentralized systems. Cucumber and Playwright form a dynamic duo in automated testing, blending behavior-driven development (BDD) and powerful browser automation capabilities.
Data indexers act like librarians for blockchain data, organizing and storing information in a way that's easy to access. This makes it easier for dApps to get the data needed, which in turn makes dApps faster and more efficient. Explore data indexers on Rootstock.
Deploy and Interact with a Smart Contract Using Web3.py.
Learn how to deploy your Rootstock smart contract using forge.
Learn how to deploy your Rootstock smart contract on your local environment and the Rootstock network.
In this guide, we will use the Remix IDE to write, compile, deploy, interact and verify a smart contract on the Rootstock Explorer.
Two way peg design and architecture.
Dev Environments provide a complete set of tools for writing, testing, and deploying your smart contracts on Rootstock.
Explore a curated selection of smart contract development tools and languages. From the familiar Solidity to Rust or Developer Environments like Hardhat, you'll find everything you need to interact and deploy your smart contracts on Rootstock.
Leverage your existing knowledge of Solidity and tools like Rust, Hardhat, and Wagmi to deploy and scale your dApps on the pioneering layer 2 solution that combines the best of Bitcoin security and Ethereum Smart Contract capabilities.
Ethereum Attestation Service (EAS) is an open-source infrastructure public good for making attestations onchain or offchain. Learn how to use it on Rootstock.
What is ERC20, and are there others like it? How do they work on Rootstock?
Blockchain explorers are a special type of software that connect to a blockchain network, and display the data from an immutable public ledger. Find block explorers for viewing transactions, blocks, addresses and verifying smart contracts on Rootstock.
Learn how to interact with Rootstock in your web browser, how to look at Rootstock transactions, develop and deploy your very first smart contract to the Rootstock network.
The Flyover SDK streamlines integration between client applications and the Flyover Protocol. This easy-to-use JavaScript/TypeScript toolkit provides configuration options for Liquidity Providers (LPs) and custom network setups for connecting to Rootstock.
Learn about Foundry, benefits and why you should write and deploy smart contracts on Rootstock using Foundry.
The PowPeg is a user-friendly interface for the conversion of BTC to RBTC and vice versa. It is secured by the powpeg protocol, which is a unique 2-way peg system that allows users to natively transfer bitcoins from the Bitcoin blockchain to the Rootstock blockchain and vice versa, creating a token called RBTC that is pegged to the value of Bitcoin.
Explore frequently asked questions about Rootstock and RIF
Frequently asked questions about the PowPeg App.
Deploy production-grade & fully-serviced L2 rollups on Rootstock, natively integrated with tools like oracles, bridges, data indexers and Account Abstraction.
General tools to build on Rootstock
Blockscout is a robust open-source tool for exploring transactions on any EVM blockchain, including Rootstock, the leading Bitcoin sidechain1. With Blockscout, you can access in-depth information, verify and interact with smart contracts, create and manage your account, view advanced statistics, and more. It is currently supported on
3xpl (short for 3xplor3r) is a super-fast, universal explorer for Rootstock. It offers an easy-to-understand block explorer interface for beginner crypto users, as well as lots of professional features for developers and analysts. It is currently supported on
Explore transaction
The Flyover SDK streamlines integration between client applications and the Flyover Protocol. This easy-to-use JavaScript/TypeScript toolkit provides configuration options for Liquidity Providers (LPs) and custom network setups for connecting to Rootstock.
How to compile, deploy, and intereact with smart contracts with Ape on Rootstock
How to write, test, and deploy smart contracts with Foundry
Get started with creating a dApps on Rootstock using Hardhat.
Learn how to interact with Rootstock in your web browser, how to look at Rootstock transactions, develop and deploy your very first smart contract to the Rootstock network.
Get started with the Rootstock RPC Service to interact with Rootstock nodes.
The PowPeg is a user-friendly interface for the conversion of BTC to RBTC and vice versa. It is secured by the powpeg protocol, which is a unique 2-way peg system that allows users to natively transfer bitcoins from the Bitcoin blockchain to the Rootstock blockchain and vice versa, creating a token called RBTC that is pegged to the value of Bitcoin.
Welcome to the glossary section for the PowPeg App documentation.
A deterministic build process used to build Rootstock node JAR file. Provides a way to be reasonable sure that the JAR is built from GitHub RSKj repository. Makes sure that the same tested dependencies are used and statically built into the executable.
Hackathon resources and tools
Hardhat is an Ethereum development environment for developers. It's primarily used in the development of smart contracts for the Rootstock and EVM-compatible chains.
This guide demonstrates to a developer how to handle Bitcoin transactions in a Solidity Smart contract, we will also learn how to parse transactions, hash transactions and validate scripts for bitcoin transactions
The Rootstock Runes Mock Bridge setup page shows you how to getting building your runes, by first cloning our project and testing it locally.
This guide describes the necessary steps to perform a token transfer between two blockchain networks, which we will refer to as Mainchain and Sidechain, through interaction with special contracts that make up a subsystem called Token Bridge.
Rust is extensively getting used on backend side of many defi applications, dApps, developer tools, indexers and bridges. This guide will help developers to start using Rust on Rootstock blockchain.
Learn how to integrate your Rootstock smart contract with front-end applications.
Learn how to interact with your smart contract using cast
The Flyover SDK streamlines integration between client applications and the Flyover Protocol. This easy-to-use JavaScript/TypeScript toolkit provides configuration options for Liquidity Providers (LPs) and custom network setups for connecting to Rootstock.
The JSON-RPC methods supported by Rootstock nodes.
Get started with building and deploying dApps using No Code Tools
Learn about RSKj, a node implementation for the Rootstock blockchain and merged mining on Rootstock.
Oracles act as bridges, securely bringing external data onto the Rootstock blockchain for dApps to utilize.
Welcome to the overview section of the PowPeg App documentation.
See how to perform advanced operations on the PowPeg App
Here, we will learn how to perform a peg-in transaction using the PowPeg App.
Here, we will learn how to perform a peg-out transaction using the PowPeg App.
The Rootstock Runes Mock Bridge opens up exciting opportunities for developers to build Runes-focused applications within the Rootstock ecosystem. This bridge introduces three core solutions: Mock Bridge, Marketplace, Giveaway Engine
Here, we will learn how to perform a peg-in transaction using the Trezor Hardware Wallet.
Here, we will learn how to perform a peg-in transaction using the Leather Software Wallet.
Here, we will learn how to perform a peg-in transaction using the PowPeg App.
Here, we will learn how to perform a peg-out using Trezor.
Here, we will learn how to perform a peg-out using Ledger Hardware Wallet.
Here, we will learn how to perform a peg-out using Metamask and hardware wallet.
Here, we will learn how to perform a peg-out using Metamask Wallet.
The JSON-RPC methods supported by Rootstock nodes.
Port a dApp from other Chains to Rootstock.
Porting an Ethereum decentralized application (dApp) to Rootstock (RSK) presents an exciting opportunity to leverage the benefits of the Rootstock network, a Bitcoin L2 compatible with Ethereum. This guide will walk you through porting an Ethereum dApp to the Rootstock network using the Hardhat Ignition deployment tool and leveraging the compatibility between Solidity (used for Rootstock) and Ethereum.
Learn how to verify Powpeg nodes using the HSM Firmware Attestation.
Minimum hardware requirements for Rootstock.
Welcome to the overview section of the PowPeg App documentation.
Quick starts, demos and starter kits to develop on Rootstock.
Converting BTC to RBTC (peg-in) and RBTC to BTC (peg-out), for both Mainnet and Testnet.
The Flyover SDK streamlines integration between client applications and the Flyover Protocol. This easy-to-use JavaScript/TypeScript toolkit provides configuration options for Liquidity Providers (LPs) and custom network setups for connecting to Rootstock.
The RBTC Flyover enables fast, trust-minimized onboarding of users into the Rootstock ecosystem from Bitcoin with less friction. It improves the usability for bitcoiners and integrators to interact with the Rootstock ecosystem via the Powpeg and Flyover SDK.
The Flyover SDK streamlines integration between client applications and the Flyover Protocol. This easy-to-use JavaScript/TypeScript toolkit provides configuration options for Liquidity Providers (LPs) and custom network setups for connecting to Rootstock.
Gas is the internal pricing for running a transaction or contract.
Reward Manager Smart Contract (REMASC) is a pre-compiled smart-contract that is executed on every block and has the responsibility to fairly distribute rewards collected from transaction fees into several participants of the network. However the distribution of rewards of a block is only performed once the block reaches a certain maturity. In other words, the rewards are paid only after a fixed number of blocks have confirmed a block. With the exception of the first blocks in the blockchain after genesis, every time a block is added to the blockchain, another previous block reaches maturity and its rewards are paid.
Learn about Remix, benefits and why you should write and deploy smart contracts on Rootstock using Remix.
Find all the resources you need to get started on rootstock whether you're from a developer background, an open source contributor, a startup, or a just looking to learn via tutorials or courses.
RIF Wallet is an open source smart contract wallet which enables businesses to create and deploy fully customizable on-chain wallets.
Guide to interacting with the Rootstock network using Alchemy.
EIP-1191 chainId is used in Rootstock addresses as a checksum. m/44'/137'/0'/0 is the derivation path used for BIP-44 compatible wallets.
All Contract Addresses on Rootstock.
Whether you are a seasoned developer or just starting your journey into smart contract development, the foundry starter kit provides a solid foundation for building decentralized applications (dApps) on the Rootstock network.
Rootstock is the first and longest-lasting Bitcoin sidechain. It is the only layer 2 solution that combines the security of Bitcoin's proof of work with Ethereum's smart contract capabilities.
Whether you are a seasoned developer or just starting your journey into smart contract development, the hardhat starter kit provides a solid foundation for building decentralized applications (dApps) on the Rootstock network.
Configuration reference for RSKj
Get started with the RPC API service to interact with Rootstock nodes.
Easily create, interact and deploy EVM compatible smart contracts using a robust set of JSON RPC methods available through the RPC API.
Learn about how Rootstock combines the security of Bitcoin PoW with Ethereum's smart contract functionality to build dApps on Bitcoin and also how RIF's Open-source tools and technologies designed to streamline and incentivize development on Bitcoin.
Safely move your ERC20 tokens between Rootstock and Ethereum with the Tokenbridge dApp. This user-friendly interface lets you interact with the Token Bridge contracts directly. It is available on Mainnet or Testnet.
Having issues crossing your tokens on the token bridge? See the troubleshooting guide for help.
The Rootstock Wagmi Starter Kit provides a solid foundation for developing decentralized applications (dApps) on the Rootstock blockchain. It streamlines development by leveraging the React, Wagmi, and Shadcn libraries.
Building dApps on Rootstock involves interacting with the blockchain network. See available node rpc providers on Rootstock.
Install RSKj on different OS.
Hyperlane is the open interoperability framework to connect anywhere onchain. Build dApps that seamlessly communicates between Rootstock to other EVM-compatible chains.
Learn how to run the Rootstock node with autominer - similar to Ganache default config
Achieving security in a Powpegged sidechain using proofs of payment
The Flyover SDK streamlines integration between client applications and the Flyover Protocol. This easy-to-use JavaScript/TypeScript toolkit provides configuration options for Liquidity Providers (LPs) and custom network setups for connecting to Rootstock.
Install RSKj using Docker.
Install RSKj using Java.
RBTC is the token used to pay for the execution of transactions in Rootstock. You can convert BTC into RBTC by sending BTC through the Powpeg (both in Testnet and Mainnet), or by using the faucet in Testnet, or via decentralized exchanges.
Learn how to write a smart contract using Solidity and OpenZeppellin
See supported addresses on the PowPeg App
See browsers which support the PowPeg App
The JSON-RPC methods supported by Rootstock nodes.
See wallets which supports the PowPeg App
Learn how to test your Rootstock smart contract
Learn how to test your Rootstock smart contract using Foundry
This guide describes the steps to transfer tokens using the Web Interface for the Rootstock Token Bridge dApp. Please refer to the project documentation, if you’d like to know more about how this bridge works. It is possible to test the transfer of tokens between Rootstock Testnet and Sepolia networks, or Rootstock Mainnet and Ethereum networks using the Rootstock Tokenbridge web interface.
Find a list of frequently asked questions about the Token Bridge.
Here, you can find a list of mainnet, testnet addresses, and ABIs used by the Token Bridge.
The JSON-RPC methods supported by Rootstock nodes.
How to solve some known or frequently encountered issues when working with RSKj
Tutorials and learning resources
The Rootstock Runes Mock Bridge setup page shows you how to getting building your runes, by first cloning our project and testing it locally.
See the ERC1820 standard interface, address support and smart contract implementation
How to introduce consensus rules changes using network upgrades on an RSK node. What to consider. Adding a new rule. Running tests with new rules.
Learn how to interact with Rootstock in your web browser, how to look at Rootstock transactions, develop and deploy your very first smart contract to the Rootstock network.
Configuring Hardhat Verification plugin for Rootstock
Here, we will learn how to view a derived address using Electrum.
Here, we will learn how to view a transaction status after a peg-out.
Here, we will learn how to view a transaction status on the PowPeg App.
Tenderly's virtual testing environment allows the creation of simulated networks, managing account balances, and manipulating contract storage – all without needing to interact with the Rootstock mainnet or testnet.
Learn how to connect to Rootstock with a compatible Wallet
How merge mining Rootstock with Bitcoin works, and its benefits.
Learn how to write a smart contract using Solidity and OpenZeppellin