Ethereum Scanner Etherscan Adds OpenAI-Based Tool to Analyze Smart Contract Source Code

The tool is meant for informational purposes only, Etherscan said.

AccessTimeIconJun 19, 2023 at 3:34 p.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

Etherscan, one of the most commonly used Ethereum blockchain scanning websites, introduced a tool that uses artificial intelligence (AI) to help users interpret the source code of smart contracts, according to a post on its website.

The tool, based on AI technology developed by OpenAI, allows users to ask for an explanation of the entirety or parts of the source code of a smart contract, Etherscan said. Users can also retrieve the "read" and "write" functions of a smart contract such that they can "make informed decisions" on how to interact with them as well as explore possible ways of using them in decentralized applications, the post said.

Following the explosion of interest in AI spurred by the popularity of OpenAI's ChatGPT chatbot, blockchain and crypto companies have rushed to support traders and developers with tools based on the technology. Last week, crypto exchange Bybit integrated ChatGPT into its trading platform.

Etherscan said the tool is meant for informational purposes only and encouraged users to verify its answers instead of relying on them solely for evidence or bug bounty submissions.

In order to use Code Reader, as the Etherscan tool is called, users need to connect to OpenAI's API and have sufficient usage limits. An API, or application programming interface, allows two computer programs to communicate and share information. Etherscan's tool currently doesn't allow for conversation threads with the chatbot and can be queried only through one-off prompts.

Edited by Sheldon Reback.

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Eliza Gkritsi

Eliza Gkritsi is a CoinDesk contributor focused on the intersection of crypto and AI.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.