---
title: "Discussion on \"How To Set Up A Solidity Project And Create Your First Smart Contract\" | Hashnode"
description: "Discussion on \"How To Set Up A Solidity Project And Create Your First Smart Contract\". Creating a Solidity Project with VSCode, Hardhat, Waffle, and ethers.js"
url: "https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Set Up A Solidity Project And Create Your First Smart Contract](https://deepdive.hashnode.dev/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract?utm_source=hashnode&utm_medium=feed)

Creating a Solidity Project with VSCode, Hardhat, Waffle, and ethers.js

Jun 14, 2021 · 16 min read · deepdive.hashnode.dev  
Updated Nov 3, 2022  
Read the article

-   [#solidity](https://hashnode.com/tag/solidity)
-   [#blockchain](https://hashnode.com/tag/blockchain)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)

## Written by

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

@OliverJumpertz · Germany

  
[View profile](https://hashnode.com/@OliverJumpertz)

Educated Software Engineer

I'm just a guy breathing and living software engineering and technology. Want to join me on my journey?

## Responses 5

Markdown supported · ⌘↵ to post

[herman aviu](https://hashnode.com/@cryptojourney)

[May 13, 2022](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/627ed21755afbae29a623762)

Love your vibe man! I'm new to the web 3.0 and everything so I appreciate how you break things down to terms a newbie can somewhat understand :-).

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

[May 15, 2022](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/627ed21755afbae29a623762#reply-628154640094f2f13f517090)

Hey Herman, I am so happy to hear that! 💛

[Tyler Choi](https://hashnode.com/@cozmozes)

[Feb 15, 2022](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/620c14747cf10d2765e2890b)

Hi Oliver, Thank you for this great introduction tutorial.

Performing this code and test in February 2022, it is interesting to see how much Solidity and its testing libraries have changed.

When I follow your code to import the required libraries, they appear as updated versions, which is rightfully expected. What's interesting is that with the updated versions, the tests do not run. My code compiles, but 0 tests pass.

When I copy your code exactly so that the previous "old" versions are input instead, everything works as intended.

I understand that libraries can get outdated and old versions may not work with newer updates. I'm just surprised that your post is not even a year old, and already the code is outdated for a 2022 test.

Thank you again for your guidance.

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

[Feb 15, 2022](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/620c14747cf10d2765e2890b#reply-620c1e0625673f2740ee8d43)

Hey Tyler, let me try to get this sorted on the weekend. I will then try to update the article accordingly, okay? ☺️

[jubril olamide muiz](https://hashnode.com/@JHorlamide)

[Oct 9, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/6162010518374f257327206d)

Thanks, Oliver for this wonderful article. I had a problem while following the instructions step by step. When I executed this command: npm install --save-dev @nomiclabs/hardhat-waffle @nomiclabs/hardhat-ethers ethereum-waffle chai ethers solidity-coverage, I got an error saying: Error: Cannot find module 'C:\\Users\\DELL\\OneDrive\\Documents\\node-gyp-build\\bin.js'. I did a little bit of google searching to fix the problem but nothing worked out, so am stuck at this step. I don't know if you know what I can do to fix it. Thanks once again.

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

[Oct 9, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/6162010518374f257327206d#reply-616217fc8e8734462af603a7)

Windows is sadly an incredibly bad system for development.

It seems you are missing native build tools.

Try running this:

npm install --global --production windows-build-tools --vs2015

Hope this help!

[jubril olamide muiz](https://hashnode.com/@JHorlamide)

[Oct 9, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/6162010518374f257327206d#reply-61621b228e8734462af603b2)

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz) I already came across the command when trying to fix the problem at first but still did not fix the problem. Thanks for your time Oliver I will still keep looking out on how I can resolve the issue.

[Mustafa Birotywala](https://hashnode.com/@mustafabiroty)

[Jun 15, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/60c824b2590a5c0656565700)

thanks for the article. I am using truffle suite for development. I will definitely try this approach too.

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

[Jun 15, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/60c824b2590a5c0656565700#reply-60c8b66bbbd8c506819af9ab)

This sounds great, Mustafa! 💛🙌🏻

[Shaquil Hansford](https://hashnode.com/@ShaquilHansford)

[Jun 14, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/60c7b2f1bbd8c506819ae76b)

This is AWESOME, Oliver! Helps so much with getting started with smart contracts, especially as someone who wants to eventually take it into the freelance/professional world.

When I make my first $$ from solidity, I'm giving you a major shoutout!

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

[Jun 14, 2021](https://hashnode.com/posts/how-to-set-up-a-solidity-project-and-create-your-first-smart-contract/60c7aad7bbd8c506819ae6aa/comment/60c7b2f1bbd8c506819ae76b#reply-60c7b451bbd8c506819ae7c2)

That's so awesome to read, Shaquil, thank you! 💛
