Ethereum smart contracts – Setting up development environment (Windows)

Gabriel Pineiro
2018-08-14T01:07:39-03:00By |
July 5, 2017

This is what you need to start developing Ethereum’s smart contracts, in Windows based machine.

    1. Relax the Powershell execution policy. To do this, open up a Powershell console as Administrator:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
    1. Assuming that you got Git installed, type:
git config --system http.sslverify false
    1. And then, you need to install the needed npm packages (if you don’t have npm or node installed, go here)
      In the console:
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
    1. Now that you got all things needed installed, create a folder for your “smart contract” test project, and there execute:
truffle init
    1. Finally, open up your brand new environment with Visual Studio Code:
code .