Hyperledger Composer – Using the Fabric

Blockchain is HOT

You can’t go many places these days without hearing about blockchain. It is a truly disruptive technology that will change the way people do business with each other. If you have wanted to learn more about Blockchain but think the barrier to entry is too high, I have good news: Hyperledger Composer. Yes, that’s the good news. Read on.

What is Hyperledger Composer again?

Hyperledger Composer is a set of tools that allows you to quickly build, test, and manage blockchain applications. One of several projects under the Hyperledger umbrella, Composer provides:

  • A Domain-Specific Language (DSL) called CTO that lets you model a blockchain network
  • A sandbox – called Playground – that lets you quickly prototype a blockchain application
  • A command line interface (CLI) for managing and interacting with blockchain applications
  • Security through the use of ACL-style permissions
  • Tools
  • Lots more!

Using Composer, you can quickly build, test, and then manage blockchain applications that run on the Hyperledger Fabric.

Composer lowers the bar to building Fabric applications. How? Composer provides a framework that includes many common features of production-quality blockchain applications like management and security. So you spend your time writing business logic, not infrastructure.

Now, before going any further, if you haven’t checked out Part 1 or Part 2 of this series, you should do that now.

How do I work with a real blockchain network?

In Parts 1 and 2 you get your feet wet working with Hyperledger Composer:

  • The CTO modeling language
  • Tools (like composer-cli and VSCode)
  • Unit testing with Cucumber
  • Using Composer Playground in the IBM Cloud

But surely there’s more to Composer than that, right? You bet! What about Hyperledger Fabric? Check. Working with the Composer CLI? I’ve got you covered. Security? Absolutely!

How about a tutorial?

In Part 3 of the series, called Deploy locally, interact with, and extend your blockchain network, available at IBM developerWorks, you’ll install Hyperledger Fabric on your computer, and deploy the business network archive (BNA) to an instance of Hyperledger Fabric running on your machine (referred to as your local Hyperledger Fabric).

You’ll also install more tools and generate a Loopback-based REST interface that you can use to interact with the sample network blockchain application.

Part 3 also includes a detailed discussion of Hyperledger Composer security concepts. This part concludes with steps to pull it all together and extend the iot-perishable-network to create a more “real world” version of the Perishable Goods network.

How do I learn more?

Check out these links to learn more about Blockchain and Hyperledger Fabric and Composer:


Setup the Composer REST server to interact with your Fabric application:


Put it all together (complete demo of the Perishable Network)

Thanks for reading, and happy blockchaining!



Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.