Playing with Hyperledger Composer
I'm starting to delve into blockchain from my developer point of view. Maybe the following warning is not absolutely necessary but just in case: This post is not about cryptocurrencies, it is about the Hyperledger Composer.
According to the Wikipedia, Hyperledger is an umbrella project of open source blockchains and related tools, started in December 2015 by the Linux Foundation to support the collaborative development of blockchain-based distributed ledgers.
One of these open source blockchain related tools is the Hyperledger Composer. If you want to give it a try, your machine have to meet some pre-requisites. If you are an Ubuntu user like me, please follow this link. The installation instructions are here. Its beginner tutorial is here.
My advice: stop reading this post now and follow the beginner tutorial by your own. Afterwards, take a look at my repository https://github.com/immontilla/hyperledger-composer-bank, where you can find a basic/minimal implementation of a bank.
To see it quickly in action, open a shell and run these commands:
git clone https://github.com/immontilla/hyperledger-composer-bank && cd hyperledger-composer-bank && npm install && npm test
You will see something like this:
As you can see, I have added, some testing. Sadly, the tutorial do not include it or even mention it. This is wrong, testing is one important part of any software project.
Finally, let me invite you to play with Hyperledger Composer too. Think about some actions (transactions) someone (participant) like/need/want to do with its stuff (assets) and implement it using the Hyperledger Composer.