Instead of using chaincode to render smart contracts and other blockchain components, it is possible to use Hyperledger Composer to more quickly model, build, and deploy business networks and applications that allow participants to make transactions and exchange assets in a network.
What's hyperledger composer?
Hyperledger composer is an open source project, part of the bigger Hyperledger umbrella project, by the Linux Foundation. It's a suite of high level application abstractions for business networks.
When we create one Hyperledger application, we are not working, reasoning or modeling at the level of the blockchain itself. But we are working with assets, participants and transactions at an abstraction level. This allows us to build blockchain solutions much faster than if we were using the lower level technical underpinnings.
Hyperledger Composer allows us to model, test and deploy our business network. There are a set of high level APIs to integrate the composer solution inside other applications. In addition, there are also some integration tools to help insert existing records inside the blockchain.
This tool is totally open source. So, it is possible to grab the project, join the community and become part of the ecosystem which uses and help Hyperledger Composer evolve.
Hyperledger composer advantages
So, let's see what are they main benefits of using Hyperledger Composer:
- Increases understading: it's much easier to map the business requirements into something executable. In fact, the requirements are probably expressed in terms of assets, participants and transactions. With Composer it is possible to model these things directly, rather than having to map them through a key value store. This increases understandings and creates a bridge between the technical and functional worlds.
- Saves time: it gives the possibility to create working prototypes in half an hour. So, a small amount of time let us go from a concept to a working blockchain application. And this applications will provide a user interface to interact with the blockchain.
- Reduces risks: most of the artifacts we model for Composer can serve for other projects. For example, if we define a vehicle or another asset type, we can put those defitions into a library. So, we can reuse them across multiple applications or projects. It is also possible to create toolkit or skeleton projects which can apply to many different contexts. This reduces the overall project risk. In addition Composer can integrate with DevOps, DevTest traditional tools. So it is possible to perform a deep testing.
- Increases flexibility: since Composer let us work at a higher level of abstraction, the solutions are easier to adapt or evolve. If the definition of an asset changes over time, it is surely easier to adapt a composer project than change the binaries data written on the blockchain directly. Since with Composer we create models, it also assures that all the data regarding a specific asset or process are written homogeneously into the blockchain.
Back to main course page.