Difference between hyperledger composer and hyperledger fabric?

前端 未结 8 2066
刺人心
刺人心 2020-12-13 13:22

I am java developer and new to hyperledger. I am interested in learning it and need to know where to start . fabric vs composer?

相关标签:
8条回答
  • 2020-12-13 14:00

    Updated answer (as promised in previous post): Hyperledger Composer v0.19.0 (time of writing - Apr 1st 2018) is the default release for building your blockchain business networks using Composer. So when you pull HL/Composer eg via npm install etc) - this uses the current GA edition of Hyperledger Fabric v1.1, the underlying blockchain network infrastructure. This 0.19.0 release includes a fundamental change in the way that Composer business networks are deployed (vis-a-vis previous releases eg 0.16.x - 0.18.x). Business networks are now deployed within Hyperledger Fabric 'as chaincode' - meaning that the business network (rather than Composer runtime) can be agreed by all parties (to the blockchain network) and signed, using a similar management model to non-Composer chaincode. In a later edition, the plan is to add JS requires so that these can be exploited in NodeJS and include other JS functions you've developed - of course, you can already call native Fabric APIs/chaincode functions already, from Composer transaction processors - introduced prior to 0.19.x release). See more info here in the release notes -> https://github.com/hyperledger/composer/releases/tag/v0.19.0

    0 讨论(0)
  • 2020-12-13 14:03

    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.

    here is a good place to start fabric https://github.com/IBM-Blockchain/marbles

    0 讨论(0)
提交回复
热议问题