This is what you need to start developing Ethereum’s smart contracts, in Windows based machine.
- Relax the Powershell execution policy. To do this, open up a Powershell console as Administrator:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
- Assuming that you got Git installed, type:
git config --system http.sslverify false
- And then, you need to install the needed npm packages (if you don’t have npm or node installed, go here)
In the console:
- And then, you need to install the needed npm packages (if you don’t have npm or node installed, go here)
npm install -g node-gyp
npm install -g --production windows-build-tools
npm install -g ethereumjs-testrpc
npm install -g truffle
npm install -g truffle-expect truffle-config web3
- Now that you got all things needed installed, create a folder for your “smart contract” test project, and there execute:
truffle init
- Finally, open up your brand new environment with Visual Studio Code:
code .