Book Image

Truffle Quick Start Guide

By : Bhaskar
Book Image

Truffle Quick Start Guide

By: Bhaskar

Overview of this book

Truffle is a world-class development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier. If you are a web developer wanting to try your hand at developing Dapps with Truffle, then this is the book for you. This book will teach you to write smart contracts and build Dapps with Truffle. You will begin with covering the basics of Truffle, briefly explaining how it integrates Solidity and Web3, in orderto start building a mini decentralized application. Also, you will dive into migration, testing and integrating Truffle with the use of popular JavaScript frameworks. Lastly, you will ship your decentralized application and package it into a product. Moreover, you will go through the best practices in Truffle,so as to increase your proficiency in building Dapps with Truffle. By the end of the book, you will be able to write smart contracts and build decentralized applications with Truffle on Ethereum blockchains.
Table of Contents (9 chapters)

Summary

We've covered a lot here! You learned how to write unit tests in Solidity and JavaScript. Specifically, you learned how to test for modifiers, public functions, state modifications, and events! Remember, testing is a vital part of any software development—not just smart contract development. Just as with any software, writing unit tests is absolutely crucial to ensuring that your application works well in production and makes users happy.

See you in Chapter 7, Truffle Gotchas and Best Practices, where we learn about best practices and gotchas in Truffle!