Publication

Explanations & Tutorials

Blockchain Explained - The Basics of Blockchain and How it Might Affect IoT

You've probably heard of Bitcoin and Blockchain before, but if you need Blockchain explained, we have your back.

February 13, 2017

AT&T, IBM, Nokia, Palo Alto Networks, Symantec, and Trustonic formed an IoT Cybersecurity Alliance earlier this week, seeking to research security challenges and influence security standards and policies. Whenever a conversation about security surfaces, the idea of applying blockchain inevitably appears.

Now, you’ve probably heard of Bitcoin and blockchain, but if you are like most people, you might not really understand how it works.

In order to understand how blockchain might affect IoT in the future, it’s critical to have a basic understanding of what blockchain is. To explain blockchain, we'll refer to Anders Brownworth’s excellent video and interactive demo on his website.

 

Summary of the Video - Blockchain Explained

Mr. Brownworth starts with hashes and adds onto that concept to explain a distributed peer-to-peer network:

  • Hash: Some data is mapped to a seemingly random string for basic encryption.
  • Block: A block adds a nonce field to the hashed data to introduce a concept of “signed” or “valid” hashes (in his example, the hash must start with 4 zeros).
  • Blockchain: As the name suggests, a blockchain is a chain of blocks. A change in a block higher up the chain affects all of its trailing blocks.
  • Distributed Blockchain: Copies of each blockchain are stored by multiple peers. Any changes in the chain is broadcast to everyone in the network, and the change must be approved by the network.
  • Tokens & Coinbases: For a practical example, let’s see how cryptocurrency (Bitcoin) works with blockchain. When A wants to send money to B, a block is created to represent that transaction. This new change is broadcast to all the peers in the network, and if approved by the peers, the new block is added to the chain, completing the transaction. The popularity and the controversy surrounding Bitcoin skewed the general perception of blockchain as a technology limited to cryptocurrency application.
blockchain explainedImage Credit: Financial TimesType image caption here (optional)Image Credit: KD NuggetsImage Credit: KD NuggetsImage Credit: KD Nuggets

So What Does this Mean for IoT?

Blockchain has other uses outside of Bitcoin and financial transactions because it can act as a ledger for any kind of digital exchange. Dubbed “altchains,” new applications such as Namecoin, which keeps a record of DNS namespace, and Datacoin, which stores data in the blockchain, have sprung up using the underlying Bitcoin software.

As the IoT ecosystem continues to grow, data exchanges and security of those data points will become increasingly important. Perhaps blockchain technology could track data exchanges between sensors/devices to other devices, gateways, or end-users.

The automatic nature of blockchain then could enable even smarter machines. Right now, we have dash buttons to automate our ecommerce experience. But imagine a smart washing machine that can keep a history of its own stock, compare the prices of new detergent from multiple vendors, and pay for the delivery of the detergent on its own.

Or a smart home that keeps a history of all the data flows between the dishwasher, vacuum system, HVAC, and solar panels to optimize for electricity usage and cost.

Finally, blockchain can also push predictive maintenance to the next level, where now the computer not only determines when its parts might fail, but can also schedule and pay for that maintenance automatically.

Blockchain frees up centralized systems that are bottlenecked by trusted and centralized human authorities. Each device can act as an independent agent to create a distributed IoT blockchain. According to IBM Institute for Business Value, blockchain or any decentralized IoT solution, can support three foundational types of transactions:

  • Trustless peer-to-peer messaging
  • Secure distributed data sharing
  • A robust and scalable form of device coordination
blockchain explained for IoTImage Credit: IBMImage Credit: Postscapes

Blockchain and a Distributed Future

Blockchain, with all of its controversies, has barely scraped the surface of its possible use. As blockchain begins to bleed into new verticals and industries, we may see a huge improvement in how IoT networks communicate currently.

It’s still early days in the application of blockchain to IoT, but there’s certainly some promise and if it works, it could be a disruptive force that finally solves the security issues that are hampering IoT growth.

Explore More from the Publication