Etherscan introduces "Code Analyzer" to decipher smart contracts in plain language with AI.

share
Etherscan introduces "Code Analyzer" to decipher smart contracts in plain language with AI.

The blockchain explorer Etherscan has announced the launch of a code reader feature, which uses AI technology to help users understand smart contracts even if they have no knowledge of coding. This article will explain how to use this feature and what precautions to take.

Etherscan Code Reader Introduction

Etherscan's new feature aims to make the world of blockchain information more transparent, helping those unfamiliar with code to have a basic understanding of smart contracts and further explore their operational processes through inquiries. For developers familiar with code, this feature allows for quicker browsing of smart contract content.

By following these four steps, users can easily utilize Etherscan's Code Reader feature:

  1. Enter the OpenAI API key Create API key here
  2. Enter the smart contract address or choose from example contracts
  3. Select the contract file for interaction and edit the code if needed
  4. Input commands to ask questions

Below is an example provided by Etherscan, where after inquiring about the process of increasing liquidity in a smart contract, AI will step by step explain the functions used in the process and their purposes.

If unsure of what questions to ask when using it for the first time, users can click on example questions, and the system will automatically fill in the required parameters and display AI's response on the right side.

Etherscan Code Reader Considerations

Although this feature is quite innovative, it is currently in the testing phase and may undergo multiple adjustments in the future.

Furthermore, the responses are generated based on OpenAI's large language model and should be considered as references only. They are one-time and cannot be used for further inquiries based on the responses.

Lastly, and most importantly, the use of OpenAI's API service is chargeable. Users need to set up payment details before being able to utilize this feature. Learn more about the pricing here.