Building Your First Hyperledger Network on IBM Cloud Using Hyperledger Composer
These instructions take you through five steps (plus some optional ones) to building your very first blockchain network with Hyperledger Composer on IBM Cloud using the IBM Blockchain Platform Starter Plan. The instructions assume no, or at least very little, knowledge not only of Hyperledger but also the tools you will use along the way such as Git, and NPM. Where there is background information you need to know these instructions will link to that.
These instructions have been tested with IBM Blockchain Platform Starter Plan Version 1.1. I will endeavour to update them to the most current version of the platform when new ones are released.
For this exercise we'll be building a blockchain network called Art-Ledger, an application for artists and art lovers to buy, sell and track works of art. All of the files will be kept on GitHub and can be cloned or downloaded from https://github.com/petercrippsIBM/art-ledger
Okay, let's get started. Here are the five steps to get you up and running with your first blockchain network on the IBM Blockchain Starter Plan. Each step links to the next one at the end or you can return here to navigate your way through the instructions.
- Step 1: Setup a Development Environment
- Step 2: Create IBM Cloud Services
- Step 3: Define a Business Network
- Step 4: Create Business Network Artefacts
- Step 5: Expose and Test REST APIs
- Step 6 (Optional): Create an Angular Application
- Step 7 (Optional): Update the Business Network
- Step 8 (Optional): Art-Ledger Front-End Application
- Step 9 (Optional): Using the Composer Query Language and REST APIs
You may get some errors at various points as you step through these instructions. You can find a list of errors I have encountered (with fixes) in Possible Errors.
There are numerous guides and videos for getting started with Hyperledger some of which were used in writing these instructions. They are listed here for reference.
Finally, this file (README.md) and the ones it links to are written using Markdown which you can get a cheatsheet for here.