Smart Contract Code Translation based on Concepts

DOI arXiv PDF
BibTeX Citation
@inproceedings{karanjai2024solmover,
  title={Solmover: Smart contract code translation based on concepts},
  author={Karanjai, Rabimba and Xu, Lei and Shi, Weidong},
  booktitle={Proceedings of the 1st ACM International Conference on AI-Powered Software},
  pages={112--121},
  year={2024}
}
Copied to clipboard
Read Paper Download PDF

Abstract

The advent of large language models (LLMs) has marked a significant milestone in the realm of artificial intelligence, with their capabilities often matching or surpassing human expertise in various domains. Among these achievements, their adeptness in translation tasks stands out, closely mimicking the intricate and preliminary processes undertaken by human translators to ensure the fidelity and quality of the translated content. Despite the advancements in utilizing LLMs for translating programming code across different languages, the domain of smart contract translation, particularly into languages not previously encountered by the LLM, remains largely unexplored. In our research, we present a pioneering approach, SolMover, which harnesses the synergy of two distinct LLMs within a unified framework. This framework is designed to grasp coding principles and apply this understanding to the translation of code into an unfamiliar language. Our study delves into the capacity of LLMs to mimic human learning processes, offering an in-depth evaluation of our methodology for converting smart contracts written in Solidity to Move, a language with limited resources. The framework employs o

Type Conference Paper
Venue ACM Foundations of Software Engineering (FSE) 2024
Date Nov 2024
Smart Contracts Blockchain Code Translation First Author