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.
🆕 Code Reader (Beta)
Leverage the power of AI to seamlessly learn about any smart contract source code! ✨ pic.twitter.com/GTbULisudk
— Etherscan (@etherscan) June 19, 2023
Table of Contents
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:
- Enter the OpenAI API key Create API key here
- Enter the smart contract address or choose from example contracts
- Select the contract file for interaction and edit the code if needed
- 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.
Related
- U.S. Senate Warns Tech Industry to Thwart Russia's False Information Attacks: "Everyone Around You Could Be an Actor"
- Vitalik: Airdrops are an appealing use case for blockchain identity verification, Worldcoin singled out
- Can Jambo's Android Web3 phone, which claims to target emerging markets, truly promote financial inclusion?