August 2019
Intermediate to advanced
486 pages
13h 52m
English
Under the network's properties, you can define multiple networks and their respective settings. These are the networks you can use for the testing and deployment of the contracts. The network setting also defines transaction parameters such as gas and gasPrice, which will be used while running the migration scripts. truffle also records the migration for each network and saves its state for the next run.
You can specify the network's name to use while running the migration:
$ truffle migrate --network rinkeby
Also, you can see each network's migration status, the contracts deployed, and the addresses on which they are present by running the following command:
$ truffle networks
The following is what the network setting ...
Read now
Unlock full access