Book description
Develop, test, and deploy decentralized applications for Ethereum platform
About This Book- Build your first Ethereum Dapp with Truffle: the most popular Ethereum development framework
- Build, compile, and deploy smart contracts in your development environment
- Embrace Blockchains and utilize it to create new generation of secured and scalable apps
This book is for web developers who are interested in the new world blockchain. Some basic understanding of JavaScript and web services is required. No prior knowledge of Decentralized applications or blockchain is required.
What You Will Learn- Understand the fundamentals of Truffle and Web3
- Build a decentralized application with Truffle, while choosing the correct Ethereum client
- Connect your Dapp to Ethereum clients including Geth, Parity, and Ganache
- Migrate and test your Dapp with the correct networks such as Ropsten and Rinkeby
- Package a decentralized application into a user-friendly product by integrating Truffle with JavaScript frameworks such as Angular, React and Vue
- Explore tools including Ethereum Package Manager, the Registrar and browser wallets, and exploit third-party smart contract libraries.
- Evaluate the common migration pitfalls and how to mitigate them
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.
Style and approachAn intuitive, step-by-step and engaging guide that will teach you to build a real-world, decentralized application with Truffle.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
-
Truffle for Decentralized Applications
- Technical requirements
- What is Truffle?
-
Let's build a mini Dapp
- Let's build a to-do list
- Initializing a Truffle project
- Peeping into the folders
- Peeping into the root files
- Housekeeping before we write code
- Writing our first smart contract
- Adding an owner
- Creating a reward method
- Securing your contract with modifiers
- Adding a utility method
- Wrapping up
- Building a user interface
- Simple styling
- Performing the build steps
- Let's write some JavaScript
- References
- Summary
- Web3 and Solidity in Truffle
- Choosing an Ethereum Client for Your Dapp
- Migrating Your Dapp to Ethereum Blockchains
- Truffle and Popular JavaScript Technologies
- Testing Your Dapp
- Truffle Gotchas and Best Practices
- Other Books You May Enjoy
Product information
- Title: Truffle Quick Start Guide
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789132540
You might also like
book
Cryptosocial
Cryptocurrency & Social Media Have Married and This is What It Looks Like Social media is …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Blockchain Quick Reference
Understand the Blockchain revolution and get to grips with Ethereum, Hyperledger Fabric, and Corda. Key Features …
book
Blockchain Value
This book focuses on the values of blockchain across industries. If you think that blockchain is …