Skip to main content

15 docs tagged with "ethers"

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.

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.

Clone the Rootstock quick start repository, install its pinned Hardhat 2 dependencies, and run npx hardhat to check the install before you write contracts.

Deploy a Hardhat contract to local Hardhat, Rootstock Testnet, and Rootstock Mainnet. Rootstock Mainnet uses chain ID 30 and Testnet uses chain ID 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.

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.

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.

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.

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.