Skip to Content
Mastering Blockchain Programming with Solidity
book

Mastering Blockchain Programming with Solidity

by Jitendra Chittoda
August 2019
Intermediate to advanced
486 pages
13h 52m
English
Packt Publishing
Content preview from Mastering Blockchain Programming with Solidity

Creating a ZeppelinOS project

Let's create a new project from scratch and use the ZeppelinOS development platform to write an upgradable contract:

  1. Create the project folder:
$ mkdir project$ cd project
  1. Under the project folder, initialize the project with the npm package. Follow the instructions and provide the required parameter when asked by the command. This will create a package.json file:
$ npm init
  1. Install the ZeppelinOS development platform command and the related files in the current project. This will install a zos command that we can use further:
$ npm install zos-lib@2.3.1 zos@2.3.1
  1. Initialize the project with the zos command, as follows:
$ npx zos init project v1

This command will create two new files, called zos.json ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood
Complete Cryptocurrency and Blockchain Course | Learn Solidity

Complete Cryptocurrency and Blockchain Course | Learn Solidity

Ravinder Deol, Codestars By Rob Percival, Thomas Wiesner

Publisher Resources

ISBN: 9781839218262Supplemental Content