What are the functional differences between Fabric Javascript SDK and Hyperledger Composer?

梦想与她 提交于 2019-12-04 05:56:42

问题


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?


回答1:


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/



来源:https://stackoverflow.com/questions/47152917/what-are-the-functional-differences-between-fabric-javascript-sdk-and-hyperledge

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!