Skip to main content
Time to read: 1 min

Getting Started with Hardhat

Before you begin

If you're new to Web3 and Smart Contract Development, begin by exploring the Rootstock network. Then progress step by step to the quick start Guide with Hardhat for a comprehensive understanding of the network and getting started with writing, testing, and deploying smart contracts on Rootstock.

For your convenience, we've established a GitHub repository dedicated to this guide. The master branch contains the initial project state, while the feat/complete branch features the complete project, equipped with all the necessary installations for your reference.

Note: This guide is optimized for Node.js version 18 or earlier. If you're using a later version, consider using a version manager like NVM to switch to a compatible version.

Need to ramp up fast and get started with Hardhat? Use the Hardhat Starter Kit or use the Wagmi Starter Kit

ResourceDescription
PrerequisitesLearn about the tools you need to have in place to follow along with this guide.
Create a Hardhat ProjectLearn how to set up your environment for development using Hardhat.
Configure Hardhat for RootstockLearn how to configure your Hardhat project for development on Rootstock testnet and mainnet.
Write Smart ContractsLearn how to write a smart contracts.
Test Smart ContractsLearn how to test your smart contract to ensure it's working as expected.
Deploy Smart ContractsLearn how to deploy your smart contract to your local environment and the Rootstock network.
Interact with the FrontendLearn how to interact with the smart contract from the front-end application.
Debugging and Troubleshooting TipsLearn about the common issues you can come across while building following this guide and how you can solve them.
Last updated on by ivegabr

Feedback