Connecting Large Language Models with Blockchain: Advancing the Evolution of Smart Contracts from Automation to Intelligence

Youquan Xian, Xueying Zeng, Duancheng Xuan, Danping Yang, Chunpei Li +2 more
12/3/2024
cs.DCcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Blockchain smart contracts have catalyzed the development of decentralized applications across various domains, including decentralized finance. However, due to constraints in computational resources and the prevalence of data silos, current smart contracts face significant challenges in fully leveraging the powerful capabilities of Large Language Models (LLMs) for tasks such as intelligent analysis and reasoning. To address this gap, this paper proposes and implements a universal framework for integrating LLMs with blockchain data, {\sysname}, effectively overcoming the interoperability barriers between blockchain and LLMs. By combining semantic relatedness with truth discovery methods, we introduce an innovative data aggregation approach, {\funcname}, which significantly enhances the accuracy and trustworthiness of data generated by LLMs. To validate the framework's effectiveness, we construct a dataset consisting of three types of questions, capturing Q\&A interactions between 10 oracle nodes and 5 LLM models. Experimental results demonstrate that, even with 40\% malicious nodes, the proposed solution improves data accuracy by an average of 17.74\% compared to the optimal baseline. This research not only provides an innovative solution for the intelligent enhancement of smart contracts but also highlights the potential for deep integration between LLMs and blockchain technology, paving the way for more intelligent and complex applications of smart contracts in the future.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xian2024connecting,
  title  = {Connecting Large Language Models with Blockchain: Advancing the Evolution of Smart Contracts from Automation to Intelligence},
  author = {Youquan Xian and Xueying Zeng and Duancheng Xuan and Danping Yang and Chunpei Li and Peng Fan and Peng Liu},
  year   = {2024},
  eprint = {2412.02263},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.02263v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.02263.svg)](https://codeofpaper.com/paper/2412.02263)

Discussion