TY - GEN
T1 - Efficacy of Various Large Language Models in Generating Smart Contracts
AU - Chatterjee, Siddhartha
AU - Ramamurthy, Bina
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.
PY - 2025
Y1 - 2025
N2 - This study analyzes the application of code-generating Large Language Models in the creation of immutable Solidity smart contracts on the Ethereum Blockchain. Other works have previously analyzed Artificial Intelligence code generation abilities. This study aims to expand this to a larger scope to include programs where security and efficiency are of utmost priority such as smart contracts. The hypothesis leading into the study was that LLMs in general would have difficulty in rigorously implementing security details in the code, which was shown through our results, but surprisingly generally succeeded in many common types of contracts. We also discovered a novel way of generating smart contracts through new prompting strategies.
AB - This study analyzes the application of code-generating Large Language Models in the creation of immutable Solidity smart contracts on the Ethereum Blockchain. Other works have previously analyzed Artificial Intelligence code generation abilities. This study aims to expand this to a larger scope to include programs where security and efficiency are of utmost priority such as smart contracts. The hypothesis leading into the study was that LLMs in general would have difficulty in rigorously implementing security details in the code, which was shown through our results, but surprisingly generally succeeded in many common types of contracts. We also discovered a novel way of generating smart contracts through new prompting strategies.
KW - Code generation
KW - LLMs
KW - Smart contract
UR - https://www.scopus.com/pages/publications/105001050785
U2 - 10.1007/978-3-031-85363-0_31
DO - 10.1007/978-3-031-85363-0_31
M3 - Conference contribution
AN - SCOPUS:105001050785
SN - 9783031853623
T3 - Lecture Notes in Networks and Systems
SP - 482
EP - 500
BT - Advances in Information and Communication - Proceedings of the 2025 Future of Information and Communication Conference, FICC 2025
A2 - Arai, Kohei
PB - Springer Science and Business Media Deutschland GmbH
T2 - Future of Information and Communication Conference, FICC 2025
Y2 - 28 April 2025 through 29 April 2025
ER -