Tutorial
Debugging and Deploying with Hardhat
12 steps
In this tutorial, we’ll be going through 2 other features that Hardhat provides - debugging and deploying smart contracts. Only proceed with this tutorial once you have completed Unit Testing with Hardhat as we’ll be continuing from the su-hardhat-module directory where we left off from.
Helpful prior knowledge
- Pre-existing knowledge of Javascript will be helpful, but not necessary
- Knowledge of Solidity is a bonus as well
Learning Outcomes
By the end of this tutorial, you will be able to:
- Debug smart contracts using Hardhat
- Deploy smart contracts to the Hardhat Network
- Describe what Infura is
- Deploy smart contracts to the Goerli testnet
Tutorial Steps
Total steps: 12
-
Step 1: Debugging - Part 1
-
Step 2: Debugging - Part 2
-
Step 3: Preparing Deployment Script
-
Step 4: Deploy to Hardhat Network
-
Step 5: Introduction to Infura
-
Step 6: Acquiring Infura API Key
-
Step 7: DotEnv
-
Step 8: Get Testnet ETH
-
Step 9: Acquiring Wallet Private Key
-
Step 10: Modify Network Settings
-
Step 11: Deploy to Goerli Testnet
-
Step 12: Conclusion
Find articles to support you through your journey or chat with our support team.
Help Center