We are considering the use of Hyperledger but not sure which "version" to use. We believe Fabric may be the best option given our goals. That being said, can someone tell me the following:
Does Fabric have out-of-the-box functionality to interact with other blockchains besides Ethereum?
If the answer is "no" to question #1, what would it require to build a custom solution that would allow interaction between Fabric and a public blockchain?
Thank you in advance.
To interact with Ethereum you can use Hyperledger Besu which is an Ethereum Client: https://www.hyperledger.org/use/besu
To have interoperability across blockchains, like Fabric & Ethereum, you can use Hyperledger Cactus https://www.hyperledger.org/use/cactus
Related
I'm trying to use DIDs/VCs from hyperledger Indy with Hyperledger Fabric. Simply I want to replace Fabric's certificate based identity/MSP with DIDs/VCs. However, as far as I understand this is not direct. The existing code based have lots of dependencies on Fabric-CA. Could someone help me to figure out potential starting points to do this customisation?
you cant try to use this modified peen-node:
https://github.com/trustbloc/fabric-mod
https://github.com/trustbloc/trustbloc-did-method/blob/main/docs/spec/trustbloc-did-method.md
or read this research:
https://arxiv.org/pdf/2104.03277.pdf
or check other did:methods that support HLF:
https://www.w3.org/TR/did-spec-registries/
or look to this project:
https://github.com/BLOCKOTUS/blockotus-organism
Currently, the only framework that can verify DID/VCs from Hyperldeger Indy is the Hyperledger Aries. There are several projects where people are trying to integrate either some of the Indy or Aries functionalities into Fabric in order to be able to issue and verify DID/VCs.
Take a look at the following projects in the "Hyperledger Mentorship Program" community:
Hyperledger Fabric - Hyperledger Aries Integration to support Fabric as Blockchain ledger
Or an older project Extending HL Fabric for connecting with HL Indy.
However, the easiest way is to have two DLTs, one for DID/VCs issue and verification (Indy), and one for transactions, etc.
hi hope you are doing well. by the way I have a research on the frameworks used by blockchain. I found a problem while fixing the differences between Hyper-Ledger Fabric and hyper ledger Besu. can you help me
You can find the differences from the description given in official documentation:
Hyperledger Besu is an open source Ethereum client developed under the Apache 2.0 license and written in Java. It can be run on the Ethereum public network or on private permissioned networks, as well as test networks such as Rinkeby, Ropsten, and Görli. Hyperledger Besu includes several consensus algorithms including PoW, PoA, and IBFT, and has comprehensive permissioning schemes designed specifically for uses in a consortium environment.
Hyperledger Fabric is an open source enterprise-grade permissioned distributed ledger technology (DLT) platform, designed for use in enterprise contexts, that delivers some key differentiating capabilities over other popular distributed ledger or blockchain platforms. Fabric has a highly modular and configurable architecture, enabling innovation, versatility and optimization for a broad range of industry use cases including banking, finance, insurance, healthcare, human resources, supply chain and even digital music delivery.
For further details you can refer following links:
https://besu.hyperledger.org/en/stable/
https://hyperledger-fabric.readthedocs.io/en/release-2.2/whatis.html
Got a blockchain related project to impl.
Part of the project need permission control, means:
Only qualified users (e.g login) could use it.
The transaction history is not public, a transaction is only visible to related user or admin user.
It seems Ethereum has a lot of features, so trying to re-use it.
My questions are:
Is Ethereum also suitable to develop permissioned blockchain?
If yes, how to impl the permission part.
If no, then does that means framework like Hyperledge Fabric is more suitable?
If you want to leverage Smart Contracts of Ethereum in Solidity but still be able to use it in a Permissioned Environment, have a look at Hyperledger Burrow (Monax).
https://github.com/hyperledger/burrow
You can also consider Microsoft COCO framework but it is still under development and I think it is targeted to release by end of this year.
"Microsoft's Confidential Consortium Blockchain Framework represents a breakthrough in achieving highly scalable, confidential, permissioned Ethereum or other blockchain networks that will be an important construct in the emerging world of variously interconnected blockchain systems. " - Joseph Lubin, Founder of ConsenSys
Related Blog:
https://azure.microsoft.com/en-us/blog/announcing-microsoft-s-coco-framework-for-enterprise-blockchain-networks/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm not clear about Hyperledger. Please help!
What is Hyperledger?
What is Hyperledger Composer?
What is Hyperledger Fabric?
What is Hyperledger Fabric SDK GO?
What is consensus algorithm use in Hyperledger?
And Hyperledger have a miner or not?
Ans 1: Hyperledger is not: Not a company. Not a cryptocurrency. Not a blockchain. Hyperledger is rather something like a hub for open industrial blockchain development.
Further explanation you can follow this: https://blockgeeks.com/guides/what-is-hyperledger/
Ans 2: Hyperledger Composer is a set of collaboration tools for building blockchain business networks that make it simple and fast for business owners and developers to create smart contracts and blockchain applications to solve business problems.
Further explanation: https://www.hyperledger.org/projects/composer
Ans 3: Hyperledger Fabric is a business blockchain framework hosted by the Linux Foundation intended as a foundation for developing blockchain applications or solutions with a modular architecture. Hyperledger Fabric allows components such as consensus and membership services to be plug-and-play.
Further explanation: https://www.ibm.com/blockchain/hyperledger.html and https://hyperledger-fabric.readthedocs.io/en/release/
Ans 4: See this to know better about Fabric SDK GO: https://wiki.hyperledger.org/projects/fabric-sdk-go
Ans 5: See this to know better about consensus algorithm. https://www.hyperledger.org/wp-content/uploads/2017/08/Hyperledger_Arch_WG_Paper_1_Consensus.pdf
Ans 6: No miner needed in Hyperledger. Ordering service done this.
Also the primary difference between Hyperledger and other Blockchain networks such as Ethereum is that it is permissioned and it targets enterprise use cases, which operate on a certain degree of trust (partial trust) under a governance model dictated by the underlying consortium. Since the participants are not completely anonymous, the need of having a full BFT consensus implementation such as PoW can be eliminated. This in turn improves the network performance as well as makes it more scalable.
What is hyperledger ?
It is neither crypto currency nor a blockchain network or a a company .it’s kinda open source initiative hosted by Linux foundation supported by global leaders such as intel and IBM to advance blockchain technologies.
What is hyperldger fabric?
Hyperldeger has lot of umbrella projects under it .hyperledger fabric is one such project led by IBM .
Hypeldger fabric provides a platform to develop high scale blockchain applications with flexible amount of permissions .hyperledger universe has 4 other frameworks namely Iroha, Sawtooth, Indy, and Burrow.
what is hyperledger composer ?
hyperledger fabric is a hyperledger framework while composer is a hyperledger module.I suggest you start with hyperledger composer since it offers many benefits such as
Faster creation of blockchain apps, eliminating the big effort required to build blockchain applications from scratch
it is well-tested therefore less risk involved, easier to understand and align with different domains
Greater flexibility as the higher-level abstractions make it far simpler to iterate.
further hyperledger composer is written in javascript.Composer provides you a bunch of easy-to-use components that you can quickly learn and implement.
hyperledger fabric takes you a layer lower. if you wanna start learning about blockchain architecture and underlying processes go ahead with fabric.
What is consensus algorithm use in Hyperledger?
consensus mechanism in hyperledger is called "proof of authority"
And Hyperledger have a miner or not?
hyperledger does not have miners or any mining. mining is necessary when consensus mechanism of the network is "proof of work" .in hyperledger consensus mechanism is "proof of authority"
checkout my article .everything you have asked is explained in detail here
https://medium.com/#fnote/curious-case-of-hyperledger-fabric-ce0292906187
Hyperledger is an umbrella organization under The Linux Foundation that supports multiple blockchain technologies. See the chart here: https://www.hyperledger.org/
All Hyperledger projects are open source under the Apache 2 license, although many were originally developed by a contributing organization.
Hyperledger Burrow implements an Ethereum Virtual Machine (EVM)
Hyperledger Sawtooth is Intel's blockchain technology (and includes an EVM using Hyperledger Burrow
Hyperledger Fabric is IBM's blockchain technology (explained above)
Hyperledger Indy is a blockchain specifically focused on identity
Hyperleder Iroha is a blockchain focused on Mobile apps and is developed in Japan
Hyperledger Besu is an open source Ethereum client
Other than the fact that Composer makes deployment and testing of prototype business networks easier and the fact that we don't have to know golang to develop chaincode, what is the difference in the functionalities that these interfaces provide that may lead one to choose one over the other?
This article can probably provide you with the answers you need:
https://blog.selman.org/2017/07/08/getting-started-with-blockchain-development/
Hyperledger Composer is both an application development framework and set of powerful tools which simplifies and expedites the creation of blockchain applications and smart contracts that are ultimately executed on the Hyperledger Fabric blockchain. Composer has its own runtime, that is generic chaincode and hosts and interprets the business network deployed - so your smart contract need only use Javascript, not chaincode in Go a (which is Fabric's domain) s you mentioned. It also has a modeling facility to create your business network model and to define such controls as Access Control lists and queries to be executed.
This architecture link should help you with further understanding -> https://www.slideshare.net/SimonStone8/hyperledger-composer-architecture
Furthermore see the Hyperledger Composer docs, see here:
https://hyperledger.github.io/composer/
TO see the Hyperledger Fabric docs - see here:
https://hyperledger-fabric.readthedocs.io/en/latest/