Solidity Setup

Learn how to set up the libraries required to install Solidity.

Using Visual Studio

For setting up libraries on your local machine, use Visual Studio Code (VS Code) for coding. VS Code has an extension that makes working with Solidity (.sol ) files easy. We recommend you download that for a better development experience.

If you are yet to install Node.js, make sure to install it using nvm. nvm makes it easy to manage multiple Node versions on the same system. We will first need to install a library called Hardhat. Hardhat is a local development tool that makes developing, testing, and deploying smart contracts easy. Let’s create a folder for our smart contract and initialize npm to install packages from the node registry.

Get hands-on with 1400+ tech skills courses.