This content originally appeared on DEV Community and was authored by Rodrigo Herrera Itie
Hardhat is one of the most popular tools in the Ethereum developer’s stack. In this tutorial, we are going to learn how to use Hardhat and understand its main features. This tutorial is going to be primarily hands-on; we are going to do the following projects:
Project 1: For the first project, the main purpose is to have a general understanding as to how Hardhat works. We will create a smart contract, test it, deploy it on Rinkeby, and verify it on Etherscan.
Project 2: For the second project, we will recreate the Parity hack. One of the biggest hacks in Ethereum’s history.
Project 3: Lastly, we will interact with a contract and EOA’s by running the Hardhat network inside of our machines.
After completing the 3 projects, you should have a good understanding of how Hardhat works in real action.
Here is the github repo for the 3 projects: https://github.com/rodrigoherrerai/hardhat-tutorial/tr[ee/master
Prerequis](url)ites:
In order to follow along with this tutorial, it is advisable to have the following knowledge:
- Familiarity with Solidity
- Familiarity with Ethereum (EVM)
- Familiarity with JavaScript
- Good understanding of blockchain’s fundamentals
- Familiarity with the command line
- Familiarity with unit testing \n Before starting, I want to give a shout-out to other very nice tools: Truffle Suite: Built with JavaScript, developed by Consensys. It was one of the first developer environments on Ethereum, you can find it here. Brownie: If you like Python, this is the way to go. You can check it here. Dapp tools: here. Foundry: A re-write of Dapp tools in Rust by the Paradigm team, you can find it here.
This content originally appeared on DEV Community and was authored by Rodrigo Herrera Itie
Rodrigo Herrera Itie | Sciencx (2022-02-03T08:47:59+00:00) The Complete Hands-On Hardhat Tutorial. Retrieved from https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.