Truffle and Ganache
Truffle and Ganache#
If you need a refresher on Truffle, you can jump back into chapter 6 of this book. In that section we talk about the developer tools we use and we also talk about how you can install it on your computer.
Ganache are installed, let's learn about running a local blockchain on our computer. We want to do this so we're not reliant on a third-party service to test it. By running our blockchain locally, we can simulate the main Ethereum blockchain and confirm if our Solidity smart contract code works.
Open a terminal and run the following command to get Ganache started:
ganache-cli. This command can be run from anywhere.
You should see something like this: