Chapter 11. Improving the development cycle with Truffle
- Installing Truffle, a smart-contract framework
- Setting up and compiling an Ethereum contract within Truffle
- Simplifying contract deployment through Truffle’s migrations
- Simplifying contract unit testing with Truffle
In the previous chapter, you started to integrate unit testing into your development environment with Mocha. But you might have noticed that the unit test script didn’t look ideal. It has a fairly complex setup, which includes explicit instructions on compiling SimpleCoin and creating a contract factory. Each test also includes an explicit deployment statement that references the contract factory. The main drawback is that all this ...
Get Building Ethereum Dapps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.