Blockchain Development with Hyperledger
Build decentralized applications with Hyperledger Fabric and Composer
Salman A. Baset
Luc Desrosiers
Nitin Gaur
Petr Novotny
Anthony O'Dowd
Venkatraman Ramakrishna
BIRMINGHAM - MUMBAI
Blockchain Development with Hyperledger
Copyright 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First Published: March 2019
Production Reference: 1250319
Published by Packt Publishing Ltd.
Livery Place, 35 Livery Street
Birmingham, B3 2PB, U.K.
ISBN 978-1-83864-998-2
www.packtpub.com
mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry-leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why Subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
Packt.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the Authors
Salman A. Baset is the CTO of security in IBM Blockchain Solutions.
Luc Desrosiers is an IBM-certified IT architect with 20+ years of experience.
Nitin Gaur is the director of IBM's Blockchain Labs, and an IBM Distinguished Engineer.
Petr Novotny is a research scientist at IBM Research, with an MSc from University College London and PhD from Imperial College London, where he was also a post-doctoral research associate.
Anthony O'Dowd works in IBM's Blockchain team and is based in Europe.
Venkatraman Ramakrishna is an IBM researcher with a BTech from IIT Kharagpur and PhD from UCLA.
Weimin Sun is an expert in designing data-driven solutions.
Xun (Brian) Wu is an author, founder, and board advisor for several blockchain start-ups.
Packt Is Searching for Authors Like You
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
This Learning Path is your easy reference for exploring and building blockchain networks using Ethereum, Hyperledger Fabric, and Hyperledger Composer. It begins with an overview of blockchain and shows you how to set up an Ethereum development environment for developing, packaging, building, and testing campaign-decentralized applications. You'll learn Solidity the de facto language for developing decentralized applications in Ethereum. You'll configure the Hyperledger Fabric and use these components to build private blockchain networks and applications that connect to them. Starting with the principles first, you'll learn to design and launch a network, implement smart contracts in chaincode, and much more.
By the end of this Learning Path, you'll be able to build and deploy your own decentralized applications by handling the key pain points encountered in the blockchain life cycle.
Who This Book Is For
This Learning Path is designed for blockchain developers who want to build decentralized applications and smart contracts from scratch using Hyperledger. A basic familiarity or exposure to any programming language will be useful to get started with this course.
What This Book Covers
, Blockchain - Enterprise and Industry Perspective , you've heard about blockchain and you are wondering, what is all the fuss about? In this chapter, we explore why blockchain is a game changer, what innovation it brings, and what the technology landscape is.
, Exploring Hyperledger Fabric , starts with an understanding of the blockchain landscape, then we turn our attention to Hyperledger Fabric. The aim of this chapter is to walk you through the deployment of each component of Hyperledger Fabric while unveiling/building the architecture.
, Setting the Stage with a Business Scenario , describes a business use case and then focuses on understanding the process of creating a good business network, using blockchain from requirements to design.
, Designing a Data and Transaction Model with Golang , aims to define what makes up a smart contract in Hyperledger Fabric. It will also introduce you to some terms regarding smart contracts and get you to experience the development of a chaincode using the Go language.
, Exposing Network Assets and Transactions, leveraging the smart contract written in the previous chapter, this chapter looks at the required integration of application to the network. It takes the readers through the process of configuring a channel, and installing and invoking chaincode, from a client application and considers the various integration patterns that might be used.
, Business Networks, has an objective to introduce and uncover the skills and tools needed to model a business network. Working at a higher level of abstraction, the foundation, tools, and framework will provide the reader with a way to quickly model, design, and deploy a complete end-to-end business network.
Next page