Model Driven Engineering Tool for the Generation of Interoperable Smart Contracts
摘要
Blockchain technology (BC) is rapidly growing in various environments. Smart Contracts (SCs), immutable decentralized programs deployed on BC platforms, facilitate the execution of agreements without intermediaries, supporting the decentralization of business processes. However, their development is complex due to the specificities and restrictions of each platform. This work presents a Model Driven Engineering (MDE) tool for generating SCs in Hyperledger, compatible with Java and Go. The tool includes two Platform-Specific Metamodels (PSMs) and two Model-to-Text (m2t) Transformations that generate the source code for the SCs. These contracts are successfully implemented and deployed in Hyperledger. The MDE tool simplifies the development of SCs, ensuring consistency with platform specifications and improving efficiency by automating source code generation, thereby reducing human errors.