Blockchain with Hyperledger Fabric


Book Description

Learn to develop blockchain-based distributed ledgers and deploy a Hyperledger Fabric network with concrete exercises and examples Key FeaturesUpdated with the latest features and additions that come with Hyperledger Fabric 2Write your own smart contracts and services using Java and JavaScript on a Hyperledger Fabric networkDive into real-world blockchain challenges such as integration and scalabilityBook Description Blockchain with Hyperledger Fabric - Second Edition is a refreshed and extended version of the successful book on practical Hyperledger Fabric blockchain development. This edition includes many new chapters, alongside comprehensive updates and additions to the existing ones. Entirely reworked for Hyperledger Fabric version 2, this edition will bring you right up to date with the latest in blockchain. Using a real-world Trade Finance and Logistics example, with working code available on GitHub, you’ll really understand both how and why Hyperledger Fabric can be used to maximum effect. This book is your comprehensive guide and reference to explore and build blockchain networks using Hyperledger Fabric version 2. This edition of the book begins by outlining the evolution of blockchain, including an overview of relevant blockchain technologies. Starting from first principles, you’ll learn how to design and operate a permissioned blockchain network based on Hyperledger Fabric version 2. You will learn how to configure the main architectural components of a permissioned blockchain network including Peers, Orderers, Certificate Authorities, Channels, and Policies. You’ll then learn how to design, develop, package, and deploy smart contracts, and how they are subsequently used by applications. This edition also contains chapters on DevOps, blockchain governance, and security, making this your go-to book for Hyperledger Fabric version 2. What you will learnDiscover why blockchain is a technology and business game changerSet up blockchain networks using Hyperledger Fabric version 2Understand how to create decentralized applicationsLearn how to integrate blockchains with existing systemsWrite smart contracts and services quickly with Hyperledger Fabric and Visual Studio CodeDesign transaction models and smart contracts with Java, JavaScript, TypeScript, and GolangDeploy REST gateways to access smart contracts and understand how wallets maintain user identities for access controlMaintain, monitor, and govern your blockchain solutionsWho this book is for This book is designed in such a way that professionals from different areas including business leaders, technology leaders, blockchain application developers, and even beginners can benefit from it.




Blockchain for Business with Hyperledger Fabric


Book Description

Step-by-step guide to understand the business implementation of Hyperledger Fabric DESCRIPTION In 2016, enterprise ÒblockchainÓ was a new concept. There were very few players in the private permissioned blockchain space. The advent of Hyperledger Fabric has since brought its tech in front of the likes of multi-national companies across various sectors like banking, insurance, retail, and more. Corporations and startups, across the globe, have started moving towards Hyperledger Fabric to find new use cases to support business requirements efficiently. As a result, relevant technical expertise and knowledge is required to build and support solutions on Hyperledger Fabric. This book aims to equip you with enough knowledge of enterprise blockchain platforms in conjunction with skills to use Fabric in order to succeed in the role of a Blockchain developer or Subject Matter Expert. The book starts with a brief introduction to the world of blockchain. The book will cover all aspects of fabric ranging from network setup, to use case deployment and testing. Several examples have been covered in this book which will provide you a hands-on understanding of the subject. You will also learn to use the basic functions, libraries and packages required in a Fabric business network deployment. KEY FEATURES Learn the basics of blockchain and Distributed Ledger Technology from a business and enterprise perspective Understand the advantages of Hyperledger Fabric and get acquainted with its architecture and tools used Acquire skills to create, deploy and interact with Chaincode in Node.js Learn to set up a new Hyperledger Fabric network Demystify Chaincode, in Fabric, for developers and operators Develop knowledge to invoke Chaincode from Fabric SDK and create APIs Get acquainted with the production environment for Fabric business networks WHAT WILL YOU LEARN This book will help the reader learn techniques for developing enterprise applications using Hyperledger Fabric. It will also help understand why blockchain is being regarded as a game changing technology within the business world. Reader will learn to deploy Fabric based business networks and chaincodes, and will come across case studies to put their knowledge to practice and solve real-life business problems using Hyperledger Fabric. WHO THIS BOOK IS FOR The book is intended for anyone looking for a career in blockchain, all aspiring Hyperledger Fabric SMEs who want to learn the most powerful innovation of the current time or working professionals who want to switch their career to blockchain by using Hyperledger Fabric Ð one of the most commonly used business platforms for blockchain. While no prior knowledge of Blockchain or Fabric is assumed, it will be helpful to have some programming experience. Table of Contents Blockchain and Decentralization Introduction to Hyperledger and Composer Basics of Hyperledger Fabric Frameworks, Network Topologies and Modelling Chaincode in Hyperledger Fabric Fabric SDK: Interaction with Fabric Network Fabric SDK: Building End-to-End Application with Fabric Network Fabric in Production




Blockchain for Business with Hyperledger Fabric


Book Description

Step-by-step guide to understand the business implementation of Hyperledger Fabric Key features Learn the basics of blockchain and Distributed Ledger Technology from a business and enterprise perspective Understand the advantages of Hyperledger Fabric and get acquainted with its architecture and tools used Acquire skills to create, deploy and interact with Chaincode in Node.js Learn to set up a new Hyperledger Fabric network Demystify Chaincode, in Fabric, for developers and operators Develop knowledge to invoke Chaincode from Fabric SDK and create APIs Get acquainted with the production environment for Fabric business networks DescriptionIn 2016, enterprise "e;blockchain"e; was a new concept. There were very few players in the private permissioned blockchain space. The advent of Hyperledger Fabric has since brought its tech in front of the likes of multi-national companies across various sectors like banking, insurance, retail, and more. Corporations and startups, across the globe, have started moving towards Hyperledger Fabric to find new use cases to support business requirements efficiently. As a result, relevant technical expertise and knowledge is required to build and support solutions on Hyperledger Fabric. This book aims to equip you with enough knowledge of enterprise blockchain platforms in conjunction with skills to use Fabric in order to succeed in the role of a Blockchain developer or Subject Matter Expert.The book starts with a brief introduction to the world of blockchain. The book will cover all aspects of fabric ranging from network setup, to use case deployment and testing. Several examples have been covered in this book which will provide you a hands-on understanding of the subject. You will also learn to use the basic functions, libraries and packages required in a Fabric business network deployment.What will you learnThis book will help the reader learn techniques for developing enterprise applications using Hyperledger Fabric. It will also help understand why blockchain is being regarded as a game changing technology within the business world. Reader will learn to deploy Fabric based business networks and chaincodes, and will come across case studies to put their knowledge to practice and solve real-life business problems using Hyperledger Fabric. Who this book is forThe book is intended for anyone looking for a career in blockchain, all aspiring Hyperledger Fabric SMEs who want to learn the most powerful innovation of the current time or working professionals who want to switch their career to blockchain by using Hyperledger Fabric - one of the most commonly used business platforms for blockchain. While no prior knowledge of Blockchain or Fabric is assumed, it will be helpful to have some programming experience.Table of contents1. Blockchain and Decentralization2. Introduction to Hyperledger and Composer3. Basics of Hyperledger Fabric4. Frameworks, Network Topologies and Modelling5. Chaincode in Hyperledger Fabric6. Fabric SDK: Interaction with Fabric Network7. Fabric SDK: Building End-to-End Application with Fabric Network8. Fabric in ProductionAbout the authorNakul Shah is the Founder and Director of Sate Development - India's leading Blockchain Company. He is a regular speaker at conferences across the globe, on topics like Blockchain, Hyperledger and Distributed Ledger Technology. As a longtime creative thought leader in financial markets, technology and innovation, he has worked with startups and multinationals across the world. Nakul has multiple years of experience in research, development and deployment of solutions using Blockchain Technology. Besides creating enterprise solutions, he also provides training, consultancy and development services, helping clients de-mystify the technology and understand how organizations can leverage its key features. Nakul has conducted lectures for banks, universities and governments, on various topics covering platforms and use cases of blockchain.Nakul has played a significant role in the adoption and application of technology. He started his career at State Street Corporation in Boston, which is one of the biggest and oldest providers of mutual fund, pension processing and asset custody services. He used advanced statistical and technical tools in the field of socially responsible investment. He also served as a Product Specialist for the wealth management team at Charles River Development. While executing independent consulting assignments, he has advised a leading sustainability firm that helps Fortune500 companies. Nakul holds a Master's degree in Financial Engineering from The University of Michigan Ann Arbor, USA.His LinkedIn Profile: linkedin.com/in/nakul-s-shah




Programming Hyperledger Fabric


Book Description

An enterprise blockchain or distributed ledger technology (DLT) is very much like a shared document stored on a cloud drive. There are just two differences. First, there is no master copy of this document stored with an escrow or arbiter, and second, any change to the document happens only after it has been signed off by all required stakeholders. This allows businesses to form a peer-to-peer network and establish a common ground of truth without giving up its control in hands of a single organization. The decentralized nature of the ledger combined with version control or immutability of the stored data is perfect for fast account reconciliation, secure tracking and tracing of products, and transparent records with no costly third-party auditing. This book teaches you how to build such decentralized applications.What's Inside:* Covers v2.0 of Fabric. Examples written in TypeScript and JavaScript* Deploying to production across multiple nodes using Docker* Securing communications with TLS* Handling Data Privacy* Comprehensive coverage of Fabric CA Server and Client* Bonus chapters on Bitcoin and LDAPThe author has done justice to it by really starting from the basics and explaining with wit the core concepts and taking the reader slowly to the core of Fabric.- Satej Sahu, Senior Enterprise Architect, HoneywellA very beginner friendly introduction to a massive amount of data needed to operate in the blockchain world.- Gregory Reshetniak, Product Owner, Ocado TechnologyA detailed bible about Hyperledger Fabric. This book is mandatory in the blockchain world. - Krzysztof Kamyczek, Architect Software Developer, Luxoft




Hands-On Blockchain with Hyperledger


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 Blockchain and Hyperledger technologies are 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.




Oracle Blockchain Quick Start Guide


Book Description

Get up and running with Oracle’s premium cloud blockchain services and build distributed blockchain apps with ease Key FeaturesDiscover Hyperledger Fabric and its components, features, qualifiers, and architectureGet familiar with the Oracle Blockchain Platform and its unique featuresBuild Hyperledger Fabric-based business networks with Oracle’s premium blockchain cloud serviceBook Description Hyperledger Fabric empowers enterprises to scale out in an unprecedented way, allowing organizations to build and manage blockchain business networks. This quick start guide systematically takes you through distributed ledger technology, blockchain, and Hyperledger Fabric while also helping you understand the significance of Blockchain-as-a-Service (BaaS). The book starts by explaining the blockchain and Hyperledger Fabric architectures. You'll then get to grips with the comprehensive five-step design strategy - explore, engage, experiment, experience, and influence. Next, you'll cover permissioned distributed autonomous organizations (pDAOs), along with the equation to quantify a blockchain solution for a given use case. As you progress, you'll learn how to model your blockchain business network by defining its assets, participants, transactions, and permissions with the help of examples. In the concluding chapters, you'll build on your knowledge as you explore Oracle Blockchain Platform (OBP) in depth and learn how to translate network topology on OBP. By the end of this book, you will be well-versed with OBP and have developed the skills required for infrastructure setup, access control, adding chaincode to a business network, and exposing chaincode to a DApp using REST configuration. What you will learnModel your blockchain-based business network by defining its components, transactions, integrations, and infrastructure through use casesDevelop, deploy, and test chaincode using shim and REST, and integrate it with client apps using SDK, REST, and eventsExplore accounting, blockchain, hyperledger fabric, and its components, features, qualifiers, architecture and structureUnderstand the importance of Blockchain-as-a-Service (BaaS)Experiment Hyperledger Fabric and delve into the underlying technologySet up a consortium network, nodes, channels, and privacy, and learn how to translate network topology on OBPWho this book is for If you are a blockchain developer, blockchain architect or just a cloud developer looking to get hands-on with Oracle Blockchain Cloud Service, then this book is for you. Some familiarity with the basic concepts of blockchain will be helpful to get the most out of this book




Blockchain Quick Start Guide


Book Description

Learn quick and effective techniques to get up and running with building blockchain including Ethereum and Hyperledger Fabric. Key FeaturesUnderstand the key concepts of decentralized applications and consensus algorithmsLearn key concepts of Ethereum and Solidity programmingPractical guide to get started with build efficient Blockchain applications with Ethereum and HyperledgerBook Description Blockchain is a technology that powers the development of decentralized applications.This technology allows the construction of a network with no single control that enables participants to make contributions to and receive benefits from the network directly. This book will give you a thorough overview of blockchain and explain how a blockchain works.You will begin by going through various blockchain consensus mechanisms and cryptographic hash functions. You will then learn the fundamentals of programming in Solidity – the defacto language for developing decentralize, applications in Ethereum. After that, you will set up an Ethereum development environment and develop, package, build, and test campaign-decentralized applications.The book also shows you how to set up Hyperledger composer tools, analyze business scenarios, design business models, and write a chain code. Finally, you will get a glimpse of how blockchain is actually used in different real-world domains. By the end of this guide, you will be comfortable working with basic blockchain frameworks, and develop secure, decentralized applications in a hassle-free manner. What you will learnUnderstand how blockchain hashing worksWrite and test a smart contract using SolidityDevelop and test a decentralized applicationBuild and test your application using Hyperledger FabricImplement business network using Hyperledger ComposerTest and interact with business network applicationsWho this book is for The book is for developers, analysts, or anyone looking to learn about Blockchain in a quick and easy manner.




Integrated Business Information Systems


Book Description

Enterprise Resource Planning (ERP), Supply Chain Management (SCM), Customer Relationship Management (CRM), Business Intelligence (BI) and Big Data Analytics (BDA) are business related tasks and processes, which are supported by standardized software solutions. The book explains that this requires business oriented thinking and acting from IT specialists and data scientists. It is a good idea to let students experience this directly from the business perspective, for example as executives of a virtual company. The course simulates the stepwise integration of the linked business process chain ERP-SCM-CRM-BI-Big Data of four competing groups of companies. The course participants become board members with full P&L responsibility for business units of one of four beer brewery groups managing supply chains from production to retailer.




Securing Blockchain Networks like Ethereum and Hyperledger Fabric


Book Description

Build secure private blockchain networks to handle mission-critical security challenges such as denial-of-service attacks, user wallets, and pool mining attacks Key FeaturesExplore blockchain concepts such as cryptography, consensus algorithms, and security assumptionsArchitect network security for mission-critical decentralized apps (Dapps) using design security considerationsConsider various deployment and operational aspects while building a blockchain networkBook Description Blockchain adoption has extended from niche research to everyday usage. However, despite the blockchain revolution, one of the key challenges faced in blockchain development is maintaining security, and this book will demonstrate the techniques for doing this. You’ll start with blockchain basics and explore various blockchain attacks on user wallets, and denial of service and pool mining attacks. Next, you’ll learn cryptography concepts, consensus algorithms in blockchain security, and design principles while understanding and deploying security implementation guidelines. You’ll not only cover architectural considerations, but also work on system and network security and operational configurations for your Ethereum and Hyperledger Fabric network. You’ll later implement security at each level of blockchain app development, understanding how to secure various phases of a blockchain app using an example-based approach. You’ll gradually learn to securely implement and develop decentralized apps, and follow deployment best practices. Finally, you’ll explore the architectural components of Hyperledger Fabric, and how they can be configured to build secure private blockchain networks. By the end of this book, you’ll have learned blockchain security concepts and techniques that you can implement in real blockchain production environments. What you will learnUnderstand blockchain consensus algorithms and security assumptionsDesign secure distributed applications and smart contractsUnderstand how blockchains manage transactions and help to protect wallets and private keysPrevent potential security threats that can affect distributed ledger technologies (DLTs) and blockchainsUse pentesting tools for assessing potential flaws in Dapps and smart contractsAssess privacy compliance issues and manage sensitive data with blockchainWho this book is for This book is for blockchain developers, security professionals, and Ethereum and Hyperledger developers who are looking to implement security in blockchain platforms and ensure secure data management using an example-driven approach. Basic knowledge of blockchain concepts will be beneficial.




Hyperledger Cookbook


Book Description

Explore the entire Hyperledger blockchain family, including frameworks such as Fabric, Sawtooth, Indy, Burrow, and Iroha; and tools such as Composer, Explorer, and Caliper. Key FeaturesPlan, design, and create a full-fledged private decentralized application using Hyperledger services Master the ins and outs of the Hyperledger network using real-world examples Packed with problem-solution-based recipes to tackle pain areas in the blockchain development cycleBook Description Hyperledger is an open-source project and creates private blockchain applications for a range of domains. This book will be your desk reference as you explore common and not-so-common challenges faced while building blockchain networks using Hyperledger services. We'll work through all Hyperledger platform modules to understand their services and features and build end-to-end blockchain applications using various frameworks and tools supported by Hyperledger. This book's independent, recipe-based approach (packed with real-world examples) will familiarize you with the blockchain development cycle. From modeling a business network to integrating with various tools, you will cover it all. We'll cover common and not-so-common challenges faced in the blockchain life cycle. Later, we'll delve into how we can interact with the Hyperledger Fabric blockchain, covering all the principles you need to master, such as chaincode, smart contracts, and much more. We'll also address the scalability and security issues currently faced in blockchain development. By the end of this book, you will be able to implement each recipe to plan, design, and create a full-fledged, private, decentralized application to meet organizational needs. What you will learnCreate the most popular permissioned blockchain network with Fabric and ComposerBuild permissioned and permission-less blockchains using SawtoothUtilize built-in Iroha asset/account management with role-based permissionsImplement and run Ethereum smart contracts with Burrow Get to grips with security and scalability in HyperledgerExplore and view blockchain data using Hyperledger ExplorerProduce reports containing performance indicators and benchmarks using CaliperWho this book is for This book is for blockchain developers who want to understand how they can apply Hyperledger services in their day-to-day projects. This book uses a recipe-based approach to help you use Hyperledger to build powerful, decentralized autonomous applications. We assume the reader has a basic knowledge of the Blockchain technology and cryptography concepts