Installing Ganache
There are two distinct phases in the overall modification and writing of transactions to a ledger using Ethereum:
- The first phase involves creating a transaction and putting it in a transaction pool.
- The second phase that happens periodically is to get all transactions from a transaction pool and mine them. Mining here means writing those transactions to the Ethereum database or ledger.
From this description, you'd know it would be a time-consuming process if the same process was used for development and testing purposes. To ease the process of the development and testing of solutions and smart contracts on Ethereum, Ganache was created, originally known as TestRPC. ganache-cli, by itself, contains both the Ethereum transaction processing and mining functionality. Moreover, by default, there is no waiting period for the mining of transactions. This can be overridden using the Ganache configuration settings. The transactions are written as...