Futures
Access hundreds of perpetual contracts
TradFi
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
GateRouter
Smartly choose from 40+ AI models, with 0% extra fees
Etherscan AI Tool Code Reader Official Tutorial
Author: etherscan; translation: Golden Finance 0xxz
Code Reader is a tool that harnesses the power of AI to retrieve and interpret source code for specific contract addresses for users. By selecting a contract address, users can access and interact with the source code files of the contract. This tutorial walks you through how to use this tool and highlights some use cases.
Before using Code Reader, you need to understand the following:
*AI Generated Answers: These responses were generated by OpenAI’s Large Language Model (LLM) and are provided for informational purposes only. Always verify their accuracy and do not rely on them solely as evidence or for submitting bug bounties.
Code Reader 5-step usage
First enter your OpenAI API key.
Paste the contract address you want to explore.
The tool will automatically fetch all files related to the contract provided.
Once the contract file is retrieved, you can select a specific source code file to read through. Additionally, you can modify the source code directly in the UI before sharing it with the AI.
Based on the selected source code, you can generate AI prompts to interact with the code and ask questions to deepen your understanding.
Use Case Demonstration
Restrictions on Proxy Contracts
When pasting the proxy contract address, the tool will not automatically obtain the contract file for executing the contract. To access the associated executing contract, you can go to the address page of the proxy contract, check the “Read/Write as Proxy” tab and copy the address:
If the “Read/Write as Proxy” tab is not available, you can navigate to the button below, click “Verify” on the Proxy Contract Verification page, and copy the found implementation address:
Click the “Is this a proxy?” button