Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On IoT Solutions with Blockchain

You're reading from   Hands-On IoT Solutions with Blockchain Discover how converging IoT and blockchain can help you build effective solutions

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789132243
Length 206 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Maximiliano Santos Maximiliano Santos
Author Profile Icon Maximiliano Santos
Maximiliano Santos
Enio Moura Enio Moura
Author Profile Icon Enio Moura
Enio Moura
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Understanding IoT and Developing Devices on the IBM Watson IoT Platform 2. Creating Your First IoT Solution FREE CHAPTER 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 10. Other Books You May Enjoy

Creating a blockchain network


To develop a blockchain network, we will first have to create a business network project using the Yeoman command line, and then name the business network:

$ yo hyperledger-composer
Welcome to the Hyperledger Composer project generator
?Please select the type of project:Business Network
You can run this generator using: 'yo hyperledger-composer:businessnetwork'
Welcome to the business network generator
?Business network name:food-safety-b10407
?Description:Hands-on IoT solutions with Blockchain
?Author name:Maximiliano and Enio
?Author email:max.santos@gmail.com
?License:Apache-2.0
?Namespace:com.packtpublishing.businessnetwork.foodsafety
?Do you want to generate an empty template network?Yes: generate an empty template network
 createpackage.json
 createREADME.md
 createmodels/com.packtpublishing.businessnetwork.cto
 createpermissions.acl
 create.eslintrc.yml

The Yeoman generator creates a folder with a basic empty structure for a Hyperledger Composer business...

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 €18.99/month. Cancel anytime