Efficacy of Various Large Language Models in Generating Smart Contracts

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chatterjee, Siddhartha, Ramamurthy, Bina
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910684602695680
author Chatterjee, Siddhartha
Ramamurthy, Bina
author_facet Chatterjee, Siddhartha
Ramamurthy, Bina
contents 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 paper 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_11019
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficacy of Various Large Language Models in Generating Smart Contracts
Chatterjee, Siddhartha
Ramamurthy, Bina
Software Engineering
Artificial Intelligence
Computation and Language
I.2.2
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 paper 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.
title Efficacy of Various Large Language Models in Generating Smart Contracts
topic Software Engineering
Artificial Intelligence
Computation and Language
I.2.2
url https://arxiv.org/abs/2407.11019