PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 9, 20250 citationsOpen Access

On LLM-Assisted Generation of Smart Contracts from Business Processes

View Full Paper
FSFabian StiehleHWHans WeytjensIWIngo Weber

Key Points

  • LLM-based smart contract generation reveals reliability issues, potentially impacting development efficiency.
  • Automated evaluation framework tested LLMs for 3 key properties: process flow, data conditions, and resource allocation.
  • Study utilized larger datasets to assess LLM performance, suggesting current methods rely heavily on manual inspection.
  • Future work must focus on responsible LLM integrations to enhance code generation reliability in real-world applications.

Abstract

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Stiehle et al. (2025) studied this question.

synapsesocial.com/papers/68e7f0af2d7e30942762c97bhttps://doi.org/10.48550/arxiv.2507.23087
Ask AI
Helpful
Bookmark
Share
View Full Paper