You want to learn solidity, but you don’t know how to start? Even installing the right programs is a bit complicated, since most of them were made for Linux and not for Microsoft. I’ll show you how to install Solidity on your Windows computer.
Before we can get started, you’ll need to download the following tools:
Then install them all on your computer. This shouldn’t take long. Once you have successfully installed everything, we need an extension for Visual Studio to run Solidity.
So that we can get started, create an empty folder called Truffle on your desktop. Then go to Visual Studio and open this folder via File -> Open Folder. Then you need to download a test environment that we can work with. To do this, type the following command into the terminal:
npm install truffle -g
It gives us the tools we need to create Smart Contracts and Dapps with Solidity. It also gives us a test environment for our Smart Contracts.
Now we need Ganache. It’s a local Blockchain for developing and testing Blockchain code.
Here are 10 Ethereum accounts with 100 exemplary Ethers each which of course have no value.
The last thing we need is MetaMask as a browser extension. In order to use the Blockchain we just downloaded, we have to connect to it somehow. Therefore download the corresponding browser extension, depending on which browser you are using.
Optional: Highlighting code helps a lot with programming, so we need a text editor. It is of course optional and does not have to be downloaded. You can find the link here.
Now we have finally installed everything we need and can finally get started!