August 2019
Intermediate to advanced
486 pages
13h 52m
English
We learned about Truffle in Chapter 5, Using Ganache and the Truffle Framework. To set up a new Truffle project, we have to do the following:
$ truffle init
This will initialize the Truffle project-related files and folders under the current directory.
$ npm init
The command will ask for certain details related to your package that you can provide, and it will create a package.json file under the current folder.