Book Image

Truffle Quick Start Guide

By : Nikhil Bhaskar
Book Image

Truffle Quick Start Guide

By: Nikhil 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)

Solidity – a refresher

This is by no means a comprehensive tutorial on Solidity. This section will give you enough knowledge to build a fully functional Truffle Dapp. For more information on Solidity, the documentation is very handy; check it out here:

If you already have a good grasp of Solidity, you can skip the rest of this chapter and move on to Chapter 3, Choosing an Ethereum Client for Your Dapp.

In this section, we will cover Solidity basics. Further, you will find subsections for important components of Solidity. Let's start with our first component—data types.

Data types

Solidity, just like any other language, has some data types. Of them, let's...