Tag Archives: Hyperledger Fabric
How to Install Hyperledger Explorer & Access Fabric Network
Hyperledgder Explorer is a Blockchain explorer which can be used to view the details on the one or more blockchain network (channels) created using Hyperledger Fabric 1.0. In this post, you will learn about some of the following: Introduction to Hyperledger Explorer App Installation/Setup of Hyperledger Explorer Configure hyperledger explorer for the first network Starting the Explorer App Introduction to Hyperledger Explorer App Hyperledger Explorer is a Nodejs based web app which runs on Node/ExpressJS with MySQL as the backend database. It provides details related Fabric blockchain network (channels) based on configuration provided in the file, blockchain_explorer/config.json. The following represents some of the key details provided by the explorer app vis-a-vis …
Learn to Create Hyperledger Fabric Blockchain with byfn.sh – Part 1
Hyperledger Fabric comes up with a script namely byfn.sh which can be used to Build Your First Network (byfn). Hyperledger Fabric script, byfn.sh (found in folder fabric-samples/first-network), can be used to build your first Hyperledger Fabric permissioned blockchain network. As I went about writing the post, it got much longer. Thus, I have split the post into two parts. In the first part, you will learn about some of the following: A quick introduction to some of the following: Installation pre-requisites before getting started with byfn.sh execution Initial configuration prior to executing byfn.sh How to go about executing byfn.sh Deep dive into byfn.sh execution to learn key aspects of building a permissioned blockchain network such …
Hyperledger Fabric – Are Channels Private Blockchain? (Deep Dive)
This article represents Hyperledger Fabric Channels concepts and related details in form of some of the following topics: What are Channels? Hyperledger Fabric Blockchain Network is a channel Channels are private and permissioned Blockchain Channels explained with examples Channels – channel configuration, genesis block Ordering service creates a transaction block per channel Blockchain network is categorized into two broad classes: Public network: Anyone can join this type of network. For example, bitcoin network. Private or permissioned network: A member needs to be authenticated by the assigned membership service provider (identity issuing authority service) for joining and conducting transactions in the network. Hyperledger Fabric can be said to be private or permissioned blockchain. …
Hyperledger Fabric – Cryptogen Tool Not Found…Exiting
This error, Cryptogen Tool Not Found…Exiting occurred when I tried to build the first network by executing byfn.sh script using following commands for the first time after downloading and installing hyperledger fabric platform binaries/components and fabric samples: The following screenshot represents the error: Why the Error – Cryptogen Tool Not Found This error occurs, primarily, due to the reason that cryptogen tool can be not be found in the path. The path to cryptogen tool needs to be set to PATH variable. This can be confirmed by checking the logs of the script execution by putting the following code (set -x) in the beginning of the file, byfn.sh, as shown below. Note that the code set-x is used to expand …
Hyperledger Fabric Transaction Flow (Interview Q&A & Notes)
This article represents concepts in relation to, how does a transaction flow in Hyperledger Fabric Blockchain network, in form of notes and interview questions and answers. Those appearing for Hyperledger Fabric interview would find the questions and notes very useful for quick brush-up. Hyperledger Fabric is a platform for distributed ledger solutions. The following represents key participants in Hyperledger Fabric Blockchain network who are involved in the transaction flow right from the initiation of transaction proposal to committing a transaction into the distributed ledger. Application: Gets involved in following capacity: Sends the transaction proposal to endorsing peers Receives the transaction results from endorsing peers Broadcasts the transaction message to ordering service Endorsing peers: Do some of the …
Hyperledger Fabric Distributed Ledger – Interview Questions / Notes
This article represents practice test / interview questions and answers and revision notes on Hyperledger Fabric Distributed Ledger**. These questions and answers can prove to be very helpful to check your knowledge on Hyperledger Fabric if you are appearing for Hyperledger Fabric interview in near future. Hyperledger Fabric is an open-source framework for building distributed ledger solutions. The distributed ledger is maintained by every peer participating in the network. It is stored as a combination of a transaction logs and a world state database (key-value pairs). Revision Notes – Hyperledger Fabric Distributed Ledger Concepts The distributed ledger is a combination of following: Blockchain to store immutable ordered/sequenced records; It is stored in form of transaction logs and stored in peers’ file system (local …
Hyperledger Fabric – Difference between World State DB & Transaction Logs
This article highlights key differences between World State Database (DB) and Transaction Logs which comprise the Hyperledger Fabric Distributed Ledger. Hyperledger Fabric Distributed Ledger can be said to be a combination of World State Database (DB) and transaction logs. It requires invocation of chaincode (smart contracts) for interacting with distributed ledgers (world state DB and transaction logs). The transactions are stored in the block in the same sequence in which they occured and this is responsibility of ordering service to ensure the ordering sequence of transactions in the block. World State Database Transaction Logs Stores the chain’s state information in form of key-value pairs Stores chain of blocks consisting of transaction details in form of sequence of transactions Stored in database such as LevelDB …
Hyperledger Fabric Introduction – Interview Questions / Revision Notes
This article represents practice test and revision notes on Introduction to Hyperledger Fabric. These questions and answers can prove to be very helpful to check your knowledge of Hyperledger Fabric if you are appearing for Hyperledger Fabric interview in near future. Hyperledger Fabric is an open-source framework for building distributed ledger solutions. The unique thing about Hyperledger Fabric is that it supports pluggable implementations of different components such as identity management, consensus algorithm etc. Revision notes on Introduction to Hyperledger Fabric Hyperledger Fabric can be used for creating private and permissionless Blockchain network. Blockchain Participants – Membership Members join Hyperledger Fabric Blockchain network using Membership Service Provider (MSP) service. Hyperledger Fabric allows custom MSP to be plugged. Distributed Ledger – Data and Database Hyperledger Fabric allows ledger data to be stored …
I found it very helpful. However the differences are not too understandable for me