Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Blockchain with Hyperledger Fabric - Second Edition

You're reading from  Blockchain with Hyperledger Fabric - Second Edition

Product type Book
Published in Nov 2020
Publisher Packt
ISBN-13 9781839218750
Pages 756 pages
Edition 2nd Edition
Languages
Concepts
Authors (6):
Nitin Gaur Nitin Gaur
Profile icon Nitin Gaur
Anthony O'Dowd Anthony O'Dowd
Profile icon Anthony O'Dowd
Petr Novotny Petr Novotny
Profile icon Petr Novotny
Luc Desrosiers Luc Desrosiers
Profile icon Luc Desrosiers
Venkatraman Ramakrishna Venkatraman Ramakrishna
Profile icon Venkatraman Ramakrishna
Salman A. Baset Salman A. Baset
Profile icon Salman A. Baset
View More author details

Table of Contents (18) Chapters

Preface 1. Blockchain – An Enterprise and Industry Perspective 2. Exploring Hyperledger Fabric 3. Business Networks 4. Setting the Stage with a Business Scenario 5. Designing Smart Contract Transactions and Ledger Data Structures 6. Developing Smart Contracts 7. Developing Applications 8. Advanced Topics for Developing Smart Contracts and Applications 9. Network Operation and Distributed Application Building 10. Enterprise Design Patterns and Considerations 11. Agility in a Blockchain Network 12. Governance – A Necessary Evil of Regulated Industries 13. Life in a Blockchain Network 14. Hyperledger Fabric Security 15. Blockchain's Future, Protocol Commercialization, and Challenges Ahead 16. Another Book You May Enjoy
17. Index

Defining the terms – what is blockchain?

According to NISTIR 8202 (https://nvlpubs.nist.gov/nistpubs/ir/2018/NIST.IR.8202.pdf),

Blockchains are tamper evident and tamper resistant digital ledgers implemented in a distributed fashion (i.e., without a central repository) and usually without a central authority (i.e., a bank, company, or government). At their basic level, they enable a community of users to record transactions in a shared ledger within that community, such that under normal operation of the blockchain network no transaction can be changed once published. National Institute of Standards and Technology Interagency or Internal Report (NISTIR) 8202: Blockchain Technology Overview

A blockchain supporting a cryptocurrency is permissionless, in the sense that anyone can participate without a specific identity and the ledger is publicly visible to anyone. Such blockchains typically use a consensus protocol based on proof of work (PoW) and economic incentives. In contrast, permissioned blockchains have evolved as an alternative way to run a blockchain with a group of known, identified participants.

A permissioned blockchain provides a way to secure the interactions among a group of known entities that share a mutual business goal but don't fully trust each other, such as businesses that exchange funds, goods (supply chain), or information. The entities in permissioned blockchains can choose to make their ledgers public (viewable by anyone) or private (scoped to participants in the permissioned blockchain). For the remainder of this book, we assume that permissioned blockchains also imply that ledgers are not publicly viewable. A permissioned blockchain relies on the identities of the peers, and in so doing can use traditional Byzantine Fault tolerant (BFT) consensus (or a flavor of BFT or any leader-based consensus protocol).

Blockchains may execute arbitrary, programmable transaction logic in the form of smart contracts, as exemplified by Ethereum (http://ethereum.org/). The scripts in Bitcoin were a predecessor of the concept. A smart contract functions as a trusted distributed application and gains its security from the blockchain and the underlying consensus among the peers.7

Discerning permissioned from permissionless blockchain is vital for enterprises looking to utilize the blockchain platform. The use case dictates the choice of technology, depending on consensus systems, governance models, data structure, and so on. With permissioned blockchains, the idea is to apply traditional technology design (such as three-tier or n-tier models) and IT management disciplines (such as ITIL and system management design principles) but in an incrementally better way, which can be significant. In the diagram that follows, you can see how a consortium of banks could use Hyperledger, a type of permissioned blockchain, for clearing and settlement without relying on a central clearing house:

https://cdn-images-1.medium.com/max/1600/1*EN1XjOiZ29RibHXbD9b-Ew.png

Figure 1.1: How a Hyperledger blockchain can change an organization's infrastructure (Source Hyperledger. Used under Creative Commons Attribution 3.0 Unported. https://creativecommons.org/licenses/by/3.0/)

The core difference between true decentralization versus distributed infrastructure with managed participation is more about governance and rules of engagement on the network. This core difference leads to a new (IT) economic model paving the way to discerning between a utility-based compute model (large, open public networks) or a consortium-based compute infrastructure (consortium-based permissioned networks). This leads to a never-ending debate around permissioned versus permissionless blockchain, and while this chapter will not address the debate, blockchain can present a way to either transform or disrupt current businesses and business models. Most use cases in regulated industries embark on permissioned blockchain models. This is due to regulatory requirements and the economic viability of transaction processing. Whereas permissionless blockchain provides a platform for new business models, such as peer-to-peer (P2P) transactions and disintermediation-led models, by definition, permissionless blockchain architecture relies on a very compute-intensive compute model to ensure transactional integrity. Regardless of the choice in blockchain models, blockchain provides a lot of possibilities for transformation and disruption.

Blockchain has extraordinary potential as a technology platform. In the enterprise, blockchain can provide:

  • A design approach that keeps transaction data, value, and state inherently close to the business logic
  • Secure execution of business transactions, validated through a community, in a secure process that facilitates the trust and robust transaction processing that are foundational to blockchain
  • An alternative, permissioned technology that conforms to existing regulations

Blockchain promises to solve longstanding industry concerns—and this is where its potential can really be seen, with issues like modernizing financial and trade systems and speeding up securities and trade settlements.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}