Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Python Development in Fabric Block chain

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the example analysis of Python development in the Fabric block chain, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

1. Overview of Fabric Block chain Python Development course

Hyperledger is an open source project aimed at promoting blockchain cross-industry applications. Led by the Linux Foundation in December 2015, the project includes leaders in finance, banking, Internet of things, supply chain, manufacturing, technology and other industries. It hosts a number of enterprise-oriented blockchain open source frameworks and tools:

Hyperledger Fabric (hereafter referred to as Fabric) is one of the best developed enterprise blockchain platform. Originally contributed by Digital Asset and IBM, it has been used in Wal-Mart's food traceability chain (Foodtrust) and Maersk's logistics tracking chain (TradeLens), representing the highest level of enterprise blockchain application. It can be considered that Fabric is a Consortium Blockchain platform, which is suitable for building decentralized applications across multiple enterprise boundaries.

Because the goal of the Fabric project is to be used in a relatively trusted enterprise alliance environment, its design idea is obviously different from public chain platforms such as Bitcoin and Ethernet Fong. Fabric draws lessons from the data structure of blockchain, but introduces a considerable number of authentication and access control mechanisms, as well as data privacy protection mechanisms to meet the requirements of enterprise applications. At the same time, because the enterprise alliance environment is more controllable than the completely open public chain environment, Fabric does not emphasize the realization of Byzantine fault tolerance in its consensus system, and allows the use of non-Byzantine fault tolerance algorithms to build consensus, which can achieve quite practical transaction throughput.

2. The orientation and characteristics of Fabric.

There is no doubt that Fabric was inspired by Bitcoin, so it draws lessons from some of the core features of public chains such as Bitcoin and Ethernet Square, such as the use of unalterable block chain structure to store data, asymmetric encryption for identity identification and authentication, support for intelligent contracts, and so on.

However, Fabric is located in the enterprise-level distributed ledger technology (DLT-D istributed L edger T echnology) platform, and its main purpose is to provide an untampered distributed accounting platform for activities across multiple enterprise boundaries. For example, in food traceability applications, in order for consumers to know whether the food purchased is safe, the inspection and release information from farms to processors, distributors, retailers and regulatory agencies must be recorded on the block chain to ensure the transparency and credibility of traceability information:

Therefore, Fabric is an alliance chain (Consortium Blockchain), which is suitable for distributed accounting among multiple enterprises, which makes the implementation of Fabric different from common chains such as Ethernet Fong:

Distributed account book vs. Block chain

Distributed account book is a broader concept than block chain. It can be considered that block chain is only an implementation technology of distributed account book, and other distributed account book implementations include hash diagram and so on.

Decentralized vs. Distributed system

Fabric dilutes Decentralized and replaces it with Distributed, which has a great impact on system design and implementation. For example, in Fabric, a centralized CA mechanism is used to issue certificates, and only nodes and users with valid certificates can access the account data on the block chain. So Fabric is a licensed / Permissioned block chain, in sharp contrast to public chains such as Ethernet Fong, which does not require a license / Permissionless.

Byzantine fault-tolerant vs. Crash fault tolerance

Due to the use of the licensing mechanism, Fabric also reduces its dependence on consensus in an Trustless environment, and assumes that the enterprises in the alliance chain may be trustworthy, so it does not rely on the workload proof of such a Byzantine fault-tolerant algorithm. Although the modular design of Fabric can support the introduction of different consensus algorithms, the current product solution is Kafka consensus. It is obviously not resistant to Byzantine errors-but diluting support for untrusted environments helps to improve transaction throughput, which is also good for enterprise applications.

Data privacy protection

On the other hand, Fabric strengthens its privacy protection capabilities. For example, Fabric supports the establishment of multiple different channels / Channel on the same enterprise network, each with its own blockchain and access control, which does not affect each other, which is conducive to the reuse of infrastructure. For example, the sales departments of different enterprises can establish a channel to share market data, while the R & D departments of these enterprises can establish another channel to share technical data.

Fabric is not the only alliance chain solution, but it can be said to be the most complex implementation of enterprise alliance chain. This complexity stems from the designer's assumption and deduction of application scenarios, as well as the consideration of the wide applicability of Fabric. This is a point that we need to consider for others in the learning process.

Thank you for reading this article carefully. I hope the article "sample Analysis of Python Development in Fabric Block chain" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report