Setting up new project

To set up a new project, go through the following steps:

  1. Create a new folder for the project.
  2. On the console, run the truffle command, truffle –cli unbox webpack.
  1. Run the npm install –E command. Because OpenZeppelin recommends specifying –E and will pull a specific version of OpenZeppelin, it will never update it, and will keep the same version. This is because it doesn't have semantic versioning yet.
  2. Run npm install –E zeppelin-solidity. OpenZeppelin is a lot more secure because it has been built with security in mind from the very start.
  3. Let's switch over to the editor now. Here, we will find our starter project. ...

Get Ethereum Projects for Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.