Learn Ethereum: Build your own decentralized applications with Ethereum and smart contracts

Front Cover
Packt Publishing Ltd, Sep 20, 2019 - Computers - 540 pages

Explore the blockchain-based decentralized platform and understand how Ethereum works with Dapps examples

Key Features
  • Explore the Ethereum ecosystem and understand the latest research on the platform
  • Build decentralized apps (Dapps) using smart contracts and Ethereum with the help of practical examples
  • Learn to make your decentralized applications fast and highly secure
Book DescriptionEthereum is a blockchain-based, decentralized computing platform that allows running smart contracts. This book provides a basic overview of how Ethereum works, its ecosystem, mining process, and the consensus mechanism. It also demonstrates a step-by-step approach for building decentralized applications. This book begins with the very basics of Blockchain technology. Then it dives deep into the Ethereum architecture, framework and tools in its ecosystem. It also provides you an overview of ongoing research on Ethereum, for example, Layer 1 and 2 scaling solution, Stablecoin, ICO/STO/IEO, etc. Next, it explains Solidity language in detail, and provides step-by-step instructions for designing, developing, testing, deploying, and monitoring decentralized applications. In addition, you’ll learn how to use Truffle, Remix, Infura, Metamask, and many other Ethereum technologies. It’ll also help you develop your own cryptocurrency by creating ERC20, and ERC721 smart contracts from scratch. Finally, we explain private blockchains, and you learn how to interact with smart contracts through wallets.What you will learn
  • Understand the concepts of blockchain and cryptocurrency
  • Master Ethereum development tools such as Truffle, Remix IDE and Infura
  • Delve into smart contract development
  • Develop DApps frontend using Node.js, React.js, and Web3js API
  • Learn Etherscan and other tools to secure and monitor smart contracts
  • Develop and debug smart contracts by working with Remix
  • Apply Truffle suite to compile, migrate, and unit test smart contracts
  • Explore smart contracts such as ERC20 token and decentralized digital market
Who this book is forThis book is for all developers and architects who want to explore Ethereum blockchain fundamentals and get started with building real-world decentralized applications. Knowledge of an object-oriented programming language such as JavaScript will be useful but not mandatory.
 

Contents

Preface
1
Blockchain and Ethereum Basics
6
Blockchain and Cryptocurrency
7
Ethereum Architecture and Ecosystem
46
Deep Research on Ethereum
77
Blockchain Development Cycle
122
Solidity Fundamentals
123
Developing Your Own Cryptocurrency
184
Ethereum Tools and Frameworks
294
Production and Deployment
335
Creating an Ethereum Private Chain
336
Deployment of Your Smart Contract
373
Building Ethereum Wallets
429
Conclusion
474
Conclusion
475
Other Books You May Enjoy
493

Ethereum Implementations
210
Smart Contract Development and Test Fundamentals
211
Writing UI for the DApps
249

Common terms and phrases

About the author (2019)

Xun (Brian) Wu is a senior blockchain architect and consultant. With over 20 years of hands-on experience across various technologies, including Blockchain, big data, cloud, AI, systems, and infrastructure, Brian has worked on more than 50 projects in his career. He has authored nine books, which have been published by O'Reilly, Packt, and Apress, focusing on popular fields within the Blockchain industry. The titles of his books include: Learn Ethereum (First Edition), Learn Ethereum (Second Edition), Blockchain for Teens, Hands-On Smart Contract Development with Hyperledger Fabric V2, Hyperledger Cookbook, Blockchain Quick Start Guide, Security Tokens and Stablecoins Quick Start Guide, Blockchain by Example, and Seven NoSQL Databases in a Week.

Zhihong Zou is an innovative technology leader with over 20 years of experience delivering cutting-edge enterprise solutions. He has led transformative solutions in telecommunications, healthcare, and government that leverage blockchain, AI/ML, and modern cloud architectures to solve complex business challenges. As an insightful visionary and trusted advisor, Zhihong is passionate about driving digital transformation and future-proofing organizations. He holds an M.Sc degree in computational mathematics and an M.Sc in computer science. Zhihong has authored multiple papers on numerical computing and two popular editions of the book Learn Ethereum. In his free time, Zhihong enjoys sharing his blockchain expertise as an advocate and writer.

Dongying Song has been a noteworthy leader in Blockchain, Ethereum, big data, ML, data science, and the cloud application development space for over 8 years. As an experienced software engineer and data scientist, she has worked for top-tier banks and pharmaceutical and technology companies. Dongying holds a master's degree in statistics from Columbia University and majored in mathematics during her undergraduate years. Her recent activities focus on Blockchain, Ethereum, and smart contract developments.

Bibliographic information