--save-exactbecause minor version updates to OpenZeppelin can introduce breaking changes.
./contractsdirectory for your Solidity source code. Inside you will see
Migrations.solwhich is used to manage your contract migrations, so don’t delete it.
./node_modulesare readily available without any configuration.
migrate. Compilation generates the contract bytecode and application binary interface (ABI). Migration sends transactions to the network that create instances of our smart contracts.
MyToken, we could find out the total supply with: