August 2019
Intermediate to advanced
486 pages
13h 52m
English
In the truffle-config.js file, you will find the compilers' settings. You will need to uncomment the required parameters for this setting. As we are going to use Solidity compiler version ^0.5.0, we have updated the configuration accordingly. We also want our deployed contracts to be optimized, hence, we have enabled that flag. The following is the configuration for compilers in the truffle-config.js file:
compilers: { solc: { version: "^0.5.0", docker: false, settings: { optimizer: { enabled: true, runs: 200 }, evmVersion: "byzantium" } }}
Also, uncomment the development network configuration in the truffle-config.js file. After this configuration setup, you are ready to write your contract in the contracts folder ...