August 2019
Intermediate to advanced
486 pages
13h 52m
English
You can initialize the Truffle project with the truffle default settings. To create a truffle project, run the following truffle command in an empty folder:
$ truffle init
The preceding command creates the following folder structure in an empty folder:
.├── contracts (Folder to keep .sol contract files)│ └── Migrations.sol (Default contract for migration)├── migrations (Folder to keep migration scripts)│ └── 1_initial_migration.js (script to deploy Migrations.sol contract)├── test (Folder to keep contract test cases)└── truffle-config.js (Default truffle configuration file)
This will create the following things in the folder to make it compatible with the Truffle framework: