Enabling Trust and Security in Digital Twin Manage
Enabling Trust and Security in Digital Twin Manage
Article
Enabling Trust and Security in Digital Twin Management:
A Blockchain-Based Approach with Ethereum and IPFS
Austine Onwubiko , Raman Singh , Shahid Awan , Zeeshan Pervez * and Naeem Ramzan
School of Computing, Engineering and Physical Sciences, University of the West of Scotland,
Paisley PA1 2BE, UK; austine.onwubiko@uws.ac.uk (A.O.); raman.singh@uws.ac.uk (R.S.);
shahid.awan@uws.ac.uk (S.A.); naeem.ramzan@uws.ac.uk (N.R.)
* Correspondence: zeeshan.pervez@uws.ac.uk
Abstract: The emergence of Industry 5.0 has highlighted the significance of information usage,
processing, and data analysis when maintaining physical assets. This has enabled the creation of
the Digital Twin (DT). Information about an asset is generated and consumed during its entire life
cycle. The main goal of DT is to connect and represent physical assets as close to reality as possible
virtually. Unfortunately, the lack of security and trust among DT participants remains a problem as a
result of data sharing. This issue cannot be resolved with a central authority when dealing with large
organisations. Blockchain technology has been proposed as a solution for DT information sharing
and security challenges. This paper proposes a Blockchain-based solution for digital twin using
Ethereum blockchain with performance and cost analysis. This solution employs a smart contract
for information management and access control for stakeholders of the digital twin, which is secure
and tamper-proof. This implementation is based on Ethereum and IPFS. We use IPFS storage servers
to store stakeholders’ details and manage information. A real-world use-case of a production line
of a smartphone, where a conveyor belt is used to carry different parts, is presented to demonstrate
the proposed system. The performance evaluation of our proposed system shows that it is secure
and achieves performance improvement when compared with other methods. The comparison of
results with state-of-the-art methods showed that the proposed system consumed fewer resources in
a transaction cost, with an 8% decrease. The execution cost increased by 10%, but the cost of ether
Citation: Onwubiko, A.; Singh, R.;
was 93% less than the existing methods.
Awan, S.; Pervez, Z; Ramzan, N.
Enabling Trust and Security in Digital
Twin Management: A Keywords: digital twin; blockchain; Industry 5.0; Ethereum; IPFS
Blockchain-Based Approach with
Ethereum and IPFS. Sensors 2023, 23,
6641. https://doi.org/10.3390/
s23146641 1. Introduction
Academic Editors: Kenneth Brown, Digital twins are used by various organisations in the Industry 5.0 to digitally represent
Radhya Sahal and Saeed Alsamhi physical assets. In 2023 [1], it has been anticipated that the DT market value will hit
$15.66 billion and half of the large industrial companies will adopt the concepts of DTs.
Received: 27 June 2023 The recent development in technology, such as the internet of things (IoT), is used to collect
Revised: 17 July 2023
various data generated in the production, management, monitoring, and processing of
Accepted: 19 July 2023
a product’s entire life cycle. These data are then stored in the cloud. Product life cycle
Published: 24 July 2023
management (PLM) [2] is an effective way a company manages its business activities
across products’ life cycle. The collaboration among DT participants is a key factor in
completing production on time and within the allocated budget. The fragmentation in
Copyright: © 2023 by the authors.
production among different participants of DTs, who work together toward a common
Licensee MDPI, Basel, Switzerland. goal, is geographically spread, which causes delays in data communications among the
This article is an open access article participants, thereby compromising accountability in information sharing.
distributed under the terms and A digital twin is a concept that involves virtually representing physical assets or
conditions of the Creative Commons systems. The idea is to utilise sensors to generate real-time information from these physical
Attribution (CC BY) license (https:// assets and apply it to their virtual counterparts. However, due to the lack of convergence
creativecommons.org/licenses/by/ between the physical and virtual realms, data are often fragmented and isolated. By com-
4.0/). bining the digital and physical components through data obtained from sensory devices,
service platform, which provides blockchain service such as cloud storage and a blockchain
network. Azure blockchain uses the Ethereum-based Quorum ledger protocol, designed
for high-speed processing of private transactions for authorised participants of the DT. This
is used to achieve information sharing across participants and traceable data transactions.
In this paper, we propose a blockchain-based approach, leveraging Ethereum and IPFS
to enable trust and security in digital twins. The algorithm we present ensures the integrity
and traceability of documents associated with each digital twin. When a document is
uploaded, it is stored in IPFS, a decentralised file storage system. The cryptographic hash
of the document is then stored on the Ethereum blockchain, allowing for verification of doc-
ument integrity and providing a transparent record of its history. Multiple participants can
own and interact with the digital twin system, with ownership tracked through Ethereum
addresses. This algorithm enhances the security and reliability of digital twins.
This paper aims to propose a decentralised information management system that
utilises blockchain technology. This proposed system uses a decentralised database, which
is secure and has no single point of failure, and nodes do not need to trust each other. The
proposed system uses a private blockchain with the integration of IPFS, an off-chain storage
that ensures confidentiality. We have demonstrated and tested the proposed system on a
real-life phone production use-case.
To achieve information management and sharing, in this paper, we aim to develop and
test an integrated blockchain and digital twin, which allow for the sharing and storing of
important information about the digital twin to achieve traceability, transparency, integrity,
and immutability. The main contribution of this work can be summarised as follows:
• We propose and design the integration of blockchain and IPFS for efficient data
management.
• We carry out security and cost analysis for the proposed system—a blockchain-based
solution for DT using Ethereum.
• We present smart contracts to govern and control the transactions performed in the
proposed system and smart contracts with access control for data and information
sharing among the participants of the DT.
• InterPlanetary File System (IPFS), an off-chain storage of the Ethereum Virtual Machine
(EVM), will be integrated to store and share information of the DT.
The rest of this work is organised as follows: Section 2 is the background of the
research about blockchain and the digital twin. Section 3 introduces the related works. The
structure of the proposed system is laid out in Section 4. Section 5 discusses a case scenario
about the research work. Section 6 will discuss the evaluation and analysis of the prototype.
Finally, a discussion and conclusion will be drawn in Sections 7 and 8.
2. Background
The background of this work is divided into two sections, Sections 2.1 and 2.2, which
describe the foundation of digital twin and blockchain applications.
There are three main elements of the digital twin: the physical, the virtual, and the data
communication between the physical and the virtual element, as shown in Figure 1. The
physical element of the DT is the foundation of DT [4]. It creates the virtual model of the
physical element to help simulate physical systems and understand their behaviours. The
virtual element of the DT is the exact replica of the physical element, which represents the
properties and behaviours of the physical element. Communication between the physical
and virtual elements of the DT enables information and data exchange for advanced
simulation, monitoring, operation, and analysis.
The digital twin has become a vital topic when it comes to communication and infor-
mation technology [3]. It has been applied in different fields of study such as information
management [5,9], transportation [11,12], manufacturing [6,10,13], healthcare and the med-
ical system [14,15], agriculture [16,17], and construction [3]. When designing a digital
twin platform, it is essential to prioritise the protection of important data from viruses
and hacking attacks due to the utilisation of this information in IoT and cloud computing.
With the assistance of blockchain technology, data can now be securely transferred over
the internet. Blockchain offers the advantages of security, immutability, transparency, and
integrity, thereby facilitating effective monitoring of the digital twin while eliminating the
need for a centralised storage system to hold data.
3. Related Works
Digital twin is still an emerging technology, with limited availability of blockchain-
based solutions and literature. In this section, we discuss existing work and blockchain-
based solutions for the DT.
The prototype implementation EtherTwin, developed by [5], shows how numerous
implementation challenges are associated with the fully decentralised sharing of data,
enabling the management of DT information and components with their associated infor-
mation. The authors proposed a decentralised owner-centric sharing model, with an access
control model to overcome the aspect of data confidentiality and integrity on the digital
twin components and life cycle requirements to tackle the need for decentralised sharing
of data on the digital twin to avoid a single point of trust. The authors [5] discussed that
prototypical implementations were not considered, that the approaches were theoretical,
and they were not implemented.Swarm was considered in this implementation; Swarm is
restricted to one update per second. The timely sharing of DT data are restricted to one
update per second, which is insufficient to support the frequent updates of sensor data
occurring multiple times per second. However, this aspect was not considered in the scope
of this research.
Similar work was undertaken by [1]. Using the Ethereum blockchain, the authors
proposed a blockchain-based creation process of the digital twin to achieve immutabil-
ity, accessibility, traceability, trust, and security for data transactions. They used smart
contracts to initiate participants involved in the creation of a digital twin to govern and
track transactions. An integrated digital twin and blockchain framework is developed and
tested by [3] to achieve data communication and traceability. The framework is a virtual
representation of a prefabricated brick as a project use-case, where the virtual positioning
data are transmitted to the digital twin in near real time and recorded on the blockchain.
The result of their framework shows that data transactions are traceable. This scheme uses
a centralised storage or third party, and this can be a limitation to a single point of failure
or vulnerability to system attacks.
Digital twin data management can be complicated to manage from the perspectives of
data access, data storage, data sharing, and data authenticity [9]. The author proposed a
blockchain-based method for the data management of digital twin products, using a peer-
to-peer network constructed to enhance data sharing efficiency among participants. The
results indicate that data can be stored in blocks and accessed with verification. Efficient
data sharing is facilitated through a peer-to-peer network, while data authenticity is ensured
through traceability, thereby preventing data overwriting. The authors [19] discuss the
integration of DTs and blockchain for the industrial internet of things (IIoT) to address the
issues of data management and security. They discussed identifying outstanding challenges
faced by the IIoT and not implementing them. The author focused on the adoption of a
lightweight, scalable, and quantum-immune blockchain-based solution for IIoT.
The combination of IIoT and private blockchain-driven digital twin was proposed
by [20] for configuring intelligent manufacturing systems (IMSs). The IMSs architecture is
Sensors 2023, 23, 6641 6 of 26
based on the IIoT, which has a centralised architecture that limits the capacity to support
security and has poor flexibility to handle manufacturing disturbances. The evaluation was
based on throughput and latency of Ethereum and Fabric, and the outcome showed that
Fabric could achieve higher throughput and lower latency than Ethereum. The evaluation
of time latency is required if blockchain and cloud storage are applied to DT data sharing;
thus, the time latency has not been evaluated for the combination of HyperledgerFabric
and cloud storage.
Ref. [21] proposed a blockchain-based framework for securing big digital twin data
(BDTD). The idea is based on large amounts of digital twin data generated in the life cycle of
equipment used in the digital twin-enabled applications. However, the lack of security leads
to data sharing issues. The use of performance-based contracts is to consider the overall
life cycle of equipment rather than the production costs. The challenge of performance
evaluation, financials, and accountability has been limited, so [7] proposes the connection
of the digital twin with blockchain-based smart contracts to handle performance-based
digital payment to achieve transparency and trust for performance evaluation.
The aforementioned state-of-the-art focused mainly on data sharing and data manage-
ment, and the use of blockchain in DT. However, some schemes have limitations as a result
of the use of Swarm to achieve timely data sharing—the use of centralised data storage,
which can lead to a single point of attack, while some schemes are focused on the security
of data management of IIoT without been implemented.
To address such limitations, our proposed system uses a decentralised approach to
data management and sharing, leveraging blockchain technology, smart contracts, and
IPFS. By using a decentralised approach, we can avoid the risk of a single point of failure
and improve the security and reliability of the system. The proposed system offers an
innovative solution that can address the limitations of existing approaches and potentially
provide a more secure and efficient method for managing and sharing data in the context
of digital twins.
Table 1 summarises the existing work for blockchain and DT.
Figure 3. The system architecture showing how the DT interacts with the blockchain.
Figure 4. Sequence demonstration showing all the interactions between the participants of the smart
contract for the file upload process.
• Community: Ethereum has a large and active developer community that is constantly
working on improving the platform and building new applications.
• Ethereum provides a robust and secure platform for building decentralised applica-
tions and smart contracts, with the potential to revolutionise various industries by
enabling new business models and creating more transparent and efficient systems.
contract DStorage {
string public name = " DStorage " ;
uint public fileCount = 0;
mapping ( uint = > File ) public files ;
struct File {
uint fileId ;
string fileHash ;
uint fileSize ;
string fileType ;
string fileName ;
string fileDescription ;
uint uploadTime ;
address payable uploader ;
}
event FileUploaded (
uint fileId ,
string fileHash ,
uint fileSize ,
string fileType ,
string fileName ,
string fileDescription ,
uint uploadTime ,
address payable uploader
);
function uploadFile (
string memory _fileHash ,
uint _fileSize ,
string memory _fileType ,
string memory _fileName ,
string memory _fileDescription
) public {
require ( bytes ( _fileHash ) . length > 0 , " File hash is
required " ) ;
require ( bytes ( _fileType ) . length > 0 , " File type is
required " ) ;
require ( bytes ( _fileDescription ) . length > 0 , " File
description is required " ) ;
require ( bytes ( _fileName ) . length > 0 , " File name is
required " ) ;
require ( msg . sender != address (0) , " Uploader address
is required " ) ;
require ( _fileSize > 0 , " File size must be greater
than zero " ) ;
fileCount ++;
files [ fileCount ] = File (
fileCount ,
_fileHash ,
_fileSize ,
_fileType ,
_fileName ,
_fileDescription ,
now ,
msg . sender
);
emit FileUploaded (
fileCount ,
_fileHash ,
_fileSize ,
_fileType ,
_fileName ,
_fileDescription ,
now ,
msg . sender
);
}
}
Sensors 2023, 23, 6641 12 of 26
4.3. Implementation
We used IPFS, as it is considered to be more efficient than BitTorrent and Git file
storage systems. IPFS provides a high throughput, content-addressed block storage model,
which ensures the security of transactions [23].
The blockchain DApp prototype was developed on the Ethereum blockchain platform.
The platform supports the Turing complete smart contract programming language Solidity
and has a large developer community, resulting in advanced development tools and
vulnerability scanners. The system has a user interface that simplifies the interactions of
the DT involved in creating twins and uploading data. For a trustless interaction with
the blockchain, it is implemented using the web page application JavaScript framework
Node.JS, with the Ganache local blockchain server only needed to serve static assets. The
module metamask wallet is used for managing the user’s blockchain account, providing
access to the user’s public and private key.
To implement a DApp, a blockchain network was built using Ganache Ethereum in a
local environment, and Truffle was used as a framework in compiling and deploying smart
contracts. The DApp accesses the smart contract by communicating with the Ganache
Ethereum via JSONRPC through Web3js, an API for the Ethereum JavaScript.
The DT can be owned by several participants; when the DT is deployed, the new
owner is registered. The Ethereum address of the DT owners can be tracked and traced
using the events available log. The owner is responsible for the creation process of the DTs,
and each of the participants has an Ethereum blockchain address and participates by calling
functions in the smart contract at certain times. Access is restricted on who can execute a
function call by the modifier; this is done by using the Ethereum address of the participant.
The registered owner creates the smart contract as well as the document for upload,
which includes the document’s name and the document IPFS hash. This process can be
done by any registered participant to upload a new version of the document and also
view documents uploaded to the IPFS. Figure 4 illustrates the sequence for the file upload
process. The uploaded document on the IPFS stores the hash value in the contract, and
approval is requested by the participant by providing the hash.
Sensors 2023, 23, 6641 13 of 26
// Contract state
enum ContractState {
Created,
WaitForApproversSignature,
Reverted
}
contractState = ContractState.Created
participantState = ParticipantState.ReadyToSubmit
if participantAddress in RegisteredParticipants:
restrictAccessToParticipant(participantAddress)
if IPFSHash:
contractState = ContractState.WaitForApproversSignature
participantState = ParticipantState.SubmittedForApproval
createValidationMessage("Requesting validation from all
approvers")
else:
revertContractState("IPFS hash is not provided")
else:
revertContractState("Participant is not registered")
def restrictAccessToParticipant(participantAddress):
# Restrict access to only the specified participant
pass
def createValidationMessage(message):
# Create a validation message with the given content
pass
def revertContractState(error):
# Revert contract state and show error message
pass
// Contract state
enum ContractState {
Created,
WaitForApproversSignature,
Reverted
}
if participantAddress in RegisteredParticipantSet:
restrictAccessToParticipant(participantAddress)
if documentHash == IPFSHash:
contractState = ContractState.SignatureProvided
participantState = ParticipantState.ApprovalProvided
approversState = ApproversState.ApprovalSuccess
createValidationMessage("Request ID granted")
else:
contractState = ContractState.SignatureDenied
participantState = ParticipantState.ApprovalNotProvided
approversState = ApproversState.ApprovalFailed
createValidationMessage("Document version approval failed")
else:
revertContractState("Participant is not registered")
def restrictAccessToParticipant(participantAddress):
Sensors 2023, 23, 6641 16 of 26
def createValidationMessage(message):
# Create a validation message with the given content
pass
def revertContractState(error):
# Revert contract state and show error message
pass
// Contract state
enum ContractState {
Created,
WaitForApproversSignature,
Reverted
}
def processNewEntrant(ethereumAddressOfNewEntrant):
contractState = ContractState.SignatureProvided
Sensors 2023, 23, 6641 17 of 26
registeredState = RegisteredState.HaitToRegister
if isAlreadyRegistered(ethereumAddressOfNewEntrant):
revertContractState("New entrant is already registered")
else:
contractState = ContractState.NewRegRequested
registeredState = RegisteredState.NewRegisteredRequested
approversState = "ApprovalFailed"
createNotification("Grant permission for new registrations")
def isAlreadyRegistered(ethereumAddress):
# Check if the new entrant is already registered
# Return True if registered, False otherwise
pass
def revertContractState(error):
# Revert contract state and show error message
pass
def createNotification(message):
# Create a notification message for granting permission
pass
5. Case Scenario
This case scenario is motivated by an industrial size conveyor as shown in Figures 5 and 6,
which demonstrate how this conveyor will be used with the proposed blockchain solution
in practice by creating a digital twin. To demonstrate the effectiveness of the proposed
system, a case scenario about a production line of a smartphone, where a conveyor belt is
used to carry different parts of the smartphone production, is presented. The main goal for
the smartphone production is to gather all data available about the conveyor belt and to
monitor and analyse the data.
This case study is intended to verify and manage the DT over time, which generates a
compliance statement that includes a big file size of data, which can be shared immutably
and traceably through the blockchain network. The DT historical data can be stored without
the issue of overwriting and shared in the blockchain network with limited storage. A
digital twin is created for each smartphone being produced, which includes information
such as:
• Component Information: Data related to the components used in smartphone assem-
bly, such as the supplier, batch number, manufacturing date, and quality certifications.
• Machine Sensor Data: Real-time data from machines and equipment involved in
the assembly and testing processes, including temperature, pressure, vibration, and
energy consumption.
• Production Metrics: Data on production cycle time, yield rates, defect rates, and other
performance indicators to monitor the efficiency and quality of the manufacturing process.
• Quality Assurance: Inspection results, including images, videos, and test reports,
generated during quality control procedures to identify any defects or deviations.
• Supply Chain Data: Information about the origin, transportation, and storage con-
ditions of raw materials and components used in smartphone production, ensuring
transparency and traceability.
To perceive these data, a combination of technologies is utilised, including IoT sensors,
machine vision systems, RFID tags, and data-logging mechanisms. These technologies
enable real-time data capture, monitoring, and analysis throughout the production line.
Sensors 2023, 23, 6641 18 of 26
The collected data serves multiple purposes, aimed at improving the overall efficiency,
quality, and trustworthiness of the smartphone production process. Some specific objectives
and benefits include:
• Traceability: By capturing and recording the component information and supply chain
data, the system ensures end-to-end traceability of each smartphone unit, enabling
effective quality control, recall management, and counterfeit prevention.
• Predictive Maintenance: By continuously monitoring machine sensor data, poten-
tial faults and maintenance needs can be detected in advance, allowing proactive
maintenance to prevent unplanned downtime and production delays.
• Process Optimisation: Analysis of production metrics and machine data facilitates
identifying bottlenecks, optimising workflows, and improving overall production
efficiency, resulting in reduced costs and increased output.
• Quality Assurance: The inspection results and associated data help identify defects
early in the process, enabling timely corrective actions, reducing rework, and ensuring
the delivery of high-quality smartphones to end-users.
The data are collected using sensors and IoT devices, and the digital twin is updated
in real time. The data from the digital twin are stored in a distributed file system such
as IPFS, ensuring its immutability and authenticity. The data are then anchored onto a
blockchain network, providing a tamper-proof record of the data’s origin and provenance.
Decentralised applications (DApps) will be built on top of the blockchain to provide
various functionalities such as real-time monitoring, analytics, and reporting. These DApps
can be utilised to monitor the production line, track the progress of each smartphone
throughout the assembly process, and identify any real-time issues or defects.
Smart contracts will be deployed on the blockchain to automate various processes
such as quality control and payments. For example, when a smartphone passes a quality
control check, a smart contract could be used to automatically trigger the payment to the
supplier of the components. Access to the data and the blockchain is managed through
cryptographic keys, ensuring that only authorised parties can access the data and execute
transactions on the blockchain.
By leveraging the benefits of digital twin and blockchain technology, it is possible to
create a more secure, efficient, and transparent production line for smartphones. The system
can help improve quality control, reduce the risk of counterfeit products, and provide
valuable insights for optimising the production line and creating new business models.
6.2. Performance
In this section, we present the comparative performance between the proposed sys-
tem and the existing method. In our prototype implementation, we use the Ethereum
blockchain, the cryptocurrency for this blockchain is ether (ETH), and the fee is calculated
based on the transaction and execution cost (gas amount). The gas amount required de-
pends on the smart contract implementation and the number of transactions needed to
execute the smart contract.
6.2.1. Registration
The smart contract execution for the registration of participants in a blockchain envi-
ronment is displayed in Figure 7 for transaction and execution costs. The transaction cost
decreases by 10,896 gas, and the execution cost increases by 11,720 gas when compared
with the existing method [1].
The proposed system has 59,681 gas for transaction gas cost and 59,681 gas for ex-
ecution gas cost, while the existing method has 70,577 gas for transaction gas cost and
47,961 gas for execution gas cost. The transaction cost of the existing method is higher
than the proposed system, and the execution cost is lower. This is because storing in an
array incurs higher costs, and storing in an array involves storing the length of the element.
Changing the value of storage space from zero to non-zero costs much higher for the first
time in any type of storage [1].
On the other hand, the proposed system uses IPFS for storage, which is a more efficient
and cost-effective solution. IPFS allows for instant transactions without having to wait for
network confirmations, and transactions done off-chain are usually free, resulting in lower
transaction costs. Additionally, IPFS offers greater privacy and security, as data transfers
are not visible in the public blockchain.
By using a more efficient and cost-effective storage solution such as IPFS, the proposed
system is able to achieve lower transaction costs while still maintaining high levels of
security and privacy.
Sensors 2023, 23, 6641 21 of 26
Figure 7. Comparison of experimental results of proposed system and existing system on registra-
tion transaction cost and execution cost.
6.2.2. Deployment
The smart contract execution for the deployment of contracts in the Ethereum blockchain
is displayed in Figures 8 and 9 for the gas transaction and ether costs. The initial deploy-
ment gas transaction used 24,464 for the proposed system with the ether (Eth) cost at 0.00489
and the initial deployment gas of 14,548 with ether cost at 0.14548 for the existing method.
The proposed system made use of an IPFS for storage, while the existing method
made use of Swarm for storage. The use of IPFS for storage in the proposed system offers
several advantages over the existing method that uses Swarm for storage. IPFS is faster and
more efficient, as transactions are recorded instantly without having to wait for network
confirmations, which can result in significant delays. Additionally, transactions completed
on off-chain are usually free, making it a cost-effective solution for data storage.
Another advantage of IPFS is that it offers greater privacy and security, as data transfers
are not visible in the public blockchain. This is particularly important for applications that
involve sensitive or confidential information.
However, it is worth noting that using a Content Identifier (CID v1) rather than a
(CID v0) can result in higher gas consumption. Gas consumption refers to the amount of
computational resources needed to execute a transaction on the blockchain. Therefore, it
is important to carefully consider the trade-offs between the benefits of using IPFS and
the associated gas costs when designing and implementing a blockchain-based digital
twin system.
The use of IPFS for storage in the proposed system offers several advantages over
existing methods, including faster transaction speeds, lower costs, and greater privacy
and security. By carefully managing gas consumption and other performance factors, it is
possible to create a highly effective and efficient system that can benefit a wide range of
industries and applications.
Sensors 2023, 23, 6641 22 of 26
Figure 8. Comparison of experimental results of proposed system and existing system on deployment
transaction cost.
Figure 9. Comparison of experimental results of proposed system and existing system on deployment
ether cost.
This content-addressed system allows for very efficient storage and retrieval of data,
as only the required portions of a file need to be accessed. In addition, IPFS uses a peer-to-
peer network for distribution and storage, which further reduces the costs associated with
storing and accessing data.
The low transaction costs associated with IPFS storage make it an attractive option for
a variety of use-cases, particularly those involving large amounts of data or frequent access
to stored data. However, it is important to note that the actual costs associated with IPFS
transactions can vary depending on a variety of factors, including network congestion, gas
prices, and other external factors.
Size ETH
14 KB 0.007406
252 KB 0.007406
2 MB 0.007408
7. Discussion
This section discusses the results of the evaluation, potential threats on the proposed
system, and the performance evaluation of the proposed system.
7.2. Performance
The evaluation results demonstrate the potential of our proposed system in achieving
low-cost transactions and also in supporting timely data sharing. As [5] indicated, in on-
chain, 50 and 100 transactions/second are supported in the private Ethereum blockchains,
and this means that more than 4 million interactions are possible per day. However, in
off-chain, multiple transactions are shared per second, while Swarm is currently restricted
Sensors 2023, 23, 6641 24 of 26
to one update per second. Data shared in off-chain are secured, no data are lost, and data
can be shared in a timely fashion.
Furthermore, the use of digital twins ensures that the data being shared are accurate
and up-to-date, reducing the risk of errors and improving the efficiency of the system.
Additionally, the use of smart contracts can help to automate various processes, reducing
the need for manual intervention and improving the speed and accuracy of transactions.
The combination of digital twin and blockchain technology also provides a high level
of security, with data being encrypted and stored in a decentralised manner, making it
difficult for unauthorised parties to access or tamper with the data.
The proposed system has the potential to significantly improve the efficiency, trans-
parency, and security of data sharing and transactions, while also reducing costs and
improving the speed of transactions. As the technology continues to evolve and improve,
it is expected that the potential benefits of this system will become even more pronounced,
making it a valuable tool for businesses and organisations in a wide range of industries.
8. Conclusions
This paper has explored the underlying issues hindering information management
in DT. Blockchain-based digital twin sharing is designed to secure the information of the
DT during sharing. The performance evaluation of our proposed system shows that it is
secure and achieves performance improvement when compared with other methods. The
comparison of results with existing methods showed that the proposed system consumed
less gas. During registration, the transaction cost decreases by 10,896 gas, and the execution
cost increases by 11,720 gas when compared with the existing method. During deployment,
the initial deployment gas transaction used 24,464 for the proposed system with the ether
(Eth) cost at 0.00489 and the initial deployment gas 14,548 with an ether cost at 0.14548 for
the existing method.
One of the key advantages of the proposed system is its ability to ensure data confi-
dentiality. By using off-chain storage instead of on-chain storage, the system can securely
store confidential information without the risk of it being accessed by unauthorised parties.
The use of a private network with the Ethereum blockchain and IPFS further enhances data
confidentiality, making the system suitable for use in a wide range of industries and sectors.
In future work, the proposed system can be extended to other areas such as healthcare,
business, transportation, and more. By leveraging the benefits of digital twin technology
and blockchain, it is possible to create more efficient, secure, and transparent systems that
can benefit a wide range of stakeholders.
It is crucial for the system architects and developers to carefully analyse the scalability
requirements, evaluate potential bottlenecks, and design the system accordingly to ensure
it can handle the increasing demands and data volumes associated with a large number of
digital twins.
Overall, the proposed system has the potential to address the challenges of information
management in digital twin technology, providing a secure and efficient way to share and
manage information. As the technology continues to evolve and improve, it is expected
that the potential benefits of this system will become even more pronounced, making it an
increasingly valuable tool for businesses and organisations in a wide range of industries.
The proposed system has the potential to address the challenges of information manage-
ment in digital twin technology, providing a secure and efficient way to share and manage
information. This is particularly significant in the context of Industry 5.0, where the inte-
gration of advanced technologies, such as the Internet of Things (IoT), artificial intelligence
(AI), and automation, are revolutionising the manufacturing and industrial sectors.
Sensors 2023, 23, 6641 25 of 26
Author Contributions: Conceptualization, A.O. and Z.P.; Methodology, A.O. and Z.P.; Validation,
A.O., R.S., S.A. and N.R.; Investigation, A.O. and R.S.; Data curation, A.O.; Writing—original draft,
A.O.; Writing—review & editing, R.S., S.A., Z.P. and N.R.; Project administration, Z.P. All authors
have read and agreed to the published version of the manuscript.
Funding: This research received no external funding.
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Hasan, H.R.; Salah, K.; Jayaraman, R.; Omar, M.; Yaqoob, I.; Pesic, S.; Taylor, T.; Boscovic, D. A blockchain-based approach for the
creation of digital twins. IEEE Access 2020, 8, 34113–34126. [CrossRef]
2. Tao, F.; Cheng, J.; Qi, Q.; Zhang, M.; Zhang, H.; Sui, F. Digital twin-driven product design, manufacturing and service with big
data. Int. J. Adv. Manuf. Technol. 2018, 94, 3563–3576. [CrossRef]
3. Lee, D.; Lee, S.H.; Masoud, N.; Krishnan, M.; Li, V.C. Integrated digital twin and blockchain framework to support accountable
information sharing in construction projects. Autom. Constr. 2021, 127, 103688. [CrossRef]
4. Qi, Q.; Tao, F.; Hu, T.; Anwer, N.; Liu, A.; Wei, Y.; Wang, L.; Nee, A. Enabling technologies and tools for digital twin. J. Manuf.
Syst. 2021, 58, 3–21. [CrossRef]
5. Putz, B.; Dietz, M.; Empl, P.; Pernul, G. Ethertwin: Blockchain-based secure digital twin information management. Inf. Process.
Manag. 2021, 58, 102425. [CrossRef]
6. Tao, F.; Zhang, Y.; Cheng, Y.; Ren, J.; Wang, D.; Qi, Q.; Li, P. Digital twin and blockchain enhanced smart manufacturing service
collaboration and management. J. Manuf. Syst. 2020, 62, 903–914. [CrossRef]
7. Hunhevicz, J.J.; Motie, M.; Hall, D.M. Digital building twins and blockchain for performance-based (smart) contracts. Autom.
Constr. 2022, 133, 103981. [CrossRef]
8. Chen, Q.; Zhu, Z.; Si, S.; Cai, Z. Intelligent maintenance of complex equipment based on blockchain and digital twin technologies.
In Proceedings of the 2020 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM),
Singapore, 14–17 December 2020; pp. 908–912.
9. Huang, S.; Wang, G.; Yan, Y.; Fang, X. Blockchain-based data management for digital twin of product. J. Manuf. Syst. 2020,
54, 361–371. [CrossRef]
10. Guo, D.; Ling, S.; Li, H.; Ao, D.; Zhang, T.; Rong, Y.; Huang, G.Q. A framework for personalized production based on digital
twin, blockchain and additive manufacturing in the context of Industry 4.0. In Proceedings of the 2020 IEEE 16th International
Conference on Automation Science and Engineering (CASE), Hong Kong, China, 20–21 August 2020; pp. 1181–1186.
11. Martínez-Gutiérrez, A.; Díez-González, J.; Ferrero-Guillén, R.; Verde, P.; Álvarez, R.; Perez, H. Digital twin for automatic
transportation in industry 4.0. Sensors 2021, 21, 3344. [CrossRef] [PubMed]
12. González, M.; Salgado, O.; Croes, J.; Pluymers, B.; Desmet, W. A digital twin for operational evaluation of vertical transportation
systems. IEEE Access 2020, 8, 114389–114400. [CrossRef]
13. Li, M.; Li, Z.; Huang, X.; Qu, T. Blockchain-based digital twin sharing platform for reconfigurable socialized manufacturing
resource integration. Int. J. Prod. Econ. 2021, 240, 108223. [CrossRef]
14. Zhang, J.; Li, L.; Lin, G.; Fang, D.; Tai, Y.; Huang, J. Cyber resilience in healthcare digital twin on lung cancer. IEEE Access 2020,
8, 201900–201913. [CrossRef]
15. Elayan, H.; Aloqaily, M.; Guizani, M. Digital twin for intelligent context-aware iot healthcare systems. IEEE Internet Things J.
2021, 8, 16749–16757. [CrossRef]
16. Pylianidis, C.; Osinga, S.; Athanasiadis, I.N. Introducing digital twins to agriculture. Comput. Electron. Agric. 2021, 184, 105942.
[CrossRef]
17. Ghandar, A.; Ahmed, A.; Zulfiqar, S.; Hua, Z.; Hanai, M.; Theodoropoulos, G. A decision support system for urban agriculture
using digital twin: A case study with aquaponics. IEEE Access 2021, 9, 35691–35708. [CrossRef]
18. Pedersen, A.B.; Risius, M.; Beck, R. A ten-step decision path to determine when to use blockchain technologies. MIS Q. Exec.
2019, 18, 99–115. [CrossRef]
19. Suhail, S.; Hussain, R.; Jurdak, R.; Hong, C.S. Trustworthy digital twins in the industrial internet of things with blockchain. IEEE
Internet Comput. 2021, 26, 58–67. [CrossRef]
20. Zhang, C.; Zhou, G.; Li, H.; Cao, Y. Manufacturing blockchain of things for the configuration of a data-and knowledge-driven
digital twin manufacturing cell. IEEE Internet Things J. 2020, 7, 11884–11894. [CrossRef]
21. Shen, W.; Hu, T.; Zhang, C.; Ma, S. Secure sharing of big digital twin data for smart manufacturing based on blockchain. J. Manuf.
Syst. 2021, 61, 338–350. [CrossRef]
22. Fan, C.; Lin, C.; Khazaei, H.; Musilek, P. Performance Analysis of Hyperledger Besu in Private Blockchain. In Proceedings of
the 2022 IEEE International Conference on Decentralized Applications and Infrastructures (DAPPS), Newark, CA, USA, 15–18
August 2022; pp. 64–73.
23. Kumar, R.; Tripathi, R. Implementation of distributed file storage and access framework using IPFS and blockchain. In Proceedings
of the 2019 Fifth International Conference on Image Information Processing (ICIIP), Shimla, India, 15–17 November 2019;
pp. 246–251.
Sensors 2023, 23, 6641 26 of 26
24. Praitheeshan, P.; Pan, L.; Yu, J.; Liu, J.; Doss, R. Security analysis methods on ethereum smart contract vulnerabilities: A survey.
arXiv 2019, arXiv:1908.08605.
25. Oliveira, M.T.; Carrara, G.R.; Fernandes, N.C.; Albuquerque, C.V.; Carrano, R.C.; Medeiros, D.S.; Mattos, D.M. Towards a
performance evaluation of private blockchain frameworks using a realistic workload. In Proceedings of the 2019 22nd Conference
on Innovation in Clouds, Internet and Networks and Workshops (ICIN), Paris, France, 18–21 February 2019; pp. 180–187.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual
author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to
people or property resulting from any ideas, methods, instructions or products referred to in the content.