Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/165958
Title: Model-based testing for smart contracts
Authors: Ng, Erica Xiang Qing
Keywords: Engineering::Computer science and engineering::Software::Software engineering
Issue Date: 2023
Publisher: Nanyang Technological University
Source: Ng, E. X. Q. (2023). Model-based testing for smart contracts. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/165958
Project: SCSE22-0201 
Abstract: At this rate of adoption, blockchain has the potential to revolutionize and reshape the way we live and work. Still, security is an utmost concern. Although researchers have developed tools to analyze the security vulnerability of smart contracts, its behavior remains an area less explored. ModCon is designed to support testing for smart contract’s behavior. This study gives a comprehensive review on the efficiency of ModCon – a model-based testing tool – based on its coverage and its robustness. The coverage of ModCon is evaluated by testing game smart contracts and auction smart contracts on the Ethereum blockchain network. The robustness of ModCon is assessed based on various aspects, such as consistency and reproducibility, by testing the same smart contract on both the Ethereum and FISCO BCOS blockchain networks. ModCon is shown to be not efficient for its coverage for game smart contracts but efficient for auction smart contracts. For robustness, ModCon is not efficient based on reproducibility but efficient based on consistency. In summary, this report documents the testing process which comprises of how states are introduced to smart contracts, the challenges faced, solutions implemented, analysis of the findings and recommendations for the future.
URI: https://hdl.handle.net/10356/165958
Schools: School of Computer Science and Engineering 
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:SCSE Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
fyp report_amended.pdf
  Restricted Access
1.72 MBAdobe PDFView/Open

Page view(s)

218
Updated on May 7, 2025

Download(s)

11
Updated on May 7, 2025

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.