© Wei-Meng Lee 2019
W.-M. LeeBeginning Ethereum Smart Contracts Programminghttps://doi.org/10.1007/978-1-4842-5086-0_7

7. Testing Smart Contracts Using Ganache

Wei-Meng Lee1 
Ang Mo Kio, Singapore

In Chapter 4, you learned how to create your own private test Ethereum network using the Ethereum client – Geth. While Geth is not that difficult to use to set up an Ethereum blockchain, it still takes considerable effort to set one up. In addition, you also need to create accounts and perform mining in order to obtain Ethers so that you can use them to deploy Smart Contracts and for performing transactions.

A much better option is to use a tool that can emulate an Ethereum blockchain, together with all the required accounts so that you can just focus ...

Get Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.