Truffle Quick Start Guide: Learn the fundamentals of Ethereum development
暫譯: Truffle 快速入門指南:學習以太坊開發的基本原則

Nikhil Bhaskar

  • 出版商: Packt Publishing
  • 出版日期: 2018-06-28
  • 售價: $1,450
  • 貴賓價: 9.5$1,378
  • 語言: 英文
  • 頁數: 170
  • 裝訂: Paperback
  • ISBN: 1789132541
  • ISBN-13: 9781789132540
  • 相關分類: Fintech
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Develop, test, and deploy decentralized applications for Ethereum platform

Key Features

  • 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

Book Description

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.

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

Who this book is for

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.

Table of Contents

  1. Truffle for Decentralized Applications
  2. Web3 and Solidity in Truffle
  3. Choosing the client for your Dapp
  4. Migrating Your Dapp to Ethereum Blockchains
  5. Combining Truffle with Popular JavaScript Frameworks
  6. Testing Your Dapp
  7. Truffle Design Patterns

商品描述(中文翻譯)

**開發、測試和部署以太坊平台的去中心化應用程式**

#### 主要特點
- 使用 Truffle 建立您的第一個以太坊 Dapp:最受歡迎的以太坊開發框架
- 在您的開發環境中建立、編譯和部署智能合約
- 擁抱區塊鏈並利用它來創建新一代安全且可擴展的應用程式

#### 書籍描述
Truffle 是一個世界級的開發環境、測試框架和資產管道,旨在使以太坊開發者的生活更輕鬆。

如果您是一位希望嘗試使用 Truffle 開發 Dapps 的網頁開發者,那麼這本書就是為您而寫的。本書將教您如何編寫智能合約並使用 Truffle 建立 Dapps。您將從 Truffle 的基本概念開始,簡要說明它如何整合 Solidity 和 Web3,以便開始構建一個迷你去中心化應用程式。此外,您將深入了解遷移、測試以及如何使用流行的 JavaScript 框架來整合 Truffle。最後,您將發佈您的去中心化應用程式並將其打包成產品。此外,您將學習 Truffle 的最佳實踐,以提高您使用 Truffle 建立 Dapps 的熟練度。

在書籍結束時,您將能夠在以太坊區塊鏈上使用 Truffle 編寫智能合約並構建去中心化應用程式。

#### 您將學到的內容
- 理解 Truffle 和 Web3 的基本原理
- 使用 Truffle 建立去中心化應用程式,同時選擇正確的以太坊客戶端
- 將您的 Dapp 連接到包括 Geth、Parity 和 Ganache 的以太坊客戶端
- 在正確的網絡(如 Ropsten 和 Rinkeby)上遷移和測試您的 Dapp
- 通過將 Truffle 與 Angular、React 和 Vue 等 JavaScript 框架整合,將去中心化應用程式打包成用戶友好的產品
- 探索包括以太坊包管理器、註冊機和瀏覽器錢包的工具,並利用第三方智能合約庫
- 評估常見的遷移陷阱及其緩解方法

#### 本書適合誰
本書適合對新興區塊鏈世界感興趣的網頁開發者。需要具備一些基本的 JavaScript 和網頁服務知識,無需具備去中心化應用程式或區塊鏈的先前知識。

#### 目錄
1. 用於去中心化應用程式的 Truffle
2. Truffle 中的 Web3 和 Solidity
3. 為您的 Dapp 選擇客戶端
4. 將您的 Dapp 遷移到以太坊區塊鏈
5. 將 Truffle 與流行的 JavaScript 框架結合
6. 測試您的 Dapp
7. Truffle 設計模式