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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.