更新时间:2021-06-24 19:24:24
coverpage
Title Page
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Blockchain Basics
Understanding distributed systems
The Byzantine Generals' Problem
Losing strategy
Winning strategy
The CAP theorem
Consensus in distributed systems
Understanding the hash function and the Merkle tree
Understanding a blockchain–a developer and trader's perspective
Inside a block
Blockchain mining and forking
Blockchains – evolution generations and hype
Summary
Grokking Ethereum
Understanding Ethereum
The notion of decentralization
The Ethereum ecosystem
Mist
Decentralized applications
Middleware
Swarm
Whisper
EVM
Hardware clients and internet
Turing completeness and the magic sauce
Ethereum block mining and forking
The Ethereum wallet and client interface
Hello World of Smart Contracts
A smart contract in seven lines of code
Remix in a nutshell
Increment and decrement operations using Solidity
Coding a loop
Raising an issue on GitHub
Smart contract on a private blockchain
Writing the genesis block
Building a private blockchain
Connecting MIST browser using geth
Mining ethers in a private blockchain
Deploying smart contracts on our private chain
A Noob's Guide to DApps and DAO
Understanding DApps
Steps to develop a DApp
Architecture of a DApp
What is ethercast?
btcrelay.org
oraclize.it
the-pitts-circus.com
Understanding the design of DAO
The rise and fall of DAO
Deep-Diving into Smart Contracts
What makes a contract "smart"?
Definition and design
Role of code in a smart contract
Basic anatomy of a smart contract design
Smart contract optimization
Smart contract auditing and compliance
Designing a voting DApp
Solidity in Depth
Need for solidity
Nuances syntax and features of solidity
Pragma import and comments
Class properties of a contract
Functions
Events
Inheritance
Libraries
Expression and control structures
Units and variables
Optimizer and debugging options
Parity hack demystified
Primer on Web3.js
Web3.js in the Ethereum ecosystem
Running a smart contract using Web3.js
API structure of Web3.js
Designing an ownership contract