Smart contract life-cycle management: an engineering framework for the generation of robust and verifiable smart contracts
Authors:
- Iqra MustafaIMIqra Mustafa
- Alan McGibneyAMAlan McGibney
- Susan ReaSRSusan Rea
Open Access
- 8 January 2024
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Blockchain
- Vol. 6, 1276233
Abstract
The concept of smart contracts (SCs) is becoming more prevalent, and their application is gaining traction across many diverse scenarios. However, producing poorly constructed contracts carries significant risks, including the potential for substantial financial loss, a lack of trust in the technology, and the risk of exposure to cyber-attacks. Several tools exist to assist in developing SCs, but their limited functionality increases development complexity. Expert knowledge is required to ensure contract reliability, resilience, and scalability. To overcome these risks and challenges, tools and services based on modeling and formal techniques are required that offer a robust methodology for SC verification and life-cycle management. This study proposes an engineering framework for the generation of a robust and verifiable smart contract (GRV-SC) framework that covers the entire SC life-cycle from design to deployment stages. It adopts SC modeling and automated formal verification methodologies to detect security vulnerabilities and improve resilience, extensibility, and code optimization to mitigate risks associated with SC development. Initially, the framework includes the implementation of a formal approach, using colored Petri nets (CPNs), to model cross-platform Digital Asset Modeling Language (DAML) SCs. It also incorporates a specialized type safety dynamic verifier, which is designed to detect and address new vulnerabilities that can arise in DAML contracts, such as access control and insecure direct object reference (Idor) vulnerabilities. The proposed GRV-SC framework provides a holistic approach to SC life-cycle management and aims to enhance the security, reliability, and adoption of SCs.Keywords
Funding Information
- Science Foundation Ireland (P20003)
This publication has 54 references indexed in Scilit:
- Making Smart Contracts Smarter2016
- Town Crier2016
- Formal Verification of Smart Contracts2016
- Untrusted Business Process Monitoring and Execution Using Blockchain2016
- Formal Verification of Infinite-State BIP Models2015
- PIPE+Verifier - A Tool for Analyzing High Level Petri Nets2015
- The nuXmv Symbolic Model Checker2014
- Verification of the safety communication protocol in train control system using colored Petri netReliability Engineering & System Safety, 2012
- Application of linear logic to backward reachability analysis of Colored Petri Nets2009
- Implementing Coloured Petri Nets Using a Functional Programming LanguageHigher-Order and Symbolic Computation, 2004