Project Website
Project Brief
What problem you’re solving
The blockchain ecosystem faces a critical security gap: traditional blockchain explorers only display raw transaction data without providing actionable intelligence or risk analysis. Users must manually investigate suspicious activity, leading to:
-
Data Overload: Blockchain explorers show transactions without context or analysis
-
Reactive Security: Most tools alert users AFTER funds are lost
-
Manual Analysis Required: No automated risk scoring or pattern detection
-
Centralized Dependencies: Traditional monitoring relies on centralized APIs with rate limits and single points of failure
-
Poor Accessibility: Complex interfaces requiring blockchain expertise to understand
This results in users losing funds to scams, traders missing suspicious patterns, and DeFi participants unable to easily assess counterparty risk.
Your solution and key features
ChainSage is an AI-powered blockchain monitoring platform that provides real-time security intelligence by combining decentralized AI with on-chain smart contracts. Think of it as having a 24/7 security analyst watching the blockchain for you.
Key Features:
-
AI-Powered Risk Analysis: Automatic risk scoring (0-100 scale) for every transaction with natural language explanations
-
Real-Time Monitoring: Watch any wallet address 24/7 with WebSocket-powered live updates
-
On-Chain Watchlist Management: Store watchlists directly on 0G Mainnet for trustless, persistent data storage
-
Pattern Detection: Identify suspicious activity and anomalies before they become problems
-
Intuitive UX: Beautiful cyberpunk-themed interface requiring no blockchain expertise
Target users and market
-
Crypto Investors & Traders: Monitor wallets for suspicious activity and counterparty risk
-
DeFi Users: Assess risk before interacting with protocols or addresses
-
Security Researchers: Automated analysis tools for blockchain forensics
-
DAOs & Treasuries: Monitor organizational wallets for unauthorized activity
-
Exchanges & Custodians: Enhanced security monitoring for client assets
What makes your project unique
-
Truly Decentralized AI: Unlike competitors using centralized AI APIs (OpenAI, Anthropic), ChainSage leverages 0G Compute Network for censorship-resistant, community-owned AI processing with no single point of failure
-
On-Chain Data Persistence: Watchlists stored on 0G Mainnet ensure trustless access, no centralized database vulnerabilities, and permanent immutable records
-
No Rate Limits: Decentralized infrastructure means unlimited transaction analysis without API key management or subscription tiers
-
Wallet-Based Authentication: Privacy-preserving design with no usernames, passwords, or personal data collection
-
Production-Ready Today: Fully deployed with real-time monitoring, AI analysis, and verified smart contracts on-chain
How will you integrate 0G?
Technical implementation details
ChainSage deeply integrates multiple components of the 0G ecosystem:
1. 0G Compute Network (Decentralized AI)
-
Purpose: AI-powered transaction risk analysis and natural language explanations
-
Models Used: Llama 3.3 70B, DeepSeek R1 70B
-
Authentication: Wallet-based (MetaMask) - no API keys required
-
Implementation:
-
User connects MetaMask wallet
-
App initializes 0G Compute client via @0glabs/0g-serving-broker SDK
-
Transaction data sent to decentralized AI nodes for risk analysis
-
Results returned in real-time with risk scores and explanations
2. 0G Mainnet (Chain ID: 16661)
-
Purpose: Smart contract deployment for trustless watchlist management
-
Contract: ChainSageMonitor
-
Address: 0x65259ad0C0872E9EC83b8fcd0a8541BC7015C0978
-
Functions:
-
addToWatchlist() - Store wallet addresses with custom labels
-
removeFromWatchlist() - Remove addresses from watchlist
-
updateRiskScore() - Update on-chain risk scores
-
getUserWatchlist() - Retrieve user’s complete watchlist
-
Event emissions trigger real-time frontend updates via WebSocket
Which features will use 0G services
| Feature | 0G Service | Description |
|---|---|---|
| Risk Analysis | 0G Compute | AI-powered transaction risk scoring |
| Pattern Detection | 0G Compute | Anomaly detection using Llama/DeepSeek models |
| Natural Language Explanations | 0G Compute | Human-readable risk assessments |
| Watchlist Storage | 0G Mainnet | On-chain persistent watchlist data |
| Risk Score History | 0G Mainnet | Immutable risk score tracking |
| Real-Time Alerts | 0G Mainnet Events | Smart contract event-driven notifications |
Timeline for integration
| Phase | Timeline | Status |
|---|---|---|
| 0G Compute Integration | Completed | |
| 0G Mainnet Contract Deployment | Completed | |
| Production Deployment | Completed | |
| Multi-chain Support | 2-3 months | |
| 0G Storage Integration (Historical Data) | 3-6 months | |
| Advanced ML Risk Models | 3-6 months |
Expected benefits from using 0G
-
Censorship Resistance: Decentralized AI cannot be shut down or censored
-
Cost Efficiency: Pay-per-use model (~0.001 OG per request) vs expensive API subscriptions
-
No Rate Limits: Analyze unlimited transactions without throttling
-
Data Sovereignty: Users own their watchlist data on-chain
-
Verifiable Compute: TEE (Trusted Execution Environment) ensures trustworthy AI results
-
Privacy Preserving: Wallet-based auth means no personal data collection
GitHub Repository
-
Frontend (Main): GitHub - Teamerz1111/chainsage-app-v0
-
Backend API: GitHub - Teamerz1111/backend: backend of the 0g hackathon
-
Smart Contracts: GitHub - Teamerz1111/contracts: Smart contracts for the 0g hackathon
Demo/Prototype
-
Live Application: https://chainsage-app.vercel.app
-
Smart Contract (0G Mainnet): 0G BlockChain Explorer
-
Backend API: https://backend-3o2x.onrender.com
Documentation
-
README: chainsage-app-v0/README.md at main · Teamerz1111/chainsage-app-v0 · GitHub
-
0G Compute Integration Guide: Available in /docs/0G-COMPUTE-INTEGRATION.md
-
Architecture Documentation: Included in README
-
Deployment Guide: /DEPLOY.md
Social Media
-
Twitter/X: [@Adam_shelbie]
-
Discord: [jessy0614]
-
Telegram: [@muhammedadam123]
-
Other:
-
Team: Teamerz1111
-
Built for: 0G WaveHack