August 2019
Intermediate to advanced
486 pages
13h 52m
English
The migration scripts should be written in the JavaScript file for the truffle project. It must be present under the migrations folder. As the project progresses in terms of development, your contract also needs changes, and will require contract or setup changes present on the blockchain. This is done by adding new migrations scripts. Using the special contract, Migrations.sol, the history of the executed migration scripts are recorded on-chain.