Design a site like this with WordPress.com
Get started

Hyperledger Fabric : demystified

Hyperledger Fabric

Introduction

Hyperledger is a project that consists of several frameworks and tools to implement private and permissioned blockchain. Initiated by the Linux Foundation that has a rich heritage of open source contribution, the Hyperledger project has been contributed by several giants, including IBM, Intel, Hitachi, Daimler, Samsung and Walmart – to name a few.

Fabric is a framework of the Hyperledger project that has been widely adopted by the industry to meet the demand of private blockchain. IBM boasts the lion’s share of contribution to this framework’s development so far. This framework has several advantages that make it ideal when it comes to permissioned blockchains. Fabric Samples is the greatest and smoothest work to get up and running.

Characteristics

  1. Private Channels: Unlike Bitcoin and Ethereum, member to member private communications and transactions are supported.
  2. Permissioned Network: Each entry to the network is permissioned and controlled.
  3. Security: Certificate Authority and Membership Service Provider ensures overall security of the blockchain’s each transaction.
  4. Distributed Ledger: Each peer and channel has its own copy of the ledger.
  5. Chaincode Variety: One may write chincode in Golang, JavaScript, Java or TypeScript – all are allowed and valid.
  6. Ledger Options: Options to store data either using LevelDB or CouchDB.

Installation

  1. Download and install Golang ( https://golang.org/dl/ )
  2. Install Git
  3. Get cURL 
  4. Clone the hyperledger/fabric-samples from github
  5. Download platform-specific binaries (/bin) and config files (into /config)
  6. Download the Hyperledger Fabric docker images
  7. Get platform-specific binaries (inside /bin) by: curl -sSL https://bit.ly/2ysbOFE | bash -s
  8. Setting PATH environment variable by: export PATH=<path to download location>/bin:$PATH

Whirlwind Tour of Directories


Fabric-Samples get one started with testing and customizing his / her own transaction logics . It consists of several sub-directories such as:

(a) asset-transfer sub-directories contain sample transaction logics (Go, Java, JavaScript and TypeScript) to develop business logic, make private channels and work with ledgers right out-of-the-box

(b) chaincode folder holds chaincodes (similar to smart contracts) to get started

(c) test-network brings up a sample network of two organizations, each consisting of two peer nodes to implement a practical blockchain

(d) token-utxo is there if someone needs to produce ICOs or Coins in a project

(e) README.md highlights an overview of sample ready-to-use projects


Hyperledger Fabric framework is still under development. As it is open-source, anyone may contribute to enrich this framework at https://hyperledger-fabric.readthedocs.io/en/release/CONTRIBUTING.html .

Advertisement

Published by Farial Mahmod Tishan

Life-long learner. Developing Flutter apps on Parrot Linux OS .

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: