Hyperledger系列(二)Hyperledger Composer介绍

Hyperledger Composer

是一系列的,用于构建区块链商业网络的协同工具。它帮助商业主更简单、更快的构建,帮助开发者创建智能合约和区块链应用来解决商业问题。它用JavaScript,和更现代化的工具,包括node.js、npm、CLI等。Composer提供的是一个商业抽象,具体可以参考汽车商业的例子。

通过使用Hyperledger Composer,一个商人可以和开发者合作,

  1. 定义在区块链使用场景中的资产
  2. 定义商业规则,来决定什么样的交易是可以的
  3. 定义参与者、身份识别和访问权限的控制,存在哪些角色,哪些角色可以执行哪种类型的交易

开发者做如下的事情:

  1. 做出可重用的、商业网络中的核心组件—资产、参与者、交易逻辑和商业网络的访问控制。然后,这个商业网络可以在多个公司之间进行分享。
  2. 生成JavaScript和REST APIs,以便和程序、遗留系统交互。创建概要程序,并在商业网络上运行分析。
  3. 开始开发和测试,然后把这个商业网络部署到线上的Hyperledger Fabric或者其它的区块链网络实例上。

采用Hyperledger Composer的区块链客户端,有如下的优点:

  1. 更快的创建区块链程序
  2. 经过良好的测试、高效的设计,减少风险
  3. 高度的抽象,更容易迭代,可扩展性高Hyperledger Composer包括下面几个主要组件:
  4. 商业网络压缩包:抓取商业网络中的核心数据,包括商业模型、交易逻辑、访问控制。商业网络压缩包把这些元素打包起来,并把它们部署运行。
  5. Composer场地:这个基于网络的工具,允许开发者学习Hyperledger Composer、为商业网络的建模,测试网络并部署到线上环境。Composer场地提供了一个商业网络样例的库,可以据此创建自己的商业网络。
  6. REST API支持和整合的能力:一个商业网络的LoopBack连接已经被开发好了,它把一个运行的商业网络,作为REST API的方式暴露出来。这样商业网络可以和客户端程序交互,也可以很容易的和非区块链程序整合。
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Hands-On Blockchain with Hyperledger pdf Leverage the power of Hyperledger Fabric to develop Blockchain-based distributed ledgers with ease Key Features Write your own chaincode/smart contracts using Golang on hyperledger network Build and deploy decentralized applications (DApps) Dive into real world blockchain challenges such as integration and scalability Book Description BBlockchain and Hyperledger technologiesare hot topics today. Hyperledger Fabric and Hyperledger Composer are open source projects that help organizations create private, permissioned blockchain networks. These find application in finance, banking, supply chain, and IoT among several other sectors. This book will be an easy reference to explore and build blockchain networks using Hyperledger technologies. The book starts by outlining the evolution of blockchain, including an overview of relevant blockchain technologies. You will learn how to configure Hyperledger Fabric and become familiar with its architectural components. Using these components, you will learn to build private blockchain networks, along with the applications that connect to them. Starting from principles first, you’ll learn to design and launch a network, implement smart contracts in chaincode and much more. By the end of this book, you will be able to build and deploy your own decentralized applications, handling the key pain points encountered in the blockchain life cycle. What you will learn Discover why blockchain is a game changer in the technology landscape Set up blockchain networks using basic Hyperledger Fabric deployment Understand the considerations for creating decentralized applications Learn to integrate business networks with existing systems Write Smart Contracts quickly with Hyperledger Composer Design transaction model and chaincode with Golang Deploy Composer REST Gateway to access the Composer transactions Maintain, monitor, and govern your blockchain solutions Who this book is for The book benefits

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值