Migration scripts in Truffle are used for deploying your contracts to an Ethereum network. Scripts are written in JavaScript and you can create new migration scripts throughout the development process. You will learn about creating and running these scripts from this recipe.
Migration and deployment in Truffle
Getting ready
You need to have Truffle installed on your machine to try this recipe. Ensure that you have a working Ethereum network to connect and test these scripts.
How to do it...
- Create and store migration scripts in the ./mirations directory. You can find...