Skip to main content

Blockchain for Secure and Transparent Track-and-Trace in Manufacturing

  • Chapter
  • First Online:
Implementing Industry 4.0

Part of the book series: Intelligent Systems Reference Library ((ISRL,volume 202))

Abstract

This chapter will first introduce the reader to blockchain technology and the different types of blockchain systems. The underlying principle on how it achieves consensus and guarantees immutability of records in a completely distributed manner is explained. Some use cases where blockchain can address challenging issues in manufacturing environment are given. A particular use case of end-to-end track-and-trace including the manufacturing process on the shop floor is then explained, and showcased in [28] by implementing the blockchain-based track-and-trace system with Hyperledger Fabric 2.0. Additional challenges that need to be tackled pertaining to transaction speed and volume are described. To catalyze the adoption, seamless integration of different blockchain systems is needed. This will involve integrating a number of different blockchain protocols. A discussions and recommended considerations for blockchain interoperability, which allow exchange of information/tokens across different systems running different protocols are then given. Finally, this chapter ends with a summary where some of the best practices for a successful blockchain deployment are discussed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    It is planned to upgrade the Raft consensus algorithm to a fully byzantine fault tolerant (BFT) ordering service in the future.

  2. 2.

    For legacy PLC systems that are non-compliant to OPC protocol, additional hardware such as IoT edge device and IoT gateway can be used to tap the relevant signals for track-and-trace and connect to the blockchain interface.

  3. 3.

    A non-trusted connector can be used because if the connector receives a new money package (prepare package), it cannot steal as the connector does not know the pre-image of the hashed timelock. Only after the money package reaches the receiver, the receiver reveals the pre-image.

  4. 4.

    It is only applicable for fungible assets (cf. fungible asset definition in Sect. 13.4.2.2).

  5. 5.

    On-ledger HTLCs do not bear risk of any party not settling outstanding money packages, whereas in trustline, one party bears the risk that the other party is not settling the outstanding balance. Hence, trustlines are only suitable for trusted parties or business relationships that have other mechanisms in place to incentivise honest behavior.

  6. 6.

    There is active development going on which will expand the capabilities of all the projects mentioned in this chapter. The reader is encouraged to cross-check the current capabilities of the mentioned projects.

  7. 7.

    Because most public blockchains have a probabilistic finality, an atomic exchange might not be atomic anymore if the transaction was included into a stale block. The longer the private blockchain waits, the less likely it is that the corresponding exchange transaction becomes stale in the public blockchain.

  8. 8.

    There is an alternative approach for an outside entity A to verify the state of a connected blockchain if this connected blockchain uses Merkle Trees to store its blockchain state. An outside entity A can store the Merkle Tree roots from the headers of committed blocks of a connected blockchain locally to verify any state claims about the connected blockchain. Any untrusted entity can then provide a state of the connected blockchain, such as a specific account balance on the connected blockchain, because the outside entity A can act as a lightweight client and use concepts like simple payment verification (SPV) to verify that the state claim provided by the untrusted entity is valid. SPV can be done without checking the entire blockchain history. Polkadot uses this approach in its Relay Chain and the BTCRelay on the Ethereum blockchain uses this approach as well. Private blockchains do not always keep track of their state through Merkle trees and signatures produced by nodes participating in such private blockchains are rarely understood by outside parties not participating in the network. For that reason, the design principle of Cactus is to rely on the canonical validator node signatures for verifying proofs of blockchain states. Since Cactus should be able to incorporate any type of blockchain in the future, Cactus cannot use the approach based on Merkle Trees.

  9. 9.

    A networkwide ledger view means that all network nodes have to be considered to derive the state of the blockchain which means that it is not the state of just one single blockchain node.

  10. 10.

    The validator nodes in Hyperledger Cactus have similarities with trusted third party intermediaries. The terminology trusted third party intermediaries, federation/notary schemes are used when a blockchain can retrieve the state of another blockchain through these intermediaries.

  11. 11.

    There might be use cases where it is desired to duplicate a NFA on different ledgers. Nonetheless, we stick to the terminology that a NFA cannot be duplicated on a different ledger in this chapter, because a NFA can be represented as a data packages on different ledgers in such cases. Data is a superset of NFAs.

  12. 12.

    In case of data, the data can be copied from blockchain A to blockchain B. It is optional if the data is removed from the world state of blockchain A after copying.

  13. 13.

    The process in blockchain A and the process in blockchain B can be seen to happen consecutively in ledger interactions, as opposed to concurrently in atomic swaps.

  14. 14.

    An action can be either a read/write transaction that is performed on blockchain A or an event that is emitted by blockchain A.

  15. 15.

    Alternatively, any address from that asset which cannot be recovered anymore can be used. A verifiable proof for the irreversible characteristic of that address should be given.

  16. 16.

    Bitcoin total supply only consists of block rewards. Ethereum total supply consists of block rewards of mining regular blocks as well as mining uncle blocks and roughly 72,000,000 ETH generated in the genesis block that were distributed to participants of the Ethereum presale [7].

  17. 17.

    The terminology relay is used when a chain can retrieve the state of another blockchain through read, write, or event listening operations directly rather than relying on third party intermediaries. The terminology is also used in the central Relay Chain in Polkadot. Relays are considered more complicated to implement than trusted third party intermediaries/federation/notary schemes.

  18. 18.

    In general, these caveats apply to any process transferring tokens/coins to another address not just escrow contracts.

  19. 19.

    There are externally owned accounts (EOAs) and contract accounts (CAs) on the Ethereum mainnet.

References

  1. Amazon AWS Managed Blockchain for Supply Chain. https://aws.amazon.com/managed-blockchain/

  2. Capgemini Research Institute: Does Blockchain Hold the Key to a New Age of Supply Chain Transparency and Trust? (2018). Available online. https://www.capgemini.com/wp-content/uploads/2018/10/Digital-Blockchain-in-Supply-Chain-Report.pdf (Cited 22 June 2020)

  3. Economic Development Board, Singapore: The Singapore Smart Industry Readiness Index (2017). Available online. https://www.edb.gov.sg/content/dam/edbsite/news-and-resources/news/advanced-manufacturing-release/the-sg-smart-industry-readiness-index-whitepaper.pdf (Cited 22 June 2020)

  4. Ethereum: Address 0x0000000000000000000000000000000000000000. Available online. https://etherscan.io/address/0x0000000000000000000000000000000000000000 (Cited 16 June 2020)

  5. Ethereum: ERC20 Standard (2020). Available online. https://eips.ethereum.org/EIPS/eip-20 (Cited 16 June 2020)

  6. Ethereum: ERC721 Standard (2020). Available online. https://eips.ethereum.org/EIPS/eip-721 (Cited 16 June 2020)

  7. Ethereum: Ether Supply. Available online. https://etherscan.io/stat/supply (Cited 16 June 2020)

  8. Ethereum: Pull-over-push-pattern. Available online. https://solidity.readthedocs.io/en/latest/common-patterns.html#withdrawal-from-contracts (Cited 16 June 2020)

  9. GartnerResearch: Forecast: Blockchain Business Value, Worldwide, 2017–2030 (2017). Available online. https://www.gartner.com/en/documents/3627117 (Cited 22 June 2020)

  10. Gorenflo, C., Lee, S., Golab, L., Keshav, S.: FastFabric: Scaling Hyperledger Fabric to 20,000 Transactions per Second. In: IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 455–463 (2019)

    Google Scholar 

  11. Gorenflo, C., Golab, L., Keshav, S: XOX Fabric: A hybrid approach to transaction execution (June 2019). Available online. https://arxiv.org/abs/1906.11229 (Cited 22 June 2020)

  12. Hyperledger Cactus: Whitepaper Version 0.1 (Early Draft). Available online. https://github.com/hyperledger/cactus/blob/master/whitepaper/whitepaper.md (Cited 16 June 2020)

  13. Hyperledger Fabric: Distributed Ledger Software. https://www.hyperledger.org/use/fabric

  14. Hyperledger Fabric 2.0 Documentation: Peers and Orderers, Phase 1: Proposal. Available online. https://hyperledger-fabric.readthedocs.io/en/release-2.0/peers/peers.html (Cited 22 June 2020)

  15. Hyperledger Fabric 2.0 Documentation: The Ordering Service: Phase two: Ordering and packaging transactions into blocks. Available online. https://hyperledger-fabric.readthedocs.io/en/release-2.0/orderer/ordering_service.html (Cited 22 June 2020)

  16. Hyperledger Fabric 2.0 Documentation: Phase three: Validation and commit. Available online. https://hyperledger-fabric.readthedocs.io/en/release-2.0/orderer/ordering_service.html (Cited 22 June 2020)

  17. Hyperledger: Advancing Business Blockchain Adoption through Global Open Source Collaboration. Available online. https://www.hyperledger.org

  18. Hyperledger: HL Whitepaper Metrics (2018). Available online. https://www.hyperledger.org/wp-content/uploads/2018/10/HL_Whitepaper_Metrics_PDF_V1.01.pdf (Cited 16 June 2020)

  19. Hyperledger: Raft Consensus Algorithm Demo. Available online. http://thesecretlivesofdata.com/raft/ (Cited 16 June 2020)

  20. IBM TradeLens: https://www.tradelens.com

  21. Interledger: Interledger. Available online. https://interledger.org/ (Cited 16 June 2020)

  22. Karame, G.O., Androulaki, E., Capkun, S.: Double-Spending Fast Payment in Bitcoin. In: ACM Conference on Computer and Communications Security (CCS), In Proceedings (2012)

    Google Scholar 

  23. Nakamoto, S.: Bitcoin: A Peer-to-Peer Electronic Cash System (2008). Available online. https://bitcoin.org/bitcoin.pdf (Cited 22 June 2020)

  24. NIST: Secure Hash Standard (SHS), FIPS PUB 180-4 (August 2015). Available online. https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf (Cited 22 June 2020)

  25. Oracle intelligent track and trace. https://www.oracle.com/applications/blockchain/track-and-trace.html

  26. PWC: How Can Blockchain Power Industrial Manufacturing? (2018). Available online. https://www.pwc.com/us/en/industries/industrial-products/library/blockchain-industrial-manufacturing.html (Cited 22 June 2020)

  27. Project Provenance. https://www.provenance.org/

  28. Showcase of end-to-end track-and-trace Blockchain System on the manufacturing floor. Available online https://youtu.be/rQC_lmt7ZSo (Cited 9 September 2020)

  29. Sidechain: Sidechain. Available online. https://docs.plasma.group/en/latest/src/plasma/sidechains.html (Cited 16 June 2020)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ernest Kurniawan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Kurniawan, E., Benda, D., Sun, S., Tan, S.G., Chin, A. (2021). Blockchain for Secure and Transparent Track-and-Trace in Manufacturing. In: Toro, C., Wang, W., Akhtar, H. (eds) Implementing Industry 4.0. Intelligent Systems Reference Library, vol 202. Springer, Cham. https://doi.org/10.1007/978-3-030-67270-6_13

Download citation

Publish with us

Policies and ethics