BLOCKCHAIN TECHNOLOGY

Filza zarin
4 min readJul 2, 2021

•Blockchain technology comes up with the great potential to foster various sections like Banking, medical, judicial, and education, with its distinctive combination of features, such as decentralization, immutability, and transparency.

•There are many blockchain platform available in the market which help in the growth of the industry, and hyperledgerfabric is one of them.

•Hyperledger Fabric was initiated by Digital Asset and IBM and has now emerged as a collaborative cross-industry venture, which is currently being hosted by the Linux Foundation. Among the several Hyperledger projects, Fabric was the first one to exit the “incubation” stage and achieve the “active” stage in March 2017.

•Traditional blockchain networks can’t support private transactions and confidential contracts that are of utmost importance, Hyperledger Fabric was designed in response to this as a modular, scalable and secure foundation for offering industrial blockchain solutions.

  • The modular architecture of Hyperledger Fabric separates the transaction processing workflow into three different stages: smart contract called chaincode that comprise the distributed logic processing and agreement of the system, transaction ordering, and transaction validation and commitment.
  • Due to the consortium approach, the Hyperledger project is essentially an umbrella framework under which all other Hyperledger projects operate. Currently, the Hyperledger project is collaborating with around 250 global institutions, including global leaders in finance, banking, Internet of Things, supply chains, manufacturing, and technology, among others.
  • As big names such as IBM, Intel, Cisco, ABN AMRO, ANZ Bank, JP Morgan, SAP, and Accenture are involved in this project, it aims to advance enterprise-level blockchain implementation across industries. Its objective also includes the creation of distributed ledgers that can be used for recording cross-industry transactions.

Hyperledger Fabric:- is one of the most popular projects under Hyperledger projects. IBM, in collaboration with other companies, has developed this business blockchain framework, which is fully active. This is a framework for a permission network where all participants know each other. This framework supports distributed ledger solutions networks for a wide range of industries, and its modular architecture ensures data safety through confidentiality.

The Stakeholders

1.Consumers: They are the ones who will avail of all the services like getting new connections, paying the bill, retrieving bill details, changing ownership, changing personal information or details, etc.

2.Sub-Division Office: They will provide all the information regarding the services to the customer so that the consumer avails all the services, collect all the documents and related details, and finally they will forward these documents to the Division Office.

3.Division Office: They will work on the services that the consumer wants to avail, continue the process and finally complete the task for the consumer.

Information we want to store:-

1.Consumer Details:- It consists of all the personal and connection details of the consumer like: name, address, Mob-number, Aadhar-number, meter number, etc.

2.Bill Details:- It consists of all the bill details of the consumer like:- name on the bill, bill-number , amount of bill, pre meter & current meter reading details etc.

3.Payment Details:- It consists of all the payment details of the consumer like:- Name of the consumer, Address of the consumer, Bill number, The receipt number of the bill, Amount paid by the consumer, The energy utilized by the consumer, The date on which bill amount is paid by the consumer.

Architecture & workflow:-

Directories discussion for the implementation and deployment:-

1.bin: The bin directory contains the required tools which help the hyperledger network to run like configtxgen, configtxlator, cryptogen, discover, fabric-ca-client, fabric-ca-server, peer, idemixgen, orderer, (shown in fig.2).

2.first-network: The first-network directory contains all the folders and files which are used to build the network while deploying, byfn.sh folder in this is a shell script file used to run the network. the first-network directory is responsible for generating the network artifacts, running up the network, and stopping it in hyperledger fabric.

3.electricity: The electricity directory contains application programs that are written in node.js. In this folder, there are three sub-folders each of which contain API programs for their respective chaincode stored in the chain code directory and one shell script startFabric.sh required for deploying.The three6 Faiza sub-folders are BillDetails, ConsumerDetails, and payment details each contains a node-modules folder, wallet folder, enrollAdmin.js file, registerUser.js file, package.json file, package-lock.json file, query.js file, and invoke.js file.

4.chaincode: The chain code directory contains three sub-folders go, go1, and go2 each of which contains a chaincode written in go language.

--

--

Filza zarin

Pursuing B.tech from CSE branch, having good leadership and co-ordination skills. Excellent in decision making ability Quick learner excellent tolerance .