The use of this site and the content contained therein is governed by the Terms of Use. When you use this site you acknowledge that you have read the Terms of Use and that you accept and will be bound by the terms hereof and such terms as may be modified from time to time.
All text, graphics, audio, design and other works on the site are the copyrighted works of nasscom unless otherwise indicated. All rights reserved.
Content on the site is for personal use only and may be downloaded provided the material is kept intact and there is no violation of the copyrights, trademarks, and other proprietary rights. Any alteration of the material or use of the material contained in the site for any other purpose is a violation of the copyright of nasscom and / or its affiliates or associates or of its third-party information providers. This material cannot be copied, reproduced, republished, uploaded, posted, transmitted or distributed in any way for non-personal use without obtaining the prior permission from nasscom.
The nasscom Members login is for the reference of only registered nasscom Member Companies.
nasscom reserves the right to modify the terms of use of any service without any liability. nasscom reserves the right to take all measures necessary to prevent access to any service or termination of service if the terms of use are not complied with or are contravened or there is any violation of copyright, trademark or other proprietary right.
From time to time nasscom may supplement these terms of use with additional terms pertaining to specific content (additional terms). Such additional terms are hereby incorporated by reference into these Terms of Use.
Disclaimer
The Company information provided on the nasscom web site is as per data collected by companies. nasscom is not liable on the authenticity of such data.
nasscom has exercised due diligence in checking the correctness and authenticity of the information contained in the site, but nasscom or any of its affiliates or associates or employees shall not be in any way responsible for any loss or damage that may arise to any person from any inadvertent error in the information contained in this site. The information from or through this site is provided "as is" and all warranties express or implied of any kind, regarding any matter pertaining to any service or channel, including without limitation the implied warranties of merchantability, fitness for a particular purpose, and non-infringement are disclaimed. nasscom and its affiliates and associates shall not be liable, at any time, for any failure of performance, error, omission, interruption, deletion, defect, delay in operation or transmission, computer virus, communications line failure, theft or destruction or unauthorised access to, alteration of, or use of information contained on the site. No representations, warranties or guarantees whatsoever are made as to the accuracy, adequacy, reliability, completeness, suitability or applicability of the information to a particular situation.
nasscom or its affiliates or associates or its employees do not provide any judgments or warranty in respect of the authenticity or correctness of the content of other services or sites to which links are provided. A link to another service or site is not an endorsement of any products or services on such site or the site.
The content provided is for information purposes alone and does not substitute for specific advice whether investment, legal, taxation or otherwise. nasscom disclaims all liability for damages caused by use of content on the site.
All responsibility and liability for any damages caused by downloading of any data is disclaimed.
nasscom reserves the right to modify, suspend / cancel, or discontinue any or all sections, or service at any time without notice.
For any grievances under the Information Technology Act 2000, please get in touch with Grievance Officer, Mr. Anirban Mandal at data-query@nasscom.in.
Hyperledger is quickly becoming one of the most popular blockchain frameworks for large and medium-sized businesses. Its flexibility and strength, though, make it difficult to comprehend.
Before we dive into the blockchain frameworks, let’s understand what blockchain technology is.
What is Blockchain?
The blockchain is a distributed ledger technology that keeps track of all network updates and transactions. This ledger is distributed and stored not on a single isolated server, but on all of the systems that make up the system, and is stored not on a single isolated server, but all of the systems make up the system, which is known as nodes.
Smart contracts (often referred to as chain codes in Fabric) are software modules that manage access to the distributed ledger, automate procedures, control parts of transactions, and perform specified actions when predetermined circumstances are satisfied in the blockchain network.
Any changes or transactions that occur in the network will be accepted or rejected. The transaction is entered into the ledger once it has been confirmed. Data or transactions that are written to the registry over the network are encrypted, stored in blocks, and then immutable.
What is Hyperledger Fabric?
Hyperledger Fabric is a private, permissioned, open-source blockchain technology hosted by the Linux Foundation. The blockchain network is private, which means it is not open to the public and may only be joined by those who have been invited. Each party has been recognized, and every transaction has been validated, approved, verified, and tracked.
Fabric Networks can be run on-premises, or you can use blockchain as a service platform for your registry architecture.
Once numerous parties have established a network, sensitive data can be exchanged between them. If a blockchain network does not interact with numerous parties, Hyperledger Fabric node blockchain solutions are ineffective.
The Fabric blockchain network’s goal is to establish trust between two or more parties, companies, or organizational units. As part of the Fabric architecture, it prioritizes a few essential qualities.
Privacy
Every computer on the network must be identified by Fabric. A Membership Service Provider is used to sign up and identify potential members of a fabric-enabled network (MSP).
Permission membership is the term used to describe this form of membership. Many industries value data privacy, and Fabric’s appeal stems solely from this feature. For any component of the blockchain, Fabric does not require authorization. The network designer decides whether or not permission is required.
Channels
The framework allows network participants to generate different sets of operations that are not accessible to bigger networks by partitioning the ledger into “channels.” This separates more sensitive information from non-accessible locations.
Scalability
Fabric’s extremely scalable networking is another aspect that makes it appealing to huge companies. As with any other implementation, you can quickly scale the number of nodes in the network.
On the other hand, the system can handle vast amounts of data with fewer resources. As a result, you get the best of both worlds. A blockchain can be constructed with a limited number of nodes and grown to meet the needs of the network.
Modularity
Individual modules can be added and implemented at various times thanks to the fabric architecture. Many components are optional, and they can be left out or added later without affecting operation.
This feature is intended to assist businesses in determining what they require and what they do not. How consensus is built, membership services for identities, proper ledger storage, specialized access APIs, and integration of connecting code are all examples of modular or “plug and play” components.
How does Hyperledger Fabric work?
Traditional blockchain networks are unable to accommodate the enterprise’s most sensitive private transactions and confidentiality agreements. Hyperledger Fabric was created in response as a flexible, scalable, and secure platform for delivering industrial blockchain solutions.
A blockchain network primarily consists of a set of peers and is considered to be a fundamental element of the network as they host ledgers and smart contracts. The ledger acts as a database and it is immutable which keeps track of all the transactions in the network. Both smart contracts and ledgers are used in a concise form to combine the shared processes and shared information in a network.
Before going ahead with transactions between the businesses, they must define a set of contracts covering common terms, rules, data, concept definitions, and processes. Then, these contracts lay out the business models that control all the interactions between the businesses. So, Smart Contract defines the set of rules between the businesses and common terms and conditions in executable code. Using blockchain network, these rules are been converted to executable programs known as Smart Contracts to open a wide variety of new applications to the blockchain.
Hyperledger Fabric is an open-source blockchain engine that covers the most crucial characteristics for analyzing and deploying blockchain in commercial applications.
A participant’s verifiable ID is a prerequisite within a private industrial network. Qualification-based membership is supported by Hyperledger Fabric. Every network participant must have a unique identifier.
Many industries, such as healthcare and banking, are governed by data-protection laws that require data to be maintained for various participants and access to various data points. Fabric is in favor of membership that is based on qualifications.
How Can You Create Applications Using Hyperledger Fabric?
If you haven’t already started, make sure you have all of the prerequisites listed below installed on the platform(s) on which you’ll be developing blockchain applications and/or running Hyperledger Fabric.
Prerequisites:
Install Curl:
Go ahead and download the latest version of the Curl tool if it is not already installed or if you get errors running the curl commands.
Docker and Docker Compose:
Install the following on the platform on which you will be operating or developing the Hyperledger Fabric:
MacOSX, *nix, or Windows 10: Docker Docker version 17.06.2-ce or greater is required.
Older versions of Windows: Docker Toolbox – again, Docker version Docker 17.06.2-ce or greater is required.
Go Programming Language:
Hyperledger Fabric uses the Go programming language for its components.
Go version 1.12.x is required.
Node.js Runtime and NPM:
Download and install Node.js, version 10 is supported from 10.15.3 and higher.
Node.js download
Installing Node.js will also install NPM, however, it is recommended that you confirm the version of NPM installed.
Once the prerequisites are been downloaded, we are now ready to download and install the Hyperledger Fabric.
Hyperledger Fabric provides several SDKs to help programmers create smart contracts (chaincode) in a variety of languages. For Go, Node.js, and Java, there are three smart contract SDKs:
SDK for Go and documentation for Go.
Node.js SDK docs and Node.js SDK.
Java SDK documentation and Java SDK.
Node.js and Java currently support the new Hyperledger Fabric v1.4 smart contract development style. Support for Go will be included in a future release.
Our first Application using Hyperledger Fabric:
Let us start with our first application using Hyperledger Fabric, and learn how to write an application, smart contract to query and update a ledger and use Certificate Authority to generate the X.509 certificates which interact with permission blockchain.
Set a Blockchain Network:
Firstly, this part requires you to be in your subdirectory within the local clone of the repository. If you have any existing networks, you do require them to stop.
./byfn.sh down
Now, you are good to launch your network.
Launch the network:
Use the startFabric.sh shell script to get your network up and running. This command creates a blockchain network including certificate authorities, peers, orderers, and other components.
./startFabric.sh javascript
Install Application:
Run the below command to install all the dependencies of the Application.
npm install
All the key application dependencies are included which are defined in package.json. Also, the fabric-network class is of utmost importance; it enables an application to use wallets, identities, and gateway to connect channels, submit transactions and wait for notifications.
Enrolling the admin user:
Following that, we’ll create and enroll an Admin user, who will be used by our app to interact with the blockchain.
node enrollAdmin.js
This command has stored the CA administrator’s credentials in the wallet directory.
Register and Enroll:
We may enroll a new user who will be used to query and update the ledger now that we have the administrator’s credentials in a wallet:
node registerUser.js
Querying the ledger:
A blockchain network’s peer hosts a copy of the ledger, and application software can query it by running a smart contract that requests the ledger’s most current value and provides it to the application.
Let’s start by running our query.js which returns a list of all the cars on the ledger using an application. To access the ledger, this application utilizes our second identity:
The query.js returns all the data stored in the ledger, in our example, we have car data stored in our ledger.
The application begins by bringing two key fabric-network module classes, FileSystemWallet and Gateway, into scope. These classes will be used to find the users identity in the wallet and connect to the network using it:
2018–12–11T14:11:40.935Z – info: [TransactionEventHandler]: _strategySuccess: strategy success for transaction “9076cd4279a71ecf99665aed0ed3590a25bba040fa6b4dd6d010f42bb26ff5d1”
The transaction has been submitted
Congratulations, you have successfully created your first application.
What to look for when looking for a developer company:
After you have known the detailed requirements that you want to develop, try searching for a team that has experience in the type of work that you need to develop. And with the help of this team, you can create and test the quality, functionality, and utility of the developed software products.
And this will give you full control of the development of the project; however, you’ll need to find coding resources and a programmer workspace. Another best option could be to hire experts in building blockchain applications who are readily available for your remote job which will save your time as well as money.
Zeeve for building blockchain applications using Hyperledger Fabric:
Zeeve can be used to build, install, and manage nodes for businesses and startups. Zeeve is a Blockchain as a Service (BaaS) platform that helps companies and entrepreneurs build, launch, and manage secure decentralized apps. It was designed to be cloud-agnostic, letting its interface with other networks that employ different technologies, such as Ethereum. Zeeve is a Blockchain as a Service (BaaS) platform that assists enterprises and startups in developing, launching, and managing secure decentralized applications. Furthermore, Zeeves provides comprehensive APIs for constructing a range of use cases across sectors, ranging from banking and financial services to retail shops! —allowing anybody to participate! Zeeve allows businesses to benefit from the security, transparency, and efficiency of blockchain technology without having to manage the infrastructure themselves.
About The Author
Dr. Ravi Chamria is co-founder CEO of Zeeve Inc, an Enterprise Blockchain company. He has an experience of 18+ years in IT consulting spanning across Fintech, InsureTech, Supply Chain and eCommerce. He is an executive MBA from IIM, Lucknow and a prolific speaker on emerging technologies like Blockchain, IoT and AI/ML.
Passionate About: Blockchain, Supply Chain Management, Digital Lending, Digital Payments, AI/ML, IoT
That the contents of third-party articles/blogs published here on the website, and the interpretation of all information in the article/blogs such as data, maps, numbers, opinions etc. displayed in the article/blogs and views or the opinions expressed within the content are solely of the author's; and do not reflect the opinions and beliefs of NASSCOM or its affiliates in any manner. NASSCOM does not take any liability w.r.t. content in any manner and will not be liable in any manner whatsoever for any kind of liability arising out of any act, error or omission. The contents of third-party article/blogs published, are provided solely as convenience; and the presence of these articles/blogs should not, under any circumstances, be considered as an endorsement of the contents by NASSCOM in any manner; and if you chose to access these articles/blogs , you do so at your own risk.
Zeeve is an enterprise-grade Blockchain Infrastructure Automation Platform. Join the growing list of clients that trust us with their Blockchain initiatives
A promising yet underutilized application amongst all soaring blockchain technologies is the supply chain. One can create complete, transparent, tamper-proof records of information flow, inventory flow and financial flows of every single transaction…
Blockchain technology, once associated solely with cryptocurrencies, has evolved into a transformative force that transcends financial markets. As we stand at the crossroads of technological innovation, the future trends in blockchain development…
The World Energy Council defines that the energy sector can remain robust and sustainable in the long run if they solve three key problems: (i) Energy Security, (ii) Energy Equity, and (iii) Environmental Sustainability of Energy Systems.…
The revolution that blockchain has brought across various industries has been encouraging more enterprises to build innovative, future-proof, and highly feasible blockchains. However, building a blockchain from scratch is challenging for many…
In recent years, the growth rate of the blockchain market has been very high due to increased adoption and as more people become aware of blockchain technology and its potential uses. Due to the surge in growth, Scalability, security, and high…
Blockchain continues to be adopted on a large scale as more enterprises realize blockchain’s exceptional ability to increase trust, security, transparency, and traceability across business networks. However, the process of building a blockchain…