Skip to the content.

πŸ” IAcine Smart Contract Analyzer | AI-Powered Ethereum Code Audit with RAG

image

πŸ“– Introduction

IAcine Smart Contract Analyzer is a powerful AI tool that analyzes Ethereum smart contracts directly from their source code. Using RAG (Retrieval-Augmented Generation), OpenAI’s GPT, and a modern Streamlit interface, it generates clean summaries, functional insights, and answers to any question you ask β€” all based on the real Solidity code.

Whether you’re a blockchain developer, an auditor, or a business working with tokens and DeFi, this app turns code complexity into clarity. πŸ€–πŸ“œ


πŸš€ Features

βœ”οΈ Etherscan Integration – Fetch smart contract code from any Ethereum address
βœ”οΈ CoinMarketCap-style Summaries – Auto-generate project descriptions
βœ”οΈ Feature Detection – Detects blacklist, pause, mint, burn, ownership, and upgradeability
βœ”οΈ Ask Anything with RAG – Get AI answers based on the actual Solidity code
βœ”οΈ PDF Report Export – Download a clean, structured audit-style report
βœ”οΈ Streamlit Web App – User-friendly, no-code frontend to interact with AI


πŸ—οΈ Technologies


πŸ“¦ Installation

=== 1️⃣ Clone the Repository

git clone https://github.com/Yacine-Mekideche/smart_contract_blockchain.git
cd smart_contract_blockchain

=== 2️⃣ Create a .env File

OPENAI_API_KEY=your_openai_api_key
ETHERSCAN_API_KEY=your_etherscan_api_key

=== 3️⃣ Set Up Your Environment

python -m venv venv
# Activate:
venv\Scripts\activate  # Windows
source venv/bin/activate  # macOS/Linux

=== 4️⃣ Install Dependencies

pip install -r requirements.txt

▢️ Running the App

Start the app with:

streamlit run app.py

Then open the Streamlit UI in your browser. You can:


🎯 Demo

IAcine Smart Contract Analyzer Demo


🧠 AI Architecture Overview


πŸ“¬ Contact Me

πŸ’‘ Into AI + Blockchain? Let’s build the future together.

Website
LinkedIn
GitHub
Malt
YouTube

πŸ“© Business inquiries: contact@iacine.tech


#SmartContracts #AI #Ethereum #RAG #LangChain #GPT #Solidity #Audit #Streamlit #OpenAI #DeFi #BlockchainSecurity #YacineTech #FreelanceAI #PythonProject