What are migrations?
- they are Javascript files that help you deploy contracts to the Ethereum network.
What does the function artifacts.require() do?
- Tells Truffle which contracts we would like to interact with by giving the name of the contract definition.
Take a look at the Migrations.sol contract, what does it do?
- Helps manage the migration feature. As your deployment needs evolves change over time, you will create new migration scripts to further this evolution - the Migrations.sol facilitates these needs.
What function should we run when we want to deploy a contract from inside the migrations file?
- deployer.deploy()