Book description
Leverage the power of Hyperledger Fabric to develop Blockchain-based distributed ledgers with ease
Key Features
- Write your own chaincode/smart contracts using Golang on hyperledger network
- Build and deploy decentralized applications (DApps)
- Dive into real world blockchain challenges such as integration and scalability
Book Description
BBlockchain and Hyperledger technologiesare hot topics today. Hyperledger Fabric and Hyperledger Composer are open source projects that help organizations create private, permissioned blockchain networks. These find application in finance, banking, supply chain, and IoT among several other sectors. This book will be an easy reference to explore and build blockchain networks using Hyperledger technologies.
The book starts by outlining the evolution of blockchain, including an overview of relevant blockchain technologies. You will learn how to configure Hyperledger Fabric and become familiar with its architectural components. Using these components, you will learn to build private blockchain networks, along with the applications that connect to them. Starting from principles first, you'll learn to design and launch a network, implement smart contracts in chaincode and much more.
By the end of this book, you will be able to build and deploy your own decentralized applications, handling the key pain points encountered in the blockchain life cycle.
What you will learn
- Discover why blockchain is a game changer in the technology landscape
- Set up blockchain networks using basic Hyperledger Fabric deployment
- Understand the considerations for creating decentralized applications
- Learn to integrate business networks with existing systems
- Write Smart Contracts quickly with Hyperledger Composer
- Design transaction model and chaincode with Golang
- Deploy Composer REST Gateway to access the Composer transactions
- Maintain, monitor, and govern your blockchain solutions
Who this book is for
The book benefits business leaders as it provides a comprehensive view on blockchain business models, governance structure, and business design considerations of blockchain solutions. Technology leaders stand to gain a lot from the detailed discussion around the technology landscape, technology design, and architecture considerations in the book. With model-driven application development, this guide will speed up understanding and concept development for blockchain application developers. The simple and well organized content will put novices at ease with blockchain concepts and constructs.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Foreword
- Contributors
- Preface
-
Blockchain - Enterprise and Industry Perspective
- Defining the terms – what is a blockchain?
- Four core building blocks of blockchain framworks
- Fundamentals of the secure transaction processing protocol
- Where blockchain technology has been and where it's going
- Industries putting blockchain technology to work
- Blockchain in the enterprise
- Enterprise design principles
- Business considerations for choosing a blockchain framework
- Technology considerations for choosing a blockchain framework
- Enterprise integration and designing for extensibility
- Other considerations
- Summary
-
Exploring Hyperledger Fabric
- Building on the foundations of open computing
- Hyperledger frameworks, tools, and building blocks
- Hyperledger Fabric component design
- Hyperledger Fabric – the journey of a sample transaction
- Hyperledger Fabric explored
- Understanding governance in business networks powered by blockchain
- Summary
-
Setting the Stage with a Business Scenario
- Trading and letter of credit
- Business scenario and use case
- Setting up the development environment
- Network components' configuration files
- Launching a sample trade network
- Summary
- Designing a Data and Transaction Model with Golang
-
Exposing Network Assets and Transactions
-
Building a complete application
- The nature of a Hyperledger Fabric application
- Building the application
-
Middleware – wrapping and driving the chaincode
- Installation of tools and dependencies
-
Creating and running the middleware
- Network configuration
- Endorsement policy
- User records
- Client registration and enrollment
- Creating a channel
- Joining a channel
- Installation of chaincode
- Instantiation of chaincode
- Invoking the chaincode
- Querying the chaincode
- Completing the loop – subscribing to blockchain events
- Putting it all together
- User application – exporting the service and API
- Integration with existing systems and processes
- Summary
-
Building a complete application
-
Business Networks
- A busy world of purposeful activity
- Defining business networks
- Introducing participants
- Introducing assets
-
Introducing transactions
- Change as a fundamental concept
- Transaction definition and instance
- Implicit and explicit transactions
- The importance of contracts
- Signatures
- Smart contracts for multi-party transaction processing
- Digital transaction processing
- Initiating transactions
- Transaction history
- Transaction streams
- Separating transactions into different business networks
- Transaction history and asset states
- A business network as a history of transactions
- Regulators and business networks
- Discussing events from the perspective of designing a business network using Composer
- Implementing a business network
- Summary
-
A Business Network Example
-
The letter of credit sample
- Installing the sample
-
Running the sample
- Step 1 – preparing to request a letter of credit
- Step 2 – requesting a letter of credit
- Step 3 – importing bank approval
- Step 4 – exporting bank approval
- Step 5 – letter received by exporter
- Step 6 – shipment
- Step 7 – goods received
- Step 8 – payment
- Step 9 – closing the letter
- Step 10 – Bob receives payment
- Recapping the process
- Analyzing the letter of credit process
- A description of the business network
- A model of the business network
- Examining the live network
- Creating business network APIs
- Summary
-
The letter of credit sample
- Agility in a Blockchain Network
-
Life in a Blockchain Network
-
Modifying or upgrading a Hyperledger Fabric application
- Fabric blockchain and application life cycle
-
Channel configuration updates
- Prerequisites for adding a new organization to the network
- Generating network cryptographic material
- Generating channel artifacts
- Generating the configuration and network components in one operation
- Launching the network components for the new organization
- Updating the channel configuration
- Adding the new organization to the network
- Smart contract and policy updates
- Platform upgrades
- System monitoring and performance
- Summary
-
Modifying or upgrading a Hyperledger Fabric application
- Governance, Necessary Evil of Regulated Industries
-
Hyperledger Fabric Security
- Hyperledger Fabric design goals impacting security
- Hyperledger Fabric architecture 
- Network bootstrap and governance – the first step towards security
- Strong identities – the key to the security of the Hyperledger Fabric network
- Chaincode security
- Common threats and how Hyperledger Fabric mitigates them 
- Hyperledger Fabric and Quantum Computing
- General data protection regulation (GDPR) considerations
- Summary
- The Future of Blockchain and the Challenges Ahead
- Other Books You May Enjoy
Product information
- Title: Hands-On Blockchain with Hyperledger
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788994521
You might also like
video
Certified Blockchain Developer--Hyperledger Fabric (CBDH)
7+ Hours of Video Instruction Overview More than 7 hours of video instruction to prepare you …
book
Blockchain with Hyperledger Fabric - Second Edition
Learn to develop blockchain-based distributed ledgers and deploy a Hyperledger Fabric network with concrete exercises and …
video
Solidity Smart Contracts: Build DApps in Ethereum Blockchain
For the past couple of years, there has been no bigger breakthrough in the IT world …
book
Blockchain in Action
A blockchain is a collection of data records, or "blocks," that are linked through using secure …