Testing in the playground

We just implemented all model and logic files in the previous section, so it is time to test our composer application:

  1. Click on the Deploy changes button on the left bottom panel of the playground. This will deploy the composer code.
  2. Click Test link on the top navigation bar. It will pop up the submit transaction page.  Select the  init method from the transaction type drop down. Enter the JSON value, as shown in the following screenshot; the input data is the same as what we tested in Chapter 5, Exploring an Enterprise Blockchain Application using Hyperledger Fabric.  Instantiate the fabric chaincode step. Submit the transaction, as follows:

If transaction submission is successful, we will be able to see that ...

Get Blockchain Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.