In this project, we'll use Truffle to deploy and run our smart contract. When dealing with larger projects, it's always worth the initial effort that's invested in setting up a framework such as Truffle with all the required dependencies, because it saves us a lot of time in the long run while improving the development experience. Here are the steps for setting up our project with Truffle, since it's the first time we're mentioning it in this book. Later on, we'll assume that you know how to set up a project in Truffle, although we'll remind you plenty of times when needed:
- Let's start right away by creating a new folder called copyright:
- Inside that folder, run the truffle init command. If you don't have ...