Create smarter accounts that give users a seamless web3 experience
25 docs tagged with "hardhat"
Learn about some potential issues you can run into and tips on how to resolve them.
Learn how to configure your Hardhat project for development on Rootstock testnet and mainnet
Clone the Rootstock quick start repository, install its pinned Hardhat 2 dependencies, and run npx hardhat to check the install before you write contracts.
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 a Hardhat contract to local Hardhat, Rootstock Testnet, and Rootstock Mainnet. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 31.
Deploy smart contracts on Rootstock with Hardhat Ignition. Secured by over 85% of Bitcoin's hash power through merge mining.
Deploy and test ERC smart contracts on Rootstock with Hardhat. Clone the starter kit and add RPC URLs. Mainnet chain ID is 30 and Testnet chain ID is 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.
Dev Environments provide a complete set of tools for writing, testing, and deploying your smart contracts 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.
General tools to build on Rootstock
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.
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.
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.
Oracles act as bridges, securely bringing external data onto the Rootstock blockchain for dApps to utilize.
Scaffold the USSD-Rootstock project using Hardhat 3, write the InclusiveDeFi smart contract, configure the Rootstock Testnet network, and deploy using Hardhat Ignition.
Building dApps on Rootstock involves interacting with the blockchain network. See available node rpc providers on Rootstock.
Install Hardhat, configure Rootstock testnet, get tRBTC, and set up OpenZeppelin dependencies for Rootstock use-case tutorials.
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.
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.
Configuring Hardhat Verification plugin for Rootstock
Learn how to verify your Rootstock smart contract on Rootstock and Blockscout explorers.
Install OpenZeppelin Contracts in a Hardhat project, write the MyToken ERC20 contract in Solidity, and compile it before you deploy the token to Rootstock.