Rootstock Developers Portal
website·Indexed 30 days ago
https://dev-rootstock.vercel.app/Technical documentation for Rootstock, an EVM-compatible Bitcoin sidechain. It covers core concepts including the PowPeg bridge for BTC to rBTC conversion, merged mining, address generation, and smart contract development using tools like Hardhat, Remix IDE, and Web3.js.
What's inside Rootstock
- Airdrops on the Rootstock network are used by cryptocurrency projects to distribute free or paid tokens to users to promote new projects or reward loyalty. This mechanism serves as a community engagement tool and can be implemented via token distribution systems like the Runes Giveaway Machine Airdrop Claim.
Overview of Rootstock Runes Mock Bridge tools
The Rootstock Runes Mock Bridge provides a suite of tools for developers to build and test Runes-focused applications within the Rootstock ecosystem. The core solutions include:
- Mock Bridge: Facilitates the transfer of Runes between different blockchain networks.
- Marketplace: A platform dedicated to the trading and exchange of Runes tokens.
- Giveaway Engine: A system designed for structured or promotional token distribution.
# Mock Bridge Repository https://github.com/rsksmart/rsk-runes # Giveaway Engine Repository https://github.com/rsksmart/airdrop-ui.gitIntroduction to Foundry for Rootstock Development
Foundry is a smart contract development toolchain and environment used for writing and testing Solidity smart contracts. It provides a command-line tool called Forge to manage dependencies, compile contracts, run tests, deploy contracts, and interact with EVM-compatible chains like Rootstock.Overview of Runes on Rootstock and the Mock Bridge
The Rootstock Runes Mock Bridge enables developers to build Runes-focused applications within the Rootstock ecosystem. It provides a framework for interacting with Bitcoin Runes, which operate on the Bitcoin blockchain using the Unspent Transaction Output (UTXO) model and the OP_RETURN opcode.Overview of Reown developer tools
Reown provides a suite of tools for developers to implement digital ownership experiences. Their primary product offerings include AppKit and WalletKit.Overview of RedStone Finance Oracle Solutions
RedStone Finance provides modular, cross-chain Oracle solutions for DeFi applications, supporting both EVM and non-EVM ecosystems, including Rootstock. It provides real-time, customizable data feeds suitable for DEX pricing, staking protocols, and yield-bearing collaterals. The infrastructure is designed for scalability and cost-efficiency, utilizing Arweave for data archiving.Overview of the Bitcoin Runes Protocol
Bitcoin Runes is a protocol developed by Casey Rodarmor for creating fungible tokens directly on the Bitcoin blockchain. Unlike BRC-20 or SRC-20 tokens, Runes are built on Bitcoin's Unspent Transaction Output (UTXO) model. This architecture ensures that the token system is fully on-chain and operates independently of the Ordinals protocol, eliminating the need for external input and providing a more efficient method for token issuance compared to account-based models like Ethereum.Overview of Etherspot Prime SDK for Account Abstraction
Etherspot is an Account Abstraction infrastructure that enables developers to build seamless web3 user experiences for dApps. The Etherspot Prime SDK is available for deployment and use on both Mainnet and Testnet.Overview of the PowPeg App
The PowPeg App (formerly known as the 2 Way Peg App) is a web application that enables the conversion of BTC to RBTC and vice versa. It facilitates interaction between the Bitcoin blockchain and the Rootstock network. The application supports communication with both hardware and software wallets and provides a way to visualize transaction status. It is secured by the PowPeg protocol, which leverages Bitcoin's hashrate to secure locked bitcoins.App URL: https://powpeg.rootstock.io/Overview of the Rootstock Name Service (RNS)
The Rootstock Name Service (RNS) is a decentralized and secure name resolution service (alias system) built on the RSK blockchain. It maps human-readable names to blockchain resources, similar to how the Domain Name System (DNS) maps names to IP addresses on the web. RNS is designed to reduce user errors, improve user experience by centralizing access to multiple resources under one name, and provide the flexibility to update resource mappings over time.Overview of RIF Relay Architecture
RIF Relay is a meta-transaction system for the Rootstock (RSK) ecosystem that allows users to pay transaction fees with tokens other than rBTC. It abstracts gas costs to reduce onboarding friction, similar to the Gas Station Network (GSN). The system consists of three primary modules:
- RIF Relay Contracts: The smart contracts governing the relay system.
- RIF Relay Client: A library used to interact with the relay server.
- RIF Relay Server: The server-side code that handles the relaying of transactions.
Overview of Rootstock Flyover
Flyover is a mechanism that significantly reduces the time required to transfer BTC and RBTC between the Bitcoin and Rootstock networks. It utilizes a pool of trustless intermediaries (Liquidity Providers) while maintaining the same security guarantees as the Powpeg. It provides a customizable SDK for both Liquidity Providers (LPs) and dApp integrators.