Installing Hardhat | Ethereum Dapp Beginners

https://youtu.be/2TT2DtJ_SUk

Hardhat Tutorial Simple

by Alexandra Kropova from Mammoth Interactive

Build a new project with Hardhat, Truffle’s replacement for decentralized app development for the Ethereum blockchain with Solidity smart contracts.

Code: https://github.com/mammothtraining/How-to-Install-Hardhat-NFT-Tutorial

Want to learn more? Enroll in Hello Coding 4.0. Free in the Mammoth Unlimited Membership. Get 300+ courses and 2,000 hours at a dirt-cheap price.

 


 In your Terminal (Command Line) application:

Use the command below to create a new Hardhat project and compile a smart contract!

  • mkdir hello-coin
  • cd hello-coin
  • npm init –yes
  • npm install –save-dev hardhat
  • npx hardhat

Go through the prompts, hitting Enter to make your selections.

👷 Welcome to Hardhat v2.8.0 👷‍

✔ Hardhat project root: · /Users/alex/Documents/beta-coin
✔ Do you want to add a .gitignore? (Y/n) · y
✔ Do you want to install this sample project's dependencies with npm (@nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers)? (Y/n) · y

Choose the type of project you want to build. We recommend the ‘simple beginner template’ option.

  • npx hardhat compile

Ask a question in the comments below.

Want to learn more? Enroll in Hello Coding 4.0. Free in the Mammoth Unlimited Membership. Get 300+ courses and 2,000 hours at a dirt-cheap price.
Mammoth Interactive Favicon

Why you NEED to take this course :

Get in Touch.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

EMAIL US

support@mammothinteractive.com