The Complete Hands-On Hardhat Tutorial

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 p…

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.

Print Share Comment Cite Upload Translate
APA
Rodrigo Herrera Itie | Sciencx (2024-03-28T15:23:31+00:00) » The Complete Hands-On Hardhat Tutorial. Retrieved from https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/.
MLA
" » The Complete Hands-On Hardhat Tutorial." Rodrigo Herrera Itie | Sciencx - Thursday February 3, 2022, https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/
HARVARD
Rodrigo Herrera Itie | Sciencx Thursday February 3, 2022 » The Complete Hands-On Hardhat Tutorial., viewed 2024-03-28T15:23:31+00:00,<https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/>
VANCOUVER
Rodrigo Herrera Itie | Sciencx - » The Complete Hands-On Hardhat Tutorial. [Internet]. [Accessed 2024-03-28T15:23:31+00:00]. Available from: https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/
CHICAGO
" » The Complete Hands-On Hardhat Tutorial." Rodrigo Herrera Itie | Sciencx - Accessed 2024-03-28T15:23:31+00:00. https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/
IEEE
" » The Complete Hands-On Hardhat Tutorial." Rodrigo Herrera Itie | Sciencx [Online]. Available: https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/. [Accessed: 2024-03-28T15:23:31+00:00]
rf:citation
» The Complete Hands-On Hardhat Tutorial | Rodrigo Herrera Itie | Sciencx | https://www.scien.cx/2022/02/03/the-complete-hands-on-hardhat-tutorial/ | 2024-03-28T15:23:31+00:00
https://github.com/addpipe/simple-recorderjs-demo