Hands-On Smart Contract Development with Hyperledger Fabric V2
by Matt Zand , Xun (Brian) Wu , and Mark Anthony Morris
Copyright 2021 WEG2G LLC. All rights reserved.
Printed in the United States of America.
Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.
OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .
- Acquisitions Editor: Michelle Smith
- Development Editor: Gary OBrien
- Production Editor: Christopher Faucher
- Copyeditor: Sharon Wilkey
- Proofreader: Charles Roumeliotis
- Indexer: nSight, Inc.
- Interior Designer: David Futato
- Cover Designer: Karen Montgomery
- Illustrator: Kate Dullea
- September 2021: First Edition
Revision History for the Early Release
- 2020-08-21: First Release
- 2020-10-02: Second Release
- 2021-03-12: Third Release
- 2021-08-24: Fourth Release
See http://oreilly.com/catalog/errata.csp?isbn=9781492086123 for release details.
The OReilly logo is a registered trademark of OReilly Media, Inc. Hands-On Smart Contract Development with Hyperledger Fabric V2, the cover image, and related trade dress are trademarks of OReilly Media, Inc.
The views expressed in this work are those of the authors, and do not represent the publishers views. While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.
978-1-492-08605-5
[LSI]
Preface
Blockchain is currently the forerunner technology in shaping the next generation of fintech by offering transparent and fast transaction processing, higher financial data availability, better security, and tremendous cost savings in the financial industry. By introducing decentralized authority that makes third-party and middle actors obsolete, blockchain has initiated a paradigm shift in the way traditional financial institutions and other industries run their business operations.
A recent Gartner survey showed that more than 40% of companies have at least one blockchain pilot project in progress. Gartner also predicts that 30% of global blockchain projects will make their way to the production stage. Likewise, the global blockchain market is growing, manifested by a large number of Forbes Global 2000 companies currently experimenting with digital trust implementations.
Gartner has predicted that 90% of enterprise blockchain platform deployments will require replacement within 18 months from 2021 in order to stay competitive and secure, and to deter obsolescence. Gartner also predicts that by 2025, the business value generated by blockchain will move up gradually to $176 billion and then surge to surpass the $3.1 trillion mark by 2030.
Because of blockchain popularity, the developer community has passionately contributed several private and public distributed ledger technologies (DLTs) for building blockchain applications. Among the existing DLTs, Hyperledger is a leading platform for building enterprise permissioned blockchain applications. By design, Hyperledger has embedded features, functionalities, tools, and libraries for building, scaling, and managing enterprise blockchain applications.
The aim of this book is to show you how to build a private enterprise blockchain system by using Hyperledger Fabric and to put together various components of Fabric to create and maintain a robust, secure, and scalable blockchain application.
We have been offering blockchain consulting, development, and training services since 2018 through our companies, Hashflow and Coding Bootcamps. At Hashflow, we advise companies of all sizes on leveraging blockchain technology and fintech to either overcome business challenges or help bring about foreseeable values through brand-new visions. We also are partnering with pioneering companies in industries like fintech, healthcare, music, and energy to build software-as-a-service (SaaS) products using blockchain technology. Our team is composed of industry-leading practitioners who have applied the blockchain framework to achieve desired benefits within both classical business models and novel ventures.
In addition to Hashflow, we started a training company to build capacity and capabilities for prospective employees looking to build and deploy blockchain solutions internally. With regard to our (individual or enterprise) training experiences, we noticed that the majority of beginner students lack prerequisite skills (like Linux bash scripting, Docker, or Go programming) that are essential for mastering Hyperledger Fabric. As such, at Coding Bootcamps, we have tailored our training programs to meet multiple business requirements. You can start by visiting the following pages on our company website:
Our blockchain courses are offered in both English and Spanish. Also, for Hyperledger we offer two courses: Fabric System Administration and Fabric Development. While the system administration course prepares students for the Certified Hyperledger Fabric Administrator (CHFA) exam, the development course covers topics in the Certified Hyperledger Fabric Developer (CHFD) exam.
From all the offerings that we have created over the last few years, we are most proud of our Blockchain Engineering bootcamp. It provides over 180 hours of live and recorded instruction, with many hands-on labs and a certificate of completion upon finishing the quizzes and final project. We offer our blockchain bootcamp multiple times per year, and we update and improve it with every cohort. The online program is the first of its kind, in that the top students in each group are also referred for employment to our employer network.
How to Build Enterprise Blockchain Applications with Hyperledger
One industry after another is currently experimenting with blockchain. The prominent industries currently leading blockchain use cases are real estate, healthcare, government, higher education, logistics, aviation, finance, and energy. Among these industries, finance has been more receptive to adopting a variety of blockchain use cases. For example, based on a report by the Bank for International Settlements (BIS), 80% of global central banks are researching the advantages and disadvantages of digital currency.
Based on our personal experiences with clients in fintech, including private banks, many financial institutions and independent entrepreneurs are exploring the idea of digital-only banks. In doing so, they want to utilize blockchain technology to offer banking products such as digital currency, digital wallets, peer-to-peer payments, loan and credit, utility tokens, and security tokens. Likewise, we have experienced growing demands from banks for implementing Know Your Customer and Anti-Money Laundering guidelines for their digital banks, where we typically use Hyperledger DLTs like Fabric, Aries, or Indy to manage their customers identities.