Truffle can be configured to use any number of networks that run the Ethereum protocol. The configuration file is located at truffle.js.
Truffle Configuration File
module.exports = { networks: { development:{…
Solidity stores locations in two places: in the state tree and in money. Storage in the state tree persists on the blockchain, whereas the memory is cleared after every transaction. However, storage on the state tree is expensive and should be used only when…