On LLM-Assisted Generation of Smart Contracts from Business Processes
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have changed the reality of how software is produced. Within the wider software engineering community, among many other purposes, they are explored for code generation use cases from different types of input. In this work, we present an exploratory study to investigate the use of LLMs for generating smart contract code from business process descriptions, an idea that has emerged in recent literature to overcome the limitations of traditional rule-based code generation approaches. However, current LLM-based work evaluates generated code on small samples, relying on manual inspection, or testing whether code compiles but ignoring correct execution. With this work, we introduce an automated evaluation framework and provide empirical data from larger data sets of process models. We test LLMs of different types and sizes in their capabilities of achieving important properties of process execution, including enforcing process flow, resource allocation, and data-based conditions. Our results show that LLM performance falls short of the perfect reliability required for smart contract development. We suggest future work to explore responsible LLM integrations in existing tools for code generation to ensure more reliable output. Our benchmarking framework can serve as a foundation for developing and evaluating such integrations.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 22 of its 45 references that are in the map. First posted on arXiv 30 Jul 2025.
Builds on
22 of 45 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2022A Survey on In-context Learningcited by 721
- 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
- 2020Unsupervised Translation of Programming Languagescited by 263
- 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 137
- 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023Large Language Models can accomplish Business Process Management Taskscited by 34
- 2023Large Language Models for Business Process Management: Opportunities and Challengescited by 24
10 more
- 2024PM-LLM-Benchmark: Evaluating Large Language Models on Process Mining Taskscited by 16
- 2022SAP Signavio Academic Models: A Large Process Model Datasetcited by 11
- 2025Guiding LLM-based Smart Contract Generation with Finite State Machinecited by 5
- 2023An Empirical Study of AI-based Smart Contract Creationcited by 4
- 2024Efficacy of Various Large Language Models in Generating Smart Contractscited by 4
- 2025Sustainability via LLM Right-sizingcited by 3
- 2024Automation in Model-Driven Engineering: A look back, and aheadcited by 2
- 2016Optimized Execution of Business Processes on Blockchaincited by 1
- 2022Blockchain for Business Process Enactment: A Taxonomy and Systematic Literature Reviewcited by 1
- 2023Process Channels: A New Layer for Process Enactment Based on Blockchain State Channelscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.