Truffle is a great tool that helps you to easily develop, compile, test, and deploy your smart contract in your development environment. You can use Truffle to easily set up a project and hook your frontend code with your deployed contract. In Chapter 5, Developing Your Own Cryptocurrency, we installed Truffle and briefly introduced the basic Truffle commands. In this section, we will cover Truffle development and unit testing in detail. First, let's take a look at the Truffle console and development features.
Understanding development using Truffle and unit testing
The Truffle console and development features
The Truffle console provides a command-line interface to connect external clients, such as Ganache and Ethereum...