Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On IoT Solutions with Blockchain.

You're reading from  Hands-On IoT Solutions with Blockchain.

Product type Book
Published in Jan 2019
Publisher Packt
ISBN-13 9781789132243
Pages 206 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Maximiliano Santos Maximiliano Santos
Profile icon Maximiliano Santos
Enio Moura Enio Moura
Profile icon Enio Moura
View More author details

Table of Contents (15) Chapters

Title Page
About Packt
Contributors
Preface
1. Understanding IoT and Developing Devices on the IBM Watson IoT Platform 2. Creating Your First IoT Solution 3. Explaining Blockchain Technology and Working with Hyperledger 4. Creating Your Own Blockchain Network 5. Addressing Food Safety - Building around the Blockchain 6. Designing the Solution Architecture 7. Creating Your Blockchain and IoT Solution 8. The IoT, Blockchain, and Industry 4.0 9. Best Practices for Developing Blockchain and IoT Solutions 1. Other Books You May Enjoy Index

End-to-end testing


For testing purposes, we are going to use the Hyperledger Composer Playground for most of the operations, except transporter updates. So, at this point, you can stop all of the Composer REST servers that were started in the previous section, except the one that was started for the transporter participant (listening on port 3004). 

If your Hyperledger Composer Playground was installed during the development environment setup, all you have to do is run the composer-playground command, or install it using npm (npm install -g composer-playground).

Your default browser will open the Composer-Playground web application, as shown in the following screenshot: 

Composer playground landing page

You can see the same participants that were created earlier. 

Creating a FoodBox

As per the permissions we've granted, factories can create FoodBoxes. Let's see how:

  1. Find the Factory 1 @food-safety-b10407 business card and select the  Connect now option. Then, click on Test at the top left of the...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}