Build a simple dApp on Rootstock with a frontend and a smart contract. Connect a wallet on Testnet. Mainnet chain ID is 30 and Testnet chain ID is 31.
「タグ付けされたドキュメント 」のguides
The Rootstock CLI (Command Line Interface) lets you manage your Rootstock wallet directly from the terminal. Create, manage, and fund your wallet with rBTC (Rootstock Bitcoin) easily and securely.
Fix common Foundry errors on Rootstock, including RPC, gas, and compiler issues. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 31 today.
Learn about some potential issues you can run into and tips on how to resolve them.
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
Install the Foundry toolchain with Foundryup and run forge init to create a new project. This is the first step in the Foundry guide for Rootstock developers.
Clone the Rootstock quick start repository, install its pinned Hardhat 2 dependencies, and run npx hardhat to check the install before you write contracts.
Compile a Solidity contract with Hardhat, save its ABI and bytecode, and deploy it to Rootstock Mainnet or Testnet with the Rootstock CLI deploy command.
Learn how to deploy your Rootstock smart contract using forge.
Deploy a Hardhat contract to local Hardhat, Rootstock Testnet, and Rootstock Mainnet. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 31.
Write, compile, deploy, and interact with your first Solidity contract on Rootstock Testnet with Hardhat. Mainnet chain ID is 30 and Testnet chain ID is 31.
Use Hardhat 2 to write, test, and deploy smart contracts on Rootstock Testnet and Mainnet. The guide runs from project setup to a working dApp frontend.
This glossary provides essential definitions for key terms related to Rootstock and blockchain technology.
This guide explores the challenges of attestation, why EAS is a great choice for developers, and provides a step-by-step tutorial on using the EAS Devtool and Indexing Service on Rootstock.
Build a Next.js frontend with Wagmi and RainbowKit that connects a wallet and reads the balance of the token contract you deployed to Rootstock with Hardhat.
Call a deployed Rootstock contract with Cast after you deploy it using Foundry. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 31 today.
This guide explains how to navigate the provided interface, connect your wallet, create an EAS Schema, and explore attestations in detail.
The Rootstock CLI tool enables users to manage wallets, check balances, send transactions, verify smart contracts and interact with smart contracts on the Rootstock blockchain - a Bitcoin sidechain designed for smart contracts. It supports both mainnet and testnet environments.
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.
Learn how Rootstock works under the hood, including the Bitcoin peg, merge-mining, and the Rootstock Virtual Machine.
Rootstock Attestation Service (RAS) is a system that allows individuals and organizations to create verifiable claims or proofs about specific events, actions, or data, either on-chain (on the blockchain) or off-chain (outside the blockchain but linked to it). Learn how to use it on Rootstock.
The contract command allows you to interact with a verified smart contract on the Rootstock blockchain. This command lists all available read-only functions within the contract, allowing you to call these functions to view data without altering the contract's state.
Learn Rootstock architecture, smart contract fundamentals, and how to deploy your first contract and dApp.
Guides to use the Rootstock Explorer: navigate the UI, search, and submit dApps.
Write a Solidity contract in Foundry and compile it for deployment on Rootstock. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 31 today.
Learn the foundational concepts of smart contracts on Rootstock. Covers Solidity and EVM contract state. Mainnet chain ID is 30 and Testnet chain ID is 31.
Install Mocha and Chai in your Hardhat project, write tests for the MyToken contract, and run them locally before you deploy the contract to Rootstock.
Test Foundry smart contracts for Rootstock with Forge before you broadcast them. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 31 today.
Run the Rootstock CLI in a Replit sandbox in your browser. Create a wallet, check balances, and try other commands before you install the CLI on your machine.
Learn what a blockchain is, how a distributed ledger stores data, and why Rootstock uses merge mining. Mainnet chain ID is 30 and Testnet chain ID is 31.
Learn how Rootstock transactions work, what gas is, and how the EVM runs contracts. Fees are paid in rBTC. Mainnet chain ID is 30 and Testnet chain ID is 31.
Learn how public keys, private keys, and wallets work on Rootstock. Covers seed phrases and accounts. Mainnet chain ID is 30 and Testnet chain ID is 31.
Implementation guides for building and integrating on Rootstock.
Configuring Foundry for smart contract verification on Rootstock
Learn how to verify your Rootstock smart contract using forge.
Learn how to verify your Rootstock smart contract on Rootstock and Blockscout explorers.
Verify a deployed Solidity contract on Rootstock Mainnet or Testnet. The Rootstock CLI sends the source code and metadata to the Rootstock Explorer API.
Install OpenZeppelin Contracts in a Hardhat project, write the MyToken ERC20 contract in Solidity, and compile it before you deploy the token to Rootstock.