Ebrahimi, ElmiraElmiraEbrahimiKhamespanah, EhsanEhsanKhamespanahSirjani, MarjanMarjanSirjaniMohammadi, SiamakSiamakMohammadi2023-11-162023-11-162023-0928th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA 2023)9798350339918https://hdl.handle.net/11420/44186Conducting interactions between shared-purpose organizations that are not entirely trustworthy of each other without centralized oversight is an idea that emerged with the advent of private blockchains such as Hyperledger Fabric and its smart contracts. It is critical to check contracts to ensure their proper functionality, as organizations may collaborate with competitors. Due to the new architecture of Hyperledger Fabric, tools in this area are limited. To formally verify the source code of contracts, we mapped Fabric contract concepts into the Rebeca modeling language. Rebeca is an actor-based language that enables the modeling of concurrent and distributed systems and is supported by a model checking tool, Afra. We have identified vulnerabilities such as deadlock and starvation by examining the desired properties. Using the model checking approach, we could debug the code and hence benefit from speeding up the transactions, creating fewer extra blocks, requiring less storage space to store the ledger, and avoiding wasting computing resources.enHyperledger FabricModel CheckingSmart ContractsComputer SciencesModel Checking of Hyperledger Fabric Smart ContractsConference Paper10.1109/ETFA54631.2023.10275704Conference Paper