We started this chapter by defining the four ground rules for a DApp. Those are open source, no single point of failure, presence of native tokens, and algorithm for proof of values. We discussed Johnston's law for DApps along with the three major types of DApps. We then went through the steps to develop a DApp. We discussed the frontend architecture of a DApp, then moved to ethercast and its various status-color mapping. We then got introduced to DAO as a limited liability company on a blockchain. We even coded a simple DAO from scratch and transferred tokens from a wallet. Lastly, we detailed down the recursive step exploit vulnerability, which resulted in a 50 million DAO hack. In Chapter 5, Deep-Diving into Smart Contracts, we will take a deep-dive into smart contracts, to learn how to build robust and scalable code.
Ethereum Smart Contract Development
By :
Ethereum Smart Contract Development
By:
Overview of this book
Ethereum is a public, blockchain-based distributed computing platform featuring smart contract functionality. This book is your one-stop guide to blockchain and Ethereum smart contract development.
We start by introducing you to the basics of blockchain. You'll learn about hash functions, Merkle trees, forking, mining, and much more. Then you'll learn about Ethereum and smart contracts, and we'll cover Ethereum virtual machine (EVM) in detail. Next, you'll get acquainted with DApps and DAOs and see how they work. We'll also delve into the mechanisms of advanced smart contracts, taking a practical approach.
You'll also learn how to develop your own cryptocurrency from scratch in order to understand the business behind ICO. Further on, you'll get to know the key concepts of the Solidity programming language, enabling you to build decentralized blockchain-based applications. We'll also look at enterprise use cases, where you'll build a decentralized microblogging site.
At the end of this book, we discuss blockchain-as-a-service, the dark web marketplace, and various advanced topics so you can get well versed with the blockchain principles and ecosystem.
Table of Contents (18 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Free Chapter
Blockchain Basics
Grokking Ethereum
Hello World of Smart Contracts
A Noob's Guide to DApps and DAO
Deep-Diving into Smart Contracts
Solidity in Depth
Primer on Web3.js
Developing a Cryptocurrency from Scratch
Enterprise Use Cases
BaaS and the Dark Web Market
Advanced Topics and the Road Ahead
Other Books You May Enjoy
Index
Customer Reviews