Book description
A blockchain is a collection of data records, or "blocks," that are linked through using secure cryptographic hashes to form a "chain" that can be read and verified easily by anyone with the correct credentials but cannot be altered. This system is perfect for supply chains, health records, and other sensitive data where security and transparency are critical. Blockchain in Action introduces the fundamental principles of the blockchain and teaches you to build secure applications that can be used for voting, private auctions, and electronic record management.About the Technology
Blockchain is more than just the tech behind Bitcoin—much more! Combining impenetrable security, decentralized transactions, and independently verifiable supply chains, blockchain applications have transformed currency, digital identity, and logistics. Platforms such as Ethereum and Hyperledger make it easy to get started by using familiar programming languages.
About the Book
Blockchain in Action teaches you how to design and build blockchain-based decentralized apps, and is written in a clear, jargon-free style. First, you'll get an overview of how blockchain works. Next, you'll code your first smart contract using Ethereum and Solidity, adding a web interface, trust validation, and other features until your app is ready for deployment. The only thing you need to get started is standard hardware and open source software.
What's Inside
- Blockchain compared with other distributed systems
- Development in Solidity
- Identity, privacy, and security
- On-chain and off-chain data and operations
About the Reader
For programmers who know JavaScript.
About the Author
Bina Ramamurthy has thirty years of experience teaching distributed systems, data science, peer-to-peer networking, and blockchain.
Quotes
A terrific introduction to blockchain that takes you beyond the lingo to understand core concepts.
- Michael Jensen, Arcadia
Get a thorough understanding of decentralized systems and their part in your future design plans.
- Richard B. Ward, Principis Capital
Go from theory to practice to implementation with this excellent guide to navigating the blockchain maze.
- Sambasiva Andaluri, Amazon Web Services
A definitive source on blockchain and one of the few books that covers blockchain practically.
- M. Sheik Uduman Ali. Harman Connected Services
Table of contents
- Blockchain in Action
- Copyright
- dedication
- brief contents
- contents
- front matter
- Part 1. Getting started with blockchain programming
- 1 Blockchain basics
-
2 Smart contracts
- 2.1 The concept of a smart contract
- 2.2 Design of a smart contract
- 2.3 Development of a smart contract code
- 2.4 Deploying and testing the smart contract
- 2.5 What makes a blockchain contract smart?
- 2.6 Decentralized airline system use case
- 2.7 Airlines smart contract
- 2.8 Smart contract design considerations
- 2.9 Best practices
- 2.10 Summary
- 3 Techniques for trust and integrity
- 4 From smart contracts to Dapps
- Part 2. Techniques for end-to-end Dapp development
- 5 Security and privacy
- 6 On-chain and off-chain data
-
7 Web3 and a channel Dapp
- 7.1 Web3 API
- 7.2 The channel concept
- 7.3 Micropayment channel
-
7.4 Micropayment channel use case
- 7.4.1 Traditional banking solution
- 7.4.2 Users and roles
- 7.4.3 On-chain and off-chain operations
- 7.4.4 MPC smart contract (MPC-contract)
- 7.4.5 MPC application development (MPC-app)
- 7.4.6 MPC sequence diagram
- 7.4.7 Demonstration of MPC execution
- 7.4.8 Accessing the web3 provider
- 7.4.9 Extensions of MPC
- 7.4.10 The relevance of the micropayment channel
- 7.4.11 Other web3 packages of interest
- 7.5 Retrospective
- 7.6 Best practices
- 7.7 Summary
-
8 Going public with Infura
- 8.1 Nodes and networks
- 8.2 Infura blockchain infrastructure
- 8.3 Going public with Infura
-
8.4 End-to-end process for public deployment
- 8.4.1 Account generation and management
- 8.4.2 Choosing a network and importing accounts
- 8.4.3 Collecting ether from faucets
- 8.4.4 Creating blockchain nodes on Infura
- 8.4.5 Installing HDWalletProvider
- 8.4.6 Configuring and deploying the smart contract
- 8.4.7 Configuring and deploying the web application
- 8.5 Deploying BlindAuction-Dapp on Infura
- 8.6 Deploying MPC-Dapp on Infura
- 8.7 Retrospective
- 8.8 Best practices
- 8.9 Summary
- Part 3. A roadmap and the road ahead
- 9 Tokenization of assets
- 10 Testing smart contracts
-
11 A roadmap to Dapp development
- 11.1 Motivating scenario: Educational credentialing
- 11.2 The roadmap
- 11.3 Problem description
- 11.4 Analysis and design
- 11.5 Developing the smart contract
- 11.6 Local deployment
- 11.7 Automated testing using truffle
- 11.8 Developing the web application
- 11.9 Testing the DCC-Dapp
- 11.10 Public deployment
- 11.11 Retrospective
- 11.12 Best practices
- Summary
-
12 Blockchain: The road ahead
- 12.1 Decentralized identity
- 12.2 Self-managed identity
- 12.3 Consensus and integrity
- 12.4 Scalability
- 12.5 Scalability solutions
- 12.6 Privacy
- 12.7 Public, private, and permissioned networks
- 12.8 Confidentiality
- 12.9 Security
- 12.10 Securing it with cryptocurrency
- 12.11 Accessing off-chain data (Oracles)
- 12.12 From foundations to practical systems
- 12.13 Looking ahead
- 12.14 Best practices
- 12.15 Retrospective
- 12.16 Summary
- appendix A. UML blockchain design models
- appendix B. Design principles
- index
Product information
- Title: Blockchain in Action
- Author(s):
- Release date: October 2020
- Publisher(s): Manning Publications
- ISBN: 9781617296338
You might also like
book
What Is Blockchain?
Everyone’s talking about blockchain. This exciting technology has the potential to impact our lives in much …
video
Getting Started with Blockchain and Cryptocurrency
3+ Hours of Video Instruction Overview In this course, participants learn what blockchain and cryptocurrency are, …
book
Mastering Blockchain
The future will be increasingly distributed. As the publicity surrounding Bitcoin and blockchain has shown, distributed …
book
Building Ethereum Dapps
Building Ethereum Dapps introduces you to decentralized applications based on the Ethereum blockchain platform. In this …