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)

Summary

Great job. We've covered a lot in this chapter.

Just as we did with web3, the best way to learn or catch up on Solidity is to play with it inside of an isolated environment. I've created a file for you called solidity-playground.sol. You can find it here: https://github.com/PacktPublishing/Truffle-Quick-Start-Guide/blob/master/chapter2/solidity-playground.sol. This contains the same SimpleTransfer contract. It's for you to play with, add/alter functions, and so on—it's all yours. You can use an online Solidity IDE called Remix (https://remix.ethereum.org) to run your contract.

See you in Chapter 3, Choosing an Ethereum Client for Your Dapp, where you will learn how to interact with various Ethereum clients and choose the correct one for your Dapp.