0%

Book Description

Integrate an end-to-end logistic chain using IBM Blockchain and IoT platforms

Key Features

  • Explore practical implementation of ledger technology in the IoT architecture
  • Study security best practices for your smart devices
  • Understand Blockchain implementation for end-to-end IoT solutions

Book Description

Blockchain has been the hot topic of late thanks to cryptocurrencies. To make matters more interesting, the financial market is looking for ways to reduce operational costs and generate new business models, and this is where blockchain solutions come into the picture. In addition to this, with Internet of Things (IoT) trending and Arduino, Raspberry Pi, and other devices flooding the market, you can now create cheap devices even at home.

Hands-On IoT Solutions with Blockchain starts with an overview of IoT concepts in the current business scenario. It then helps you develop your own device on the IBM Watson IoT platform and create your fi rst IoT solution using Watson and Intel Edison.Once you are familiar with IoT, you will learn about Blockchain technology and its use cases. You will also work with the Hyperledger framework and develop your own Blockchain network. As you progress through the chapters, you'll work with problem statements and learn how to design your solution architecture so that you can create your own integrated Blockchain and IoT solution.

The next set of chapters will explain how to implement end-to-end Blockchain solutions with IoT using the IBM Cloud platform. By the end of this book, you will have mastered the convergence of IoT and Blockchain technology and exploited the best practices and drivers to develop a bulletproof integrated solution.

What you will learn

  • Understand the key roles of IoT in the current market
  • Study the different aspects of IBM Watson IoT platform
  • Create devices, gateways, and applications connected to the platform
  • Explore the fundamentals of Blockchain
  • Define good use cases for Blockchain
  • Discover the Hyperledger Fabric and Composer frameworks
  • Develop an IBM Watson IoT application using a Intel Edison
  • Integrate IoT with the Blockchain platform

Who this book is for

Hands-On IoT Solutions with Blockchain is for you if you are an Internet of Things (IoT) analyst, architect, engineer, or any stakeholder responsible for security mechanisms on an IoT infrastructure. This book is also for IT professionals who want to start developing solutions using Blockchain and IoT on the IBM Cloud platform. Basic understanding of IoT will assist you in understanding key concepts covered in the book.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. Hands-On IoT Solutions with Blockchain
  3. About Packt
    1. Why subscribe?
    2. Packt.com
  4. Contributors
    1. About the authors
    2. About the reviewers
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Download the color images
      3. Conventions used
    4. Get in touch
      1. Reviews
  6. Understanding IoT and Developing Devices on the IBM Watson IoT Platform
    1. What is IoT?
    2. Common business use cases of IoT
      1. Connected car
      2. Connected persons
    3. Technical elements in IoT 
      1. Devices
      2. Edge computing
      3. Networking
        1. Wireless (Wi-Fi) or cabled network
        2. Cellular/mobile network
        3. Low-power wide-area network (LPWAN)
        4. LoRa or LoRaWAN
        5. Network summary
      4. Application protocols
        1. MQTT
      5. Analytics and AI
    4. IBM Watson IoT Platform features
      1. Features
        1. Dashboard
        2. Devices, gateways, and applications
        3. Security
    5. Creating your first IoT solution
      1. Creating a gateway
      2. Creating an application
      3. Creating a device
    6. Summary
    7. Further reading
  7. Creating Your First IoT Solution
    1. Technical requirements
    2. The first IoT solution – the gardening solution
      1. Requirements overview
      2. Solution overview
      3. Selecting the equipment
        1. Intel Edison
        2. Arduino breakout board 
        3. Grove system
          1. Grove base shield for Arduino
          2. Grove sensors
          3. Grove button
          4. Grove relay
      4. Wiring the device
    3. Coding the device firmware
      1. Measuring soil moisture
      2. Measuring environmental temperature
      3. Turning on the relay
      4. Publishing events
      5. Monitoring the events
      6. Subscribing to actions
    4. Creating the backend application
      1. Creating a Cloud Foundry application in the IBM Cloud Platform
      2. Uploading the code
    5. Summary
    6. Further reading
  8. Explaining Blockchain Technology and Working with Hyperledger
    1. What is blockchain?
    2. Blockchain and Hyperledger
      1. Hyperledger projects
        1. Hyperledger Sawtooth framework
        2. Hyperledger Iroha framework
        3. Hyperledger Composer tool
        4. Hyperledger Burrow framework
      2. Hyperledger Fabric
        1. Member or peer
        2. Certificate Authority (CA)
        3. Ordering Cluster
        4. SDK/API
    3. Selecting a good use case
      1. Blockchain – food tracking use case
    4. Summary
    5. Questions
    6. Further reading
  9. Creating Your Own Blockchain Network
    1. Prerequisites
    2. Creating your own blockchain network with Hyperledger Composer
      1. Accessing Hyperledger Composer
      2. Exploring the structure of a sample blockchain network
    3. Installing your own blockchain network using Hyperledger Fabric and Composer
      1. Setting up Docker
      2. Installing Hyperledger Composer
        1. Components
          1. Step 1 – Setting up CLI Tools
          2. Step 2 – Setting up Playground
          3. Step 3 – Hyperledger Fabric
          4. Step 4 – IDE 
      3. Installing Hyperledger Fabric 1.3 using Docker
      4. Deploying Hyperledger Fabric 1.3 to a Kubernetes environment
    4. Summary
    5. Further reading
  10. Addressing Food Safety - Building around the Blockchain
    1. Regulations, challenges, and concerns in the modern food chain
      1. Challenges regarding food safety
      2. Food safety regulations – ISO 22000
    2. How blockchain and IoT can help in a food chain
      1. Food ecosystem
      2. Opportunities and challenges in a food ecosystem
        1. Farmers
        2. Food manufacturers
        3. Regulators
        4. Transporters (transportation companies)
        5. Stores and supermarkets
        6. Customer
      3. Is the food chain a good use case for IoT and blockchain technology?
    3. Summary
    4. Further reading
  11. Designing the Solution Architecture
    1. The business of food
      1. Challenges of the process
      2. The process at the food factory
      3. The process at the distribution center
      4. The process at supermarkets and stores 
    2. The technological approach 
      1. Frontend applications
      2. IoT-based asset tracking
      3. API/SDK
      4. Hyperledger Composer – a high-level overview
    3. Software components
      1. Composer REST server
      2. Hyperledger Composer model
      3. The Hyperledger Composer access control language
      4. Hyperledger Composer transaction processor functions
    4. Summary
    5. Questions
    6. Further reading
  12. Creating Your Blockchain and IoT Solution
    1. Technical requirements
    2. Solution overview
    3. Creating a blockchain network
      1. Concepts and enumerations
      2. Asset definitions
      3. Participants
      4. Deploying and testing the business network for Hyperledger
      5. Manipulating assets via transactions in the blockchain
      6. Generating and exporting participant business cards
      7. Defining access control lists (ACLs)
      8. Upgrading the business network to a newer version
      9. Setting up Composer REST servers for each participant
    4. Creating the IoT part of the solution
      1. Hardware setup
      2. Firmware development
      3. Application development
    5. End-to-end testing
      1. Creating a FoodBox
      2. Transferring the asset to the transporter
      3. Measuring the temperature while transporting
      4. Transferring the asset to the warehouse
      5. Creating a pallet and adding the box to it
      6. Measuring the temperature while transporting a pallet
      7. Tracking the FoodBox
    6. Summary
  13. The IoT, Blockchain, and Industry 4.0
    1. Industry 4.0
    2. Cloud computing as an innovation platform
      1. The cloud computing model
        1. The importance of cloud computing to Industry 4.0
    3. The IoT
    4. Blockchain – simplifying business chains
    5. Summary
  14. Best Practices for Developing Blockchain and IoT Solutions
    1. Developing cloud applications
      1. Reference architecture
      2. Development using the 12–factor application model
      3. Serverless computing
    2. Blockchain development using Hyperledger Composer
      1. The Hyperledger Composer toolkit
      2. The Hyperledger Composer REST server
        1. Authentication and multiuser mode
        2. Data source configuration
    3. Summary
    4. Further reading
  15. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
3.15.5.183