1

The situation is like this. I watched the tutorial and it came to "Deploy Smart Contract". I create a folder and open it in Visual studio. I activate the command "npm i -D hardhat" (as in the instructions) and the author has a folder "node-modules" (in the upper left corner) and some inscriptions. Next, I activate "npc hardhat" and in the tutorial there is a choice "Create a basic sample project", etc., and I have "Create a JavaScript project", etc., but there is no "Create a basic sample project". Where did I do wrong? Thank you in advance for your understanding and help:3

Tutorial: https://www.youtube.com/watch?v=Ne33FSVnMzw Timecode: 39:07

enter image description here enter image description here enter image description here enter image description here enter image description here

2 Answers 2

2

Sometimes projects used in tutorials get updates making the tutorial somewhat obsolity, and that is the cae here. You didnt do anything wrong but if you check their official documentation the Create simple project option doesnt exist anymore.

2
  • And now there is no HardHat version with "Create a basic sample project" anywhere else?
    – STrel
    Commented Sep 6, 2022 at 16:19
  • You can choose the typescript or js projects, both are just a sample project.
    – Julissa DC
    Commented Sep 6, 2022 at 17:48
0

So hardhat updated their docs on March 4th 2023, creating a basic sample project seems to work again if you follow the steps here. https://hardhat.org/hardhat-runner/docs/guides/project-setup

2
  • 2
    All chads use Foundry
    – Ryan Sea
    Commented Jan 18, 2023 at 0:26
  • @RyanSea good option too Commented Apr 2, 2023 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.