Next Article in Journal
AdaBoost-Based Back Analysis for Determining Rock Mass Mechanical Parameters of Claystones in Goupitan Tunnel, China
Next Article in Special Issue
Risk Identification, Assessment, and Allocation in PPP Projects: A Systematic Review
Previous Article in Journal
Influence of Intermediate Stiffeners on Axial Capacity of Thin-Walled Built-Up Open and Closed Channel Section Columns
Previous Article in Special Issue
Lean Integrated Project Delivery for Construction Procurement: The Case of Sri Lanka
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Financial Contract Administration in Construction via Cryptocurrency Blockchain and Smart Contract: A Proof of Concept

1
Construction and Building Engineering Department, College of Engineering and Technology, Arab Academy for Science, Technology and Maritime Transport (AASTMT), Heliopolis, Cairo 2033, Egypt
2
Computer Engineering Department, Arab Academy for Science, Technology and Maritime Transportation (AASTMT), Heliopolis, Cairo 2033, Egypt
*
Author to whom correspondence should be addressed.
Buildings 2022, 12(8), 1072; https://doi.org/10.3390/buildings12081072
Submission received: 26 June 2022 / Revised: 17 July 2022 / Accepted: 21 July 2022 / Published: 22 July 2022
(This article belongs to the Special Issue Procurement in Construction Industry)

Abstract

:
The blockchain that uses cryptocurrency is a paradigm shift in the way of data storage, retrieval, and verification due to the concept of decentralization. This paradigm is essential to ensure the security of crucial data in any project. Adding a smart contract to the blockchain would facilitate the automation of various processes. Thus, the cryptocurrency blockchain that uses the smart contract can be considered a suitable platform for an ecosystem of many industries. The construction industry needs a highly secure automated management system due to its complex contractual relationships and transactions between parties. Therefore, integrating the blockchain with the smart contract creates the most appropriate ecosystem to be developed. This study introduces an ecosystemic prototype using a programmable smart contract within a novel cryptocurrency blockchain for construction. The purpose of the prototype is to guarantee a decentralized system as an independent economic environment for the construction industry. The system guarantees the security of financial transactions and focuses on the payment clauses in the construction contract as well. The results depended on three well-known hypothetical case scenarios from the construction site and were displayed in the form of extracted access data tables. The prototype proved the efficiency of the decentralized system for the construction industry by minimizing human-factor interference in the transaction process and thus reducing time waste and cost.

1. Introduction

In 2009, a global financial crisis occurred due to several causes, mainly due to the role played by banks in the centralization system of financial institutes [1]. As a result of this financial crisis, people’s trust in the centralized system was drastically affected. As the main disadvantage of a centralized system is that only one dominant agent is assigned to link others. This assignment is made to organize the transactions between the agents. A centralized system leads to an uncontrollable fee and time process because of the changing rules of transactions by the intuition of the dominant agent [2,3]. In 2008, Satoshi Nakamoto [4] predicted the centralized system crisis and suggested moving into a decentralized system, leading to the creation of Bitcoin [5]. Bitcoin is a cryptocurrency used for financial transactions, managed and handled by a system called a blockchain.

1.1. Blockchain, Smart Contract, and Cryptocurrency Mechanism

The importance of blockchain technology is the security of data for the distributed ledgers among participants, such as transactions inside the decentralized system [6]. The blockchain has a hashing security technique that makes the decentralized system a safe environment for data security [7]. In addition, time-stamping in the hashing system is the linchpin of the security of digital data [6]. Thus, the cryptographic system, a computer system that utilizes cryptography to secure information and communications by operating computer codes, of the blockchain creates a high-security environment for crucial documents. As a result, blockchain has overcome the weaknesses of the centralized system.
The emergence of blockchain in Bitcoin came within the technology of decentralization recording ledger that guarantees security [8]. These records are used for the confirmation of transactions for the financial activities that are stored inside blocks. The block is added to the system by the mining processes, the procedure of adding transactions to the substantial distributed general ledger of existing transactions (i.e., the blockchain) where complex calculations are performed by the users as miners. The mining process is an indication for the confirmation of transactions that represents the users’ witnesses of them. These confirmations are necessary for the contract administration activities, which make the records more resilient and transparent. Subsequently, and due to the block mining, the transaction is recorded inside the block. The organization of the clashes resulting from the crowded transactions is operated by the time-stamping technology [6]. This organization leads to the blocks’ mining for the longest path of the block chaining. The miner creates the block by complex calculations using processors, and once the block is created, the miner will be awarded a cryptocurrency bonus. The bonus motivates the users such as owners and stockholders to use the system and raises the value of the cryptocurrency due to its frequent use. This mining process is also called “proof of work” as the bonus proof of the mining activity [5]. As soon as the block is created and added to the system, this block will be connected to the other blocks by using cryptographic links that rely on a hashing technique. Hashing is a security tool that integrates with the generation of blocks [9,10]. Figure 1a illustrates the hashing technique named SHA-256. The newborn block has its own hashing that is linked with older block hashing. Once any attacker tries to change the data in this block, the hash changes in the manipulated block, and the difference resulting from manipulation in the hash will be detected, as clearly shown in Figure 1b. This hashing linking strategy helps the blockchain obtain security as a consequence of the elimination of the dominant agent’s role.
The cryptocurrency blockchain is a system of the blockchain in which the block contains transactions for digital currency instead of data [11]. Numerous platforms produced cryptocurrencies such as Bitcoin, Ether, Litecoin, etc. Some of these platforms (e.g., Ethereum) were developed to use smart contracts. Blockchain is not only limited to financial transactions but also can be used as a multi-tasking platform. As a result, it can be transformed into a programmable platform that can include a set of programs such as smart contracts. Thus, any program can be coded inside a block that is distributed among the blockchain users. The term of the contract comes from the agreement of all users to run the program simultaneously through the blockchain distribution system. The coded program is immutable to changes by the security system of the blockchain [2,12]. As a result of these properties, blockchain and smart contracts have been used in many complex industries [13], such as medical [14,15], energy [16,17], and insurance [18], as well as construction [19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46].

1.2. Blockchain, Smart Contract, and Cryptocurrency in Construction Industry

In the construction industry, the contractual parties (i.e., owner, consultants, main contractors, subcontractors, and suppliers) and the documents are extremely complex in their types and procedures [19]. In addition, the workflow of the construction industry is changeable and challenging during different construction phases [20]. Thus, the blockchain is a suitable technique that can be used to overcome these challenges. Through blockchain, the parties can be represented as users, and the transactions can be expressed in numerous shapes such as documents, materials, and financial flow. Particularly, the financial transaction is the most important of these transactions, making it a promising research field for cryptocurrency.
Several studies showed the potential for using the blockchain and smart contracts in the construction industry (Table 1). J. Mason [21] used blockchain and smart contracts in Building Information Modeling (BIM) to represent document modeling at different levels of complexity and coordination of clashes. Some of these clashes were a result of management issues arising from several questions, for example: Who owned the model? How to modify the model in the construction industry? and so on. J. H. Yoon and P. Pishdad-Bozorgi [22] concluded that blockchain and smart contracts were most commonly used in construction supply chain management. Z. Wang et al. [23] developed a framework to cover the poor traceability and real-time information leakage in the precast concrete supply chain. A. Tezel et al. [24] developed an empirical discussion model by Ethereum that dealt with: project bank accounts, reverse auction-based tendering for bidders and asset tokenization for project financing. The validation for this model was tested and ensured by the feedback of three workshop groups but not applied to real-life implementation. Amer A. Hijazi et al. [25] integrated BIM and supply chain management to support reliable digital deliverables and to transfer values in construction supply chain applications. Furthermore, smart contracts and blockchain were used to generate a structured framework for the financial transactions in the construction industry. F. Elghaish et al. [26] developed a financial model using the Hyperledger network (IBM® Blockchain Cloud Beta 2). Then, M. Das et al. [27] improved this model by covering cost reimbursements, profits, and cost savings through integrated project delivery (IPD) for the architecture, engineering, and construction (AEC) industry. In addition, M. Das et al. [27] used the Ethereum platform for smart contracts, which used the contract’s terms and conditions related to the interim payment in construction. Although smart contracts and blockchain were employed in several fields in the construction industry, limited studies employed them in construction contract management and administration [28]. Charles Shen and Feniosky Pena-Mora [29] discussed the ability to use smart contracts and blockchain not only in cryptocurrency but also in everything such as contract management in governmental agenda for decision-making. Furthermore, Srinath Perera et al. [30] proposed their utilization in the framework of contract administration for the payment according to time, cost, and quality related to the construction supply chain. As shown in Table 1, several studies presented potential frameworks compared to fewer studies that presented actual applications, which makes room for improvement and development.
Figure 2 shows the summary of publications retrieved from the Scopus database related to the blockchain and smart contracts in the construction industry throughout the previous four years. According to Figure 2, the trend in blockchain and smart contracts is rocketing up. Thus, blockchain and smart contracts are highly predicted to be a viral research discipline in the construction industry in the coming years.

1.3. Research Problem

One of the crucial processes in construction projects is contract administration. On account of that, the way the administration works may lead to huge cost overruns and time waste. In practice, the contract is often created by the owner’s contract engineer, and this provides an advantage for the owner to be a centralized agent. After agreement sealing, the contract will be administrated by the contract engineer of the owner and the contractor. Although the contract in this situation is created to meet a win–win situation, the human factor in the administration will exploit and cause defects in the contract conditions due to manipulations. This manipulation will convert the situation into a win–lose situation or even a lose–lose situation [47]. Thus, the effectiveness of the contract administration is much observed in the financial transactions, and consequently, the inaccurate administration of the financial processes leads to cost and time loss. In addition, poor administration can delay the invoices in the review process and payment because of the individual contract party’s administration and centralizing of the system to the owner’s contract administrator. This causes the need for a fourth trusted party for contract administration and to eliminate the human manipulation factor in contracts’ manipulations as well.

1.4. Research Aim and Objective

This research aims to create a resilient, transparent, synchronized, and traceable platform to minimize the human manipulation factor in construction contract administration. In addition, the developed prototype can be a promising decentralized research platform for future research works. The objective of this study is to introduce a prototype that uses a blockchain system for recording financial transactions in the construction industry. Thus, the smart contract inside the blockchain will take control of the contract’s conditions, terms, and administration. The prototype plays the role of the third trusted party for the contractual parties to deal with financial transactions. Consequently, this prototype’s target is to minimize manipulations that can be done by a human factor in contract administration for financial transactions. The expected benefit of the prototype is to reduce the losses in time and cost during the contract administration. The system covers the submission of the site’s works according to agreed milestones, and the financial transaction shall be held by a novel proposed cryptocurrency, “Unicoin”, for the construction industry. The aim of this proposed cryptocurrency for the construction industry is to get rid of the centralization of any currency [2] and allow the study of the effectiveness of a crypto-economic system in construction individually in the future. This study is a part of a long-term vision, which is to create an integrated ecosystem using blockchain specially developed for the construction industry. This vision, as shown in Figure 3, aims to connect the construction parties through the smart contract application with the integration of the Internet of Things (IoT). However, the application is not only limited to the construction site process but also for construction modeling such as documents, BIM, supply chain …etc. The following sections explain the prototype features, developing tools, the implementation of the case study, and performance calculations. These sections will help observe and realize the performance and the properties of the prototype.

2. Methodology

Figure 4 shows the research methodology’s procedures. First, a prototype was created using a Python programming language for the back end, while the front end was created by Visual Studio C# and Postman interface application. Then, a case study of three scenarios was used to showcase the prototype’s capabilities and validate it. After that, the prototype’s performance was evaluated by two main criteria: the storage size and the latency time. Finally, the outcomes of the research were discussed.

2.1. Model Features

The prototype developed in this research uses the blockchain and smart contracts technologies and aims to record the financial transactions inside the construction contract conditions. Figure 5 illustrates the prototype’s overall workflow, where the user connects to his own server and links with other nodes by using the Postman application interface. Then, the user runs the blockchain prototype and chooses sign-in authorization. After that, the smart contract will be run by all users inside the blockchain.
Figure 6 explains the category of work that the porotype can handle. After the users sign into the system by their roles (e.g., owner, contractor, or consultant), they can sign the contract. Algorithm A1 (Appendix A) shows the pseudocode for the blockchain functionality to mine the block and the transaction procedures for any user. In addition, a fourth party has been added to the system as an “admin”. This admin has complete control and surveillance over the transactions, inputs, and outputs, as shown in Algorithm A2 (Appendix A). Several contract types and delivery systems can be embedded into the prototype, but in this study in specific, the lump-sum contract and design–bid–build delivery system were adopted to showcase the model’s abilities. In this type of contract, the contractual party agrees on the work milestones. These milestones are indicated with submission time for work packages valued and inserted into the smart contract by the contractor according to the project schedule. The submission system of milestones has various standards upon the contract conditions. These standards limit the conflicts among parties. The most common contract conditions are within the International Federation of Consulting Engineers (FIDIC) Silver Book guidelines [48]. Its procedures are similar to those explained in this section and are adopted in this study. Other modifications in conditions can also be included by users. Once the contractor submits the work by changing the milestone status, the consultant can start the revision and approval processes for the milestone. Consequently, the consultant’s approval processes start, and in case of approval, the owner can perform the cryptocurrency financial transaction and also deduces the 10% retention from each transaction. Algorithm A3 (Appendix A) shows the previous procedures of the consultant’s approval processes in the code. All retentions will be refunded to the contractor after the owner takes over the project, as shown in Algorithm A4 (Appendix A) of the owner’s part of the code. Contrastingly, if there is disapproval, the contractor has two options: The first is to rework the site works and resubmit the milestone to get the consultant’s approval. The second is to make a claim objection to the consultant’s disapproval. Meanwhile, the admin monitors and controls the parties’ processes. These monitoring and controlling processes are done by signing the users into the system, the reports extracted from the transactions, and the blockchain display.

2.2. Model Development and Testing

2.2.1. System Design

As shown in Figure 7, the schema illustrates the system’s workflow and design. The URL connection link is mentioned within the code. After the code runs, the node connection to the server starts by using the Postman interface. Then the user signs into the server system, where signing in requires a username and a password. The user portal contains the user’s information such as Unicoin credit, ID, and company name. The types of users that the system is designed for are the owner, the consultants, the contractor, and the admin. Each type of user has authority for a group of actions. Firstly, the owner inserts a project into the system. The project is identified by two inputs: the project name and address. Consequently, the system will create a unique ID for the project. The project insertion is available to the consultant in case the consultant inserts the project in place of the owner. The project creation is limitless for each owner, so there could be more than one project in the system owned by one owner. In addition, the contract creation inside the project is limited to the owner’s and consultant’s authority, where the contract creation requires five inputs: the project’s name, the contract type, the contract start date, the contract price in Unicoin, and the amount or percentage of retention. A limitless number of contracts can be created because each project can include numerous types of contracts. The contractor’s authority is only limited to activities creation in which the activities represent the milestones. Each contract can contain an endless number of activities. The activity creation requires six inputs: activity’s name, project’s name, activity’s price from the contract price, activity’s start and finish dates, status, and approval.
The admin has the authority to allow the sign-up of other users. The signing-up requires a username, a password, and an e-mail address. Each user has an interactive activity with the others. Once the contractor finishes the site works that are related to the milestone, he can submit the milestone to the consultant. Thus, the contractor submission is carried out by changing the activity status to “done” or “not done”. Then, the consultant has two options: to “approve” the contractor’s submission or to “not approve”. If the consultant approves of the milestone, the owner can perform the transaction and apply the retention in the payment. On the other hand, if the consultant disapproves of the milestone, the contractor should resubmit the milestone after the site work improvement. As soon as the consultant approves the resubmission, the owner can make the payment. However, the contractor can claim the consultant’s disapproval if the disapproval causes time loss and cost incurring where this claim is identified by the contract’s name and the insertion of the comments.
Generally, and blockchain-wise, the overseer of this whole process is the admin. The admin can display the blockchain of all actions throughout the whole project inside the system. The chain contains the index, which is the number of blocks, and a proof-of-work model, which is the complex mechanism of confirmation of mining and recording cryptocurrency transactions through Hashing. Each block has its own hash and the previous block’s hash as well to apply the blockchain’s concept. In addition, time-stamping is used inside the blocks to organize the spent time of each process inside the system. Notification of users’ actions is sent to each user. The admin can show all the notifications for the system’s users. The notifications are beneficial for integrating the prototype with mobile applications, IoT system devices, and equipment on the construction site.

2.2.2. Model Creation Tool

Two programming languages were used to develop the prototype. Python Spyder 3.7.9 was used to create the prototype’s code and Visual studio C# to develop the prototype’s graphical user interface (GUI). Firstly, each user signs into the system using an individual URL link to connect the user nodes to the server. The user then employs the Postman interface application to connect the node to the system. Secondly, the prototype uses the blockchain accommodating the construction contract condition as a chain code to create a smart contract. Hence, the blockchain records each action of the transactions and smart contracts inside the blocks. The financial transaction uses a novel cryptocurrency for contracting called Unicoin. The Unicoin’s exchange value was calculated as an average of the values of the two most common cryptocurrencies, Bitcoin and Ether. Lastly, the data can be extracted as a database format using Microsoft access. The prototype was designed to deal with lump sum contract types in specific. A case study of three scenarios was used to test the prototype, and the results were interpreted and displayed in the form of database tables extracted from the model in the following sections.

3. Case Study and Results

As an implementation for the developed model, the prototype was applied to three different scenarios of a villa construction project for 5-month project duration. A summary of the project information is presented in Appendix A (Table A1). The users signed in to the system according to their roles (i.e., owner, contractor, and consultant). The owner created a project inside the blockchain and entered the project’s information. Then, the consultant inserted the contract’s conditions as a smart contract inside the project. After that, the contractor created five milestones for the project for each month inside the contract, as shown in Table 2. The contractor created the value of the milestone according to the progress value of each milestone. The case study was applied in Egypt and thus used the Egyptian Pound (EGP). The exchange rate at the time of the study was EGP 981,307 to one Bitcoin and EGP 38,117 to one Ether; thus, the Unicoin was considered the average of both exchange rates (EGP 509,712). Table 3 shows the value of each monthly milestone and the payment value after the retention deduction by 10% according to the FIDIC silver book. The retention was deducted from each payment, and then the retentions of the whole project were returned after the project hand-over by the owner.
Three scenarios of the case study are illustrated in Figure 8. The first is the normal “business-as-usual” scenario where the contactor had submitted the work on time. Afterward, the consultant approved the whole submission, which allowed the owner to make payments of all the milestones smoothly. Figure 9 shows a sample of the prototype’s interface for the submission, approval, and payment of the first milestone. The time-stamping in this study is the time for running the three scenarios. The procedures of the three scenarios and the milestone payment are shown in Table 4.
The second scenario is similar to the first scenario till the last submission. In the last submission, the contractor had submitted the milestone. However, the consultant rejected the submission, and therefore, its status became “not approved” until the contractor met the submission requirements. Then, the contractor would resubmit the work and would take the approval of the consultant. Lastly, the owner would make the last payment. The model would then calculate the retention similarly to the first scenario.
The third scenario is the same as the second scenario, but the contractor had an objection to the disapproval because it had incurred the contractor’s cost and had caused a work delay. A third party had caused this work disapproval. Consequently, the contractor would submit a claim about the disapproval and would wait for a reply. At this point and after the claim’s submission, the consultant and the owner will make a decision. If the decision is to accept the claim, the contractor will receive the payment of the fifth milestone. In case of the claim is rejected, the owner will not make the payment to the contractor, and will transfer the claim into any dispute resolution methods (e.g., arbitration, adjudication, or litigation). Figure 10 shows a sample of the block used for approving the first milestone for the case study in the blockchain.

4. Performance Evaluation

The system performance was evaluated in terms of transfer latency and storage size, which can effectively reflect the computing capability needed to be deployed for endorsing and maintaining the prototype [49].

4.1. Storage Size

The developed prototype contains a number of transactions, and their average storage size is shown in Table 5. As each transaction is presented in a block, the data size in each block is 3261 bytes. Figure 11 shows the structure of the Merkle tree, where each node has a 32-byte fixed length of hash strings, and the total size of the tree is 608 bytes. Thus, the total size of the block is 3980 bytes; 1000 transactions would then be stored in 100 blocks in case there is 10 transaction per block. For instance, if 10 blocks are generated in a day, the storage size shall be approximately 29.9 KB (details are shown in Table 6), which is considered in the acceptable range.

4.2. Latency Performance Test

The round-trip time latency was used as a performance metric to evaluate the latency performance. Here, the round-trip time refers to the time taken by a user to send a transaction request to the blockchain till confirmation from the blockchain network. Figure 12 shows the results of the latency performance in a 10-round test. It can be observed that the latency time was 27.36 ms for the query and 19.37 ms for the upload on average, which is considered within the acceptable range and trivial for the users’ experience.

5. Discussion

There are various outcomes from this research as a result of developing the prototype for contract administration in financial activities that uses the blockchain cryptocurrency paradigm in different scenarios of construction site work submission. One of the crucial outcomes is the automation of the contract administration procedures and the minimization of the human manipulation factor involved in financial activities. These outcomes were achieved by assigning the smart contract as a trusted party in the contract administration. A. Savelyev [50] argued that the smart contract in the blockchain is not clear for the party’s obligations due to the changes according to force majeure. However, in this proposed prototype, the smart contract can refer to standards and contract conditions such as those of FIDIC that were used in this study, thus making the terms of obligation for each part obvious since the smart contract administrates the contract. A. P. Gurgun and K. Koc [51] mentioned the advantages of the smart contract, which is the automation of processing. However, they also stated a key disadvantage which is the difficulty of using it in cases of disputes between parties and changes in the contractual terms. The proposed prototype attempted to overcome this disadvantage by providing the flexibility to make claims in case of disputes which converts the prototype into a tool for studies in case of the disputes’ resolution. In the case of the parties’ agreement for changes in contractual terms, the admin’s role will take place. The parties can send the customized terms that need to be added or to be changed, and the admin converts them into codes inside the prototype. These additions shall be one of the saved standards inside the system in case of future work, and they can be linked to deeper learning tools for future studies. In other words, this study has introduced a prototype for studying the effectiveness of the blockchain and smart contracts within the construction industry, negating the hypotheses of some previous research that stated the obstacles and disadvantages of utilizing smart contracts in this field.
The prototype can effectively minimize time waste and costs in the construction project due to the usage of a fully automized system. The time and cost-saving occur due to the elimination of the centralization system, such as a bank or an accounting firm that approves the transaction. This elimination saves the cost and fees demanded by the central party and reduces the time of the approval as well. In addition, the replacement of documents and accounts that need to be checked with digitally recorded documents shall take much less time since they are all on one platform available to different parties. Moreover, blockchain has real-time transparency transactions, as mentioned by T. Ko et al. [52], where the users in the blockchain witness the transaction, and the miners create the block to record the transaction inside it. As a result, this saves the transaction time, while the cost is saved by erasing the centralized party’s fee. The performance of the prototype less latency by 50% than other existed platforms [46] according to the specialized scale of the prototype in the activities. Thus, blockchain plays a party that does not have to overpower the user by adding time and cost constraints leading to cost and time reduction.
Alluding to the cost of the project, a novel cryptocurrency has been suggested. This cryptocurrency symbolizes decentralization from any financial institution and any centralization of another cryptocurrency. Meanwhile, other studies have mentioned the barriers to using cryptocurrency in construction projects [53]. The prototype will allow the application of cryptocurrencies such as those mentioned by Abbas Yazdinejad et al. [54], Tomé Almeida, and Rui Ferreira [55]. The prototype can also be used as a research platform to study the effect of this cryptocurrency and reconsider minimizing these barriers where the possibility of the adoption of blockchain and cryptocurrency in the construction industry can be studied. In addition, the future vision that can be analyzed is the availability to transfer from and to other currency types. Most importantly, this study will be the basic tool for assessing the blockchain technology adoption level within the construction industry.
There are limitations detected in the performance of private blockchains, such as Ethereum, that is against consortium blockchain, such as Hyperledger Fabric [56,57,58]. Pongnumkul et al. [56] concluded that the Hyperledger Fabric outperforms in three different metric performance parameters: time, latency, and throughput. Panwar and Bhatnagar [57] calculated the performance of changing amount of transactions and deduced that Hyperledger Fabric is less in latency and more in throughput than Ethereum. Monrat et al. [58] analyzed the latency performance and found out that the Hyperledger Fabric is better than Ethereum. In the essence of the higher efficiency of Hyperledger, the powerful smart contract engine and the resource development availability make Ethereum a good alternative for private and consortium blockchain for high performance. The proposed prototype seeks to be the base platform for development while looking forward to higher future efficiency and a powerful engine to combine the advantages of both Ethereum and Hyperledger Fabric in performance.
This study introduced a prototype with full data mining elements. The first of these elements is the source of data, where users can log in to the system (module) using the world wide web (WWW). The second element is the database, where the data are distributed and synchronized among the users inside a database which, in this study, was saved by Microsoft Access attached to the module. The mining engine, the third element, was fulfilled by the confirmation of the contractual parties. This confirmation occurred by linking the user (miners) with the modules of the prototype. Finally, the evaluation of the data was carried out by measuring the latency time and the block size of data generated inside the block. The mined data can also be evaluated by attaching the system to spreadsheets for the analyzing.
One of the limitations in the construction industry is poor synchronization due to the sudden changes in the occasional project’s behavior [59]. The system is creating an environment of synchronization, traceability, and transparency to get more resilient base actions in the construction. Blockchain allows sharing the data and alarms for any changes in a facilitated way for the construction industry’s stockholders.

6. Conclusions

Blockchain and smart contracts can be used in complex industry procedures such as construction projects. These tools are paradigm shifts in automatizing the construction project’s processes in different sectors such as supply chain, site inspection, and project financial payment. Through this study’s analyses of the smart contract blockchain cryptocurrency approach, the prototype was shown to be effective and convenient according to the implementation results and observations. The prototype’s concept has met the conditions to reduce the contract administrator’s dominance by replacing the centralized system and human manipulation factor in the contract with a decentralized automated system. The prototype can be a promising tool for creating a decentralized, resilient, traceable, transparent, and synchronized platform for the construction industry of other contractual procedures. The long-term vision of the platform can integrate the submission site quality work by using IoT with the contract administration system. This future vision aims to transfer the construction industry from human administration to automation of the procedures by using an independent decentralized system.
This study fulfills a part of the future vision at the financial scale. The required developments to meet the project’s financial requirements are to study the effect of the system economical-wise and to obtain more varieties of the components of projects’ transactions through the prototype. One of the examples of these varieties is the type of contracts: to make them cost-based contracts and not only price-based. The delivery system can be enhanced and upgraded to include more classes such as management contracting and integrated management systems. In addition, to make the transactions more comprehensive in the future, they can include different types of activities such as documents and resources (e.g., money, equipment, and manpower). The future vision of the developed prototype is not only applied on the project scale but also on the portfolio scale to integrate the transactions within different projects.
Moreover, another scope for the future vision of the prototype that the researchers can adopt is converting the prototype into an integrated platform. This platform will use the identical prototype blockchain in this research to connect every single party and activity in the construction industry. Developing such a platform requires the usage of drones, sensors, and virtual reality (VR) technologies in the construction and supply chain. These devices will be used for the application, approval, and material delivery in the construction site work using deep learning technology [60,61,62], a machine-based learning technique that replicates human actions [63]. The connection between the device and the blockchain platform will occur using IoT technology [64]. In addition, the platform will allow converting any currency into the platform’s cryptocurrency to generate a novel economic system in the construction industry. In brief, the future vision of the prototype in this research is to automate the construction industry and control it from any place around the world with a high potential for economic development.
In conclusion, the developed prototype had achieved the study objective of providing a resilient, trusted, transparent, and decentralized system for construction financial contract administration. The evaluation of latency performance is efficient in specific construction contract administration activities. On the other hand, the storage size of the block is light and makes the performance more efficient with the ability to improve the size in the future. The prototype is flexible to help in the development of other add-ins applications for the future IoT system (such as sensors, drones, and tracking cameras) and be integrated with different activities. In addition, the prototype has a promising future to overcome other platforms in performance. The system of the prototype provides financial freedom by using a decentralized economic system by releasing the centralization of financial institutions such as banks. Consequently, the prototype provides a decentralized ecosystem to minimize human error, provide resilience in case of lessons learned, and be an environment for future researchers to study the effect and the improvement’s possibilities.

Author Contributions

All authors contributed to the study’s conception and design. Material preparation, data collection methodology, and analysis were performed by R.I. and A.A.H. Supervision of the study was by M.S.N. and A.E. The first draft of the manuscript was written by R.I., and all authors commented on previous versions of the manuscript. The final version of the manuscript was revised by M.S.N. and R.I. All authors have read and agreed to the published version of the manuscript.

Funding

The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.

Institutional Review Board Statement

The manuscript has not been submitted to more than one journal for simultaneous consideration. No data, text, or theories by others are presented in our manuscript.

Informed Consent Statement

The authors do not have any person’s data in any form involved in this research. The authors affirm that no human research participants or subjects were involved in this research in any form.

Data Availability Statement

The prototype developed in this study is available online for free at https://doi.org/10.5281/zenodo.6518974 (accessed on 25 June 2022).

Conflicts of Interest

The authors have no relevant financial or non-financial interest to disclose.

Appendix A

Algorithm A1: Blockchain
 Let P be the project;
 Let C be the contract;
 Let a be the activity;
 Let NT be the notification;
 Let CL be the claim;
If input (P or C or a or CL), then
 Start mining:
ProofProofWork(prevProof);
Sha256_hashFunction (TimeStamp, PreviousHash, Proof, transactions, description)
Block.add_transaction(node_address, receiver, amount)
Block.create(proof, PreviousHash, input (p or c or a or CL));
Send (NT);
End if
Algorithm A2: Admin Consultant
 Let A be the user admin;
 Let P be the project;
 Let m be the number of projects;
 Let a be the activity of the project;
 Let n be the number of activities;
 Let C be the contract;
m ← 1;
Repeat
Pm.create(P.name, P.address, P.owner)
Execute Algorithm A1 to mine the block;
C.create(C.name, C.amount, C.date, C.Type, C.parties, C.penalty, C.status)
Execute Algorithm A1 to mine the block;
  For all a in n do
an . create(a.name, a.project, a.price, a.duration, a.startDate, a.finishDate, a.status, a.approved, a.delays)
Execute Algorithm A1 to mine the block;
  End for
  Iteration = iteration + 1;
until m> maxprojects;
Algorithm A3: Consultant
 Let C be the contract;
 Get a notification from the contractor about activity completion;
If C.activity = done, then
  set activity = approved;
  Execute Algorithm A1 to mine the block;
endif
Algorithm A4: Owner
 Get a notification about approved activity;
 Let C be the contract;
 Let a be the activity;
 Let R be the retention;
If a.approved = approved,  then
  PayActivityAmount();
  Execute Algorithm A1 mine the block;
endif
If C.Status = done,  then
  ContractorCredit = C.amount*R;
  Execute Algorithm A1 to mine the block;
endif
Table A1. The case study data collection.
Table A1. The case study data collection.
Project Data Collection
Project typeVilla
LocationCairo, Egypt
Number of floors2
Project categoryResidential
Scope of workConcrete, electrical, plumbing and finishing works
Contract typeLump Sum (FIDIC-Silver Book)
Delivery systemDesign-Bid-Build
Project start date14 April 2021
Project duration5-month
Monthly milestones number5
CryptocurrencyUnicoin
Contract price (EGP)17,870,320.07
Contract price (Unicoin)38

References

  1. Erkens, D.H.; Hung, M.; Matos, P. Corporate Governance in the 2007–2008 Financial Crisis: Evidence from Financial Institutions Worldwide. J. Corp. Fin. 2012, 18, 389–411. [Google Scholar] [CrossRef]
  2. Golosova, J.; Romanovs, A. The Advantages and Disadvantages of the Blockchain Technology. In Proceedings of the 2018 IEEE 6th Workshop on Advances in Information, Electronic and Electrical Engineering (AIEEE), Vilnius, Lithuania, 8–10 November 2018; pp. 1–6. [Google Scholar]
  3. Besley, T.; Coate, S. Centralized versus Decentralized Provision of Local Public Goods: A Political Economy Approach. J. Pub. Econ. 2003, 27, 2611–2637. [Google Scholar] [CrossRef]
  4. Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. 2009. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 25 June 2022).
  5. Wattenhofer, R. The Science of the Blockchain, 1st ed.; Inverted Forest Publishing, 2016; ISBN 978-1-5227-5183-0. [Google Scholar]
  6. Bayer, D.; Haber, S.; Stornetta, W.S. Improving the Efficiency and Reliability of Digital Time-Stamping. In Sequences II; Capocelli, R., De Santis, A., Vaccaro, U., Eds.; Springer New York: New York, NY, USA, 1993; pp. 329–334. ISBN 978-1-4613-9325-2. [Google Scholar]
  7. Christidis, K.; Devetsikiotis, M. Blockchains and Smart Contracts for the Internet of Things; IEEE: Manhattan, NY, USA, 2016; Volume 4, p. 12. [Google Scholar]
  8. Crosby, M. BlockChain Technology: Beyond Bitcoin. 2016. Available online: http://scet.berkeley.edu/wp-content/uploads/AIR-2016-Blockchain.pdf (accessed on 25 June 2022).
  9. Nofer, M.; Gomber, P.; Hinz, O.; Sciereck, D. Blockchain. Bus. Inf. Syst. Eng. 2017, 59, 183–187. [Google Scholar] [CrossRef]
  10. Martino, R.; Cilardo, A. Designing a SHA-256 Processor for Blockchain-Based IoT Applications. Internet Things 2020, 11, 100254. [Google Scholar] [CrossRef]
  11. Valdeolmillos, D.; Mezquita, Y.; González-Briones, A.; Prieto, J.; Corchado, J.M. Blockchain Technology: A Review of the Current Challenges of Cryptocurrency. In Proceedings of the Blockchain and Applications, L’Aquila, Italy, 17–19 June 2020; Prieto, J., Das, A.K., Ferretti, S., Pinto, A., Corchado, J.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 153–160. [Google Scholar]
  12. Sayeed, S.; Marco-Gisbert, H.; Caira, T. Smart Contract: Attacks and Protections. IEEE Access 2020, 8, 24416–24427. [Google Scholar] [CrossRef]
  13. Al-Jaroodi, J.; Mohamed, N. Blockchain in Industries: A Survey. IEEE Access 2019, 7, 36500–36515. [Google Scholar] [CrossRef]
  14. Mettler, M. Blockchain Technology in Healthcare: The Revolution Starts Here. In Proceedings of the 2016 IEEE 18th International Conference on e-Health Networking, Applications and Services (Healthcom), Munich, Germany, 14–17 September 2016; pp. 1–3. [Google Scholar]
  15. Azaria, A.; Ekblaw, A.; Vieira, T.; Lippman, A. MedRec: Using Blockchain for Medical Data Access and Per-mission Management. In Proceedings of the 2016 2nd International Conference on Open and Big Data (OBD), Vienna, Austria, 22–24 August 2016; pp. 25–30. [Google Scholar]
  16. Andoni, M.; Robu, V.; Flynn, D.; Abram, S.; Geach, D.; Jenkins, D.; McCallum, P.; Peacock, A. Blockchain Technology in the Energy Sector: A Systematic Review of Challenges and Opportunities. Renew. Sustain. Energy Rev. 2019, 100, 143–174. [Google Scholar] [CrossRef]
  17. Wang, X.; Yang, W.; Noor, S.; Chen, C.; Guo, M.; van Dam, K.H. Blockchain-Based Smart Contract for Energy Demand Management. Energy Proc. 2019, 158, 2719–2724. [Google Scholar] [CrossRef]
  18. Gatteschi, V.; Lamberti, F.; Demartini, C.; Pranteda, C.; Santamaría, V. Blockchain and Smart Contracts for Insurance: Is the Technology Mature Enough? Future Internet 2018, 10, 20. [Google Scholar] [CrossRef] [Green Version]
  19. Wang, W.; Chen, Y.; Zhang, S.; Wang, Y. Contractual Complexity in Construction Projects: Conceptualization, Operationalization, and Validation. Project Manag. J. 2018, 49, 46–61. [Google Scholar] [CrossRef]
  20. Klinger, M.; Susong, M. The Construction Project: Phases, People, Terms, Paperwork, Processes; American Bar Association: Saratoga Springs, NY, USA, 2006; ISBN 978-1-59031-757-0. [Google Scholar]
  21. Mason, J. Intelligent Contracts and the Construction Industry. J. Leg. Aff. Dispute Resolut. Eng. Constr. 2017, 9, 04517012. [Google Scholar] [CrossRef] [Green Version]
  22. Yoon, J.H.; Pishdad-Bozorgi, P. State-of-the-Art Review of Blockchain-Enabled Construction Supply Chain. J. Constr. Eng. Manag. 2022, 148, 03121008. [Google Scholar] [CrossRef]
  23. Wang, Z.; Wang, T.; Hu, H.; Gong, J.; Ren, X.; Xiao, Q. Blockchain-Based Framework for Improving Supply Chain Traceability and Information Sharing in Precast Construction. Automat. Constr. 2020, 111, 103063. [Google Scholar] [CrossRef]
  24. Tezel, A.; Febrero, P.; Papadonikolaki, E.; Yitmen, I. Insights into Blockchain Implementation in Construction: Models for Supply Chain Management. J. Manag. Eng. 2021, 37, 04021038. [Google Scholar] [CrossRef]
  25. Hijazi, A.A.; Perera, S.; Calheiros, R.N.; Alashwal, A. Rationale for the Integration of BIM and Blockchain for the Construction Supply Chain Data Delivery: A Systematic Literature Review and Validation through Focus Group. J. Constr. Eng. Manag. 2021, 147, 03121005. [Google Scholar] [CrossRef]
  26. Elghaish, F.; Abrishami, S.; Hosseini, M.R. Integrated Project Delivery with Blockchain: An Automated Financial System. Automat. Constr. 2020, 114, 103182. [Google Scholar] [CrossRef]
  27. Das, M.; Luo, H.; Cheng, J.C.P. Securing Interim Payments in Construction Projects through a Blockchain-Based Framework. Automat. Constr. 2020, 118, 103284. [Google Scholar] [CrossRef]
  28. Kiu, M.S.; Chia, F.C.; Wong, P.F. Exploring the Potentials of Blockchain Application in Construction Industry: A Systematic Review. Int. J. Constr. Manag. 2020, 1–10. [Google Scholar] [CrossRef]
  29. Shen, C.; Pena-Mora, F. Blockchain for Cities—A Systematic Literature Review. IEEE Access 2018, 6, 76787–76819. [Google Scholar] [CrossRef]
  30. Perera, S.; Nanayakkara, S.; Rodrigo, M.N.N.; Senaratne, S.; Weinand, R. Blockchain Technology: Is It Hype or Real in the Construction Industry? J. Ind. Inform. Integr. 2020, 17, 100125. [Google Scholar] [CrossRef]
  31. Yang, R.; Wakefield, R.; Lyu, S.; Jayasuriya, S.; Han, F.; Yi, X.; Yang, X.; Amarasinghe, G.; Chen, S. Public and Private Blockchain in Construction Business Process and Information Integration. Automat. Constr. 2020, 118, 103276. [Google Scholar] [CrossRef]
  32. Chong, H.-Y.; Diamantopoulos, A. Integrating Advanced Technologies to Uphold Security of Payment: Data Flow Diagram. Automat. Constr. 2020, 114, 103158. [Google Scholar] [CrossRef]
  33. Luo, H.; Das, M.; Wang, J.; Cheng, J.C.P. Construction Payment Automation through Smart Contract-Based Blockchain Framework. In Proceedings of the 36th International Symposium on Automation and Robotics in Construction, Banff, AB, Canada, 24 May 2019. [Google Scholar]
  34. Ye, X.; König, M. Framework for Automated Billing in the Construction Industry Using BIM and Smart Contracts. In Proceedings of the 18th International Conference on Computing in Civil and Building Engineering, São Paulo, Brazil, 18–20 August 2020; Toledo Santos, E., Scheer, S., Eds.; Springer International Publishing: Cham, Switzerland, 2021; pp. 824–838. [Google Scholar]
  35. Das, M.; Tao, X.; Cheng, J.C.P. BIM Security: A Critical Review and Recommendations Using Encryption Strategy and Blockchain. Automat. Constr. 2021, 126, 103682. [Google Scholar] [CrossRef]
  36. Sheng, D.; Ding, L.; Zhong, B.; Love, P.E.D.; Luo, H.; Chen, J. Construction Quality Information Management with Blockchains. Automat. Constr. 2020, 120, 103373. [Google Scholar] [CrossRef]
  37. Rodrigo, M.; Perera, S.; Senaratne, S.; Jin, X. Potential Application of Blockchain Technology for Embodied Carbon Estimating in Construction Supply Chains. Buildings 2020, 10, 140. [Google Scholar] [CrossRef]
  38. Shojaei, A.; Flood, I.; Moud, H.I.; Hatami, M.; Zhang, X. An Implementation of Smart Contracts by Integrating BIM and Blockchain. In Proceedings of the Future Technologies Conference (FTC), San Francisco, CA, USA, 24–25 October 2019; Arai, K., Bhatia, R., Kapoor, S., Eds.; Springer International Publishing: Cham, Switezerland, 2020; pp. 519–527. [Google Scholar]
  39. Wu, H.; Zhong, B.; Li, H.; Guo, J.; Wang, Y. On-Site Construction Quality Inspection Using Blockchain and Smart Contracts. J. Manag. Eng. 2021, 37, 04021065. [Google Scholar] [CrossRef]
  40. Erol, I.; Ar, I.M.; Peker, I. Scrutinizing Blockchain Applicability in Sustainable Supply Chains through an Integrated Fuzzy Multi-Criteria Decision Making Framework. Appl. Soft Comput. 2022, 116, 108331. [Google Scholar] [CrossRef]
  41. Lu, W.; Li, X.; Xue, F.; Zhao, R.; Wu, L.; Yeh, A.G.O. Exploring Smart Construction Objects as Blockchain Oracles in Construction Supply Chain Management. Automat. Constr. 2021, 129, 103816. [Google Scholar] [CrossRef]
  42. Xiong, F.; Xiao, R.; Ren, W.; Zheng, R.; Jiang, J. A Key Protection Scheme Based on Secret Sharing for Blockchain-Based Construction Supply Chain System. IEEE Access 2019, 7, 126773–126786. [Google Scholar] [CrossRef]
  43. Zhu, L.; Wu, Y.; Gai, K.; Choo, K.-K.R. Controllable and Trustworthy Blockchain-Based Cloud Data Management. Fut. Generat. Comp. Syst. 2019, 91, 527–535. [Google Scholar] [CrossRef]
  44. Boonpheng, A. Blockchain Technology and Cryptocurrency Are Database for Contract Management in Construction Engineering. Construction Engineering; IAEME Publication: Tamil Nadu, India, 2013. [Google Scholar]
  45. Das, M.; Tao, X.; Cheng, J.C.P. A Secure and Distributed Construction Document Management System Using Blockchain. In Proceedings of the 18th International Conference on Computing in Civil and Building Engineering, San Francisco, CA, USA, 24–25 October 2019; Toledo Santos, E., Scheer, S., Eds.; Springer International Publishing: Cham, Switzerland, 2021; pp. 850–862. [Google Scholar]
  46. Das, M.; Tao, X.; Liu, Y.; Cheng, J.C.P. A Blockchain-Based Integrated Document Management Framework for Construction Applications. Automat. Constr. 2022, 133, 104001. [Google Scholar] [CrossRef]
  47. Larson, E. Project Partnering: Results of Study of 280 Construction Projects. J. Manag. Eng. 1995, 11, 30–35. [Google Scholar] [CrossRef]
  48. FIDIC. EPC/Turnkey Contract 2nd Ed (2017 Silver Book). International Federation of Consulting Engineers. Available online: https://fidic.org/books/epcturnkey-contract-2nd-ed-2017-silver-book (accessed on 29 March 2022).
  49. Mahmudnia, D.; Arashpour, M.; Yang, R. Blockchain in Construction Management: Applications, Advantages and Limitations. Automat. Constr. 2022, 140, 104379. [Google Scholar] [CrossRef]
  50. Savelyev, A. Contract Law 2.0: ‘Smart’ Contracts as the Beginning of the End of Classic Contract Law. Inform. Commun. Technol. Law 2017, 26, 116–134. [Google Scholar] [CrossRef]
  51. Gurgun, A.P.; Koc, K. Administrative Risks Challenging the Adoption of Smart Contracts in Construction Projects. ECAM 2022, 29, 989–1015. [Google Scholar] [CrossRef]
  52. Ko, T.; Lee, J.; Ryu, D. Blockchain Technology and Manufacturing Industry: Real-Time Transparency and Cost Savings. Sustainability 2018, 10, 4274. [Google Scholar] [CrossRef] [Green Version]
  53. Gurgun, A.P.; Genc, M.I.; Koc, K.; Arditi, D. Exploring the Barriers against Using Cryptocurrencies in Managing Construction Supply Chain Processes. Buildings 2022, 12, 357. [Google Scholar] [CrossRef]
  54. Yazdinejad, A.; HaddadPajouh, H.; Dehghantanha, A.; Parizi, R.M.; Srivastava, G.; Chen, M.-Y. Cryptocurrency Malware Hunting: A Deep Recurrent Neural Network Approach. Appl. Soft Comput. 2020, 96, 106630. [Google Scholar] [CrossRef]
  55. Borges, T.A.; Neves, R.F. Ensemble of Machine Learning Algorithms for Cryptocurrency Investment with Different Data Resampling Methods. Appl. Soft Comput. 2020, 90, 106187. [Google Scholar] [CrossRef]
  56. Pongnumkul, S.; Siripanpornchana, C.; Thajchayapong, S. Performance Analysis of Private Blockchain Plat-forms in Varying Workloads. In Proceedings of the 2017 26th International Conference on Computer Com-munication and Networks (ICCCN), Vancouver, BC, Canada, 31 July–3 August 2017; IEEE: Vancouver, BC, Canada, 2017; pp. 1–6. [Google Scholar]
  57. Panwar, A.; Bhatnagar, V. Analyzing the Performance of Data Processing in Private Blockchain Based Distributed Ledger. J. Inform. Optimizat. Sci. 2020, 41, 1407–1418. [Google Scholar] [CrossRef]
  58. Monrat, A.A.; Schelen, O.; Andersson, K. Performance Evaluation of Permissioned Blockchain Platforms. In Proceedings of the 2020 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE), Gold Coast, Australia, 16–18 December 2020; IEEE: Gold Coast, Australia, 2020; pp. 1–8. [Google Scholar]
  59. Alp, N.; Stack, B. Scope Management and Change Control Process Study for Project-Based Companies in the Construction and Engineering Industries. In Proceedings of the 2012 Proceedings of PICMET ’12: Technology Management for Emerging Technologies, Vancouver, BC, Canada, 29 July–2 August July 2012; pp. 2427–2436. [Google Scholar]
  60. Liu, F.; Li, Y.; Li, B.; Li, J.; Xie, H. Bitcoin Transaction Strategy Construction Based on Deep Reinforcement Learning. Appl. Soft Comput. 2021, 113, 107952. [Google Scholar] [CrossRef]
  61. Adel, K.; Elhakeem, A.; Marzouk, M. Chatbot for Construction Firms Using Scalable Blockchain Network. Automat. Constr. 2022, 141, 104390. [Google Scholar] [CrossRef]
  62. Adel, K.; Elhakeem, A.; Marzouk, M. Decentralizing Construction AI Applications Using Blockchain Technology. Expert Syst. Applicat. 2022, 194, 116548. [Google Scholar] [CrossRef]
  63. Wang, N.; Xu, H.; Xu, F.; Cheng, L. The Algorithmic Composition for Music Copyright Protection under Deep Learning and Blockchain. Appl. Soft Comput. 2021, 112, 107763. [Google Scholar] [CrossRef]
  64. Liu, H.; Chen, Y. Using Blockchain Technology in IoT Manufacture Environment for Intelligence Prediction. Soft Comput. 2021. [Google Scholar] [CrossRef]
Figure 1. The SHA-256 hashing technique. (a) The mechanism of the cryptographic linking in the blockchain that grants security within the decentralization system. (b) The attack detection by the hashing system.
Figure 1. The SHA-256 hashing technique. (a) The mechanism of the cryptographic linking in the blockchain that grants security within the decentralization system. (b) The attack detection by the hashing system.
Buildings 12 01072 g001
Figure 2. Blockchain and smart contract publications through the years in construction engineering.
Figure 2. Blockchain and smart contract publications through the years in construction engineering.
Buildings 12 01072 g002
Figure 3. The future vision for blockchain technology with the integration of IoT in the construction industry.
Figure 3. The future vision for blockchain technology with the integration of IoT in the construction industry.
Buildings 12 01072 g003
Figure 4. Research methodology procedures.
Figure 4. Research methodology procedures.
Buildings 12 01072 g004
Figure 5. Prototype’s overall workflow.
Figure 5. Prototype’s overall workflow.
Buildings 12 01072 g005
Figure 6. Data relations among parties in the developed prototype.
Figure 6. Data relations among parties in the developed prototype.
Buildings 12 01072 g006
Figure 7. Prototype’s database schema.
Figure 7. Prototype’s database schema.
Buildings 12 01072 g007
Figure 8. The three scenarios of the hypothetical case study.
Figure 8. The three scenarios of the hypothetical case study.
Buildings 12 01072 g008
Figure 9. Prototype interface of a sample of submission, approval, and payment in the first milestone.
Figure 9. Prototype interface of a sample of submission, approval, and payment in the first milestone.
Buildings 12 01072 g009
Figure 10. A sample block for approving the first milestone inside the blockchain.
Figure 10. A sample block for approving the first milestone inside the blockchain.
Buildings 12 01072 g010
Figure 11. The structure of the Merkle tree.
Figure 11. The structure of the Merkle tree.
Buildings 12 01072 g011
Figure 12. The results of the round-trip time latency in 10 tests for the prototype.
Figure 12. The results of the round-trip time latency in 10 tests for the prototype.
Buildings 12 01072 g012
Table 1. Recent studies employed blockchain and smart contracts in construction-related work.
Table 1. Recent studies employed blockchain and smart contracts in construction-related work.
Work AreaReferenceBlockchain PlatformMain Findings
Payment managementM. Das, et al. [27]EthereumProvided a different security property such as confidentiality and authenticity of data and users for interim payments.
F. Elghaish, et al. [26]HyperledgerSolved the existing financial barriers for financial inside IPD for AEC industry.
R. Yang et al. [31]Hyperledger and EthereumFinds benefits and challenges of adopting private and public blockchain technologies in the construction domain.
H.-Y. Chong and A. Diamantopoulos [32]-Developed a framework that integrates with smart sensors, oracles, BIM, blockchain technology, and smart contracts for the security of payment.
H. Luo et al. [33]HyperledgerDeveloped security of the payment information integrity in a multi-party environment.
Chaining quality and building informationJ. Mason [21]-Provided a potential of using the blockchain and smart contract as part of the BIM revolution.
Amer A. Hijazi, et al. [25]-Analyzed construction supply chain data delivery challenges to produce a rationale for the integration of BIM and blockchain enabling a reliable digital deliverable.
X. Ye and M. König [34]-Developed a framework of billing model with BIM for the construction works parameters.
M. Das et al. [35]BIM platform based on blockchainDeveloped a blockchain-based framework to document BIM changes.
D. Sheng et al. [36]HyperledgerBuilt a prototype framework for decentralizing the management of quality information.
M. Rodrigo et al. [37]-Analyzed the suitability of blockchain systems for embodied carbon estimating documents in construction supply chains.
A. Shojaei et al. [38]HyperledgerFound out the integration of smart contracts with BIM.
H. Wu et al. [39]HyperledgerDeveloped a prototype for construction quality inspection based on the integration of Internet of things (IoT).
Supply chain managementH. Yoon and P. Pishdad-Bozorgi [22]-Provided a literature review for points of Knowlagent gaps in the construction supply chain.
Z. Wang, et al. [23]BIMF-PSCPresented a framework for construction precast supply chain
A. Tezel, et al. [24]Ethereum.Introduced an empirical discussion on supply chain management applications of blockchain for construction by collecting feedback
I. Erol et al. [40]-Target to investigate the most feasible functions of a sustainable supply chain for potential blockchain implementations by using Fuzzy modeling.
W. Lu et al. [41]Blockchain oraclesPresented a creative solution that exploits smart construction objects for the supply chain by using Blockchain oracles based.
F. Xiong et al. [42]-Produced a private-key distribution protocol to prove secure and feasible both in theoretical and experimental analysis of the construction supply chain.
Contract and electronic document managementM. S. Kiu et al. [28]-Analyzed the shorting of blockchain research in the contract administration area.
Charles Shen and Feniosky Pena-Mora [29]-Analyzed the usage of blockchain and smart contracts in different sectors in smart cities.
Srinath Perera et al. [30]-Reviewed literature on blockchain in Industry 4.0 for construction document control.
L. Zhu et al. [43]-Creates a scheme for controlling documents with cloud data management to reduce the lack of control on the posted ledgers.
A. Boonpheng [44]-Studied blockchain technology and cryptocurrency as a database to see the suitability of usage of the blockchain for different areas in the construction industry.
M. Das et al. [45,46]HyperledgerDeveloped framework for construction data management high-performance blockchain prototype.
Table 2. Milestones’ values at different progress percentages for the case study.
Table 2. Milestones’ values at different progress percentages for the case study.
Progress (%)MonthMilestone NameMilestone IDMilestone Value (EGP)
101ExcavationA1,787,032
202Concrete work 1st floorB3,574,064
353Concrete work 2nd floorC6,254,612
304Plumbing and electrical workD5,361,096
55Masonry works and FinishingE893,516
Table 3. Payment and invoice values for each milestone.
Table 3. Payment and invoice values for each milestone.
RetentionMonthMilestoneInvoice (EGP)Invoice (Unicoin)Payment (EGP)Payment (Unicoin)
10%1 1,787,032.004--
2A3,574,064.0081,608,328.863.6
3B6,254,612.00133,216,657.727.2
4C5,361,096.00115,629,151.0111.7
5D893,516.0024,824,986.589.9
6E--804,164.431.8
Retention for the project 10%1,787,032.073.8
Contract price17,870,320.0738
Table 4. The output for the three scenarios procedures from the database.
Table 4. The output for the three scenarios procedures from the database.
Notify IdNotificationContract NameTime-StampIdentityUsername
1Project: Villa is added.-18 February 2022OwnerOwner
2Contract_name: Villa is added to project: Villa.Villa18 February 2022ConsultantConsultant
177Activity: A is added to contract: VillaVilla18 February 2022ContractorContractor
178Activity: B is added to contract: VillaVilla18 February 2022ContractorContractor
179Activity: C is added to contract: VillaVilla18 February 2022ContractorContractor
180Activity: D is added to contract: VillaVilla18 February 2022ContractorContractor
181Activity: E is added to contract: VillaVilla18 February 2022ContractorContractor
182Contractor updated status of activity: A in contract: VillaVilla18 February 2022ContractorContractor
183Consultant name: consultant approved activity: A in contract no. VillaVilla18 February 2022ConsultantConsultant
184Contractor: contractor has received the activity amount 3.6 of activity AVilla18 February 2022OwnerOwner
185Contractor updated status of activity: B in contract: VillaVilla18 February 2022ContractorContractor
186Consultant name: consultant approved activity: B in contract no. VillaVilla18 February 2022ConsultantConsultant
187Contractor: contractor has received the activity amount 7.2 of activity BVilla18 February 2022OwnerOwner
188Contractor updated status of activity: C in contract: VillaVilla18 February 2022ContractorContractor
189Consultant name: consultant approved activity: C in contract no. VillaVilla18 February 2022ConsultantConsultant
190Contractor: contractor has received the activity amount 11.7 of activity CVilla18 February 2022OwnerOwner
191Contractor updated status of activity: D in contract: VillaVilla18 February 2022ContractorContractor
192Consultant name: consultant approved activity: D in contract no. VillaVilla18 February 2022ConsultantConsultant
193Contractor: contractor has received the activity amount 9.9 of activity DVilla18 February 2022OwnerOwner
194Contractor updated status of activity: E in contract: VillaVilla18 February 2022ContractorContractor
Scenario 1
195Consultant name: consultant approved activity: E in contract no. VillaVilla18 February 2022ConsultantConsultant
196Contractor: contractor has received the activity amount of 1.8 of activity EVilla18 February 2022OwnerOwner
197Contractor: contractor has received the retention amount of 3.8 of contract VillaVilla18 February 2022OwnerOwner
Scenario 2
218Consultant name: consultant did not approve activity: E in contract no. VillaVilla18 February 2022ConsultantConsultant
219Contractor updated status of activity: E in contract: VillaVilla18 February 2022ContractorContractor
220Consultant name: consultant approved activity: E in contract no. VillaVilla18 February 2022ConsultantConsultant
221Contractor: contractor has received the activity amount of 1.8 of activity EVilla18 February 2022OwnerOwner
222Contractor: contractor has received the retention amount of 3.8 of contract VillaVilla18 February 2022OwnerOwner
Scenario 3
198Consultant name: consultant did not approve activity: E in contract no.VillaVilla18 February 2022ConsultantConsultant
199A claim has been sent by the contractor: contractor for contract: VillaVilla18 February 2022ContractorContractor
Table 5. Storage size of different transactions for full block.
Table 5. Storage size of different transactions for full block.
ItemData TypeSize (Byte)ItemData TypeSize (Byte)
Project IDVarchar250Activities numberVarchar250
Project nameVarchar100Activities nameVarchar455
Project addressVarchar105Activity approving and statusVarchar150
Contract numberVarchar250Activities priceInteger33
Contract nameVarchar100Activity datesVarchar76
Contract priceInteger33DescriptionVarchar1000
Contract dateVarchar32Party’s transactionVarchar77
Parties nameVarchar100DelayVarchar250
Subtotal3261
Table 6. Storage size calculation in the block.
Table 6. Storage size calculation in the block.
ItemSize (Byte)QuantityTotal
Header
Previous block hash32132
Current block hash32132
Merkle root32132
Time-stamp15115
Subtotal111
Merkle tree
Hash number3219608
Subtotal608
Total size of blocks’ transactions
Ten of Construction transaction32611032,610
Subtotal32,610
Total33,329
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ibrahim, R.; Harby, A.A.; Nashwan, M.S.; Elhakeem, A. Financial Contract Administration in Construction via Cryptocurrency Blockchain and Smart Contract: A Proof of Concept. Buildings 2022, 12, 1072. https://doi.org/10.3390/buildings12081072

AMA Style

Ibrahim R, Harby AA, Nashwan MS, Elhakeem A. Financial Contract Administration in Construction via Cryptocurrency Blockchain and Smart Contract: A Proof of Concept. Buildings. 2022; 12(8):1072. https://doi.org/10.3390/buildings12081072

Chicago/Turabian Style

Ibrahim, Rowaid, Ahmed Alaa Harby, Mohamed Salem Nashwan, and Ahmed Elhakeem. 2022. "Financial Contract Administration in Construction via Cryptocurrency Blockchain and Smart Contract: A Proof of Concept" Buildings 12, no. 8: 1072. https://doi.org/10.3390/buildings12081072

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop