Solidity development environment
The core of my development environment consists of:
- Node.js and npm
- Visual Code
I setup an environment on Windows using David Burela’s instructions. David has since written how to use Windows subsystem for Linux, though with both environments I still find tools that don’t work unfortunately, so occassionally have to fallback to using Linux (VM) or a Mac.
Node.js and npm
Download and install Node.js from the website. (I had issues on Windows with Truffle using version 10, so changed to version 8 LTS.)
For windows users only install via npm windows-build-tools
npm install -g -production windows-build-tools
Download and install Visual Code from the website.
Visual Studio Code - Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud…
Install the solidity extension from the marketplace.
solidity - Visual Studio Marketplace
Extension for Visual Studio Code - Ethereum Solidity Language for Visual Studio Code
Install GitHub from the website.
GitHub Desktop | Simple collaboration from your desktop
Extend your GitHub workflow beyond your browser with GitHub Desktop, completely redesigned with Electron. Get a unified…
Install truffle via npm
npm install -g truffle
Truffle Suite - Your Ethereum Swiss Army Knife
If you haven’t used Truffle before, then start with the Pet Shop tutorial
Ethereum Pet Shop -- Your First Dapp | Truffle Suite
This tutorial will take you through the process of building your first dapp-an adoption tracking system for a pet shop…
Setup Infura for deploying to testnets such as ropsten using Truffle tutorial.
Using Infura (or a custom provider) | Truffle Suite
Infura is a hosted Ethereum node cluster that lets your users run your application without requiring them to set up…
Install the Ganache local blockchain (though I haven’t spent any time with the GUI).
OpenZeppelin is a collection of smart contracts, e.g. ERC20, ERC827, ERC721 implementations.
Also a great resource for looking at how to test smart contracts and configure your environment.
If you haven’t used it, start with the Truffle Open Zeppelin tutorial.