AI-powered, multi-chain DeFi portfolio risk monitoring with autonomous agents
Monitor crypto portfolios across Solana + 12 EVM chains, analyze risks using SingularityNET MeTTa AI, detect fraud, and receive real-time alerts via ASI:One chat.
- Solana Integration
- Key Features
- Architecture
- Quick Start
- Solana Usage
- Risk Scoring
- Supported Chains
- Documentation
- Technologies
- Recognition
- Security
- Contact
- License
DeFiGuard now features comprehensive Solana blockchain support:
| Feature | Description |
|---|---|
| Wallet Monitoring | Track SOL + all SPL token balances |
| Fraud Detection | Solana-specific scam analysis |
| Mint Authority Check | Detects tokens with active mint authority (rug risk) |
| Freeze Authority Check | Warns when tokens can be frozen |
| RugCheck Integration | Community-verified scam database |
| Jupiter Verification | Confirms tokens on trusted lists |
| Holder Analysis | Concentration risk for Solana tokens |
- Native: SOL
- Stablecoins: USDC, USDT
- DeFi: RAY, ORCA, JUP, MNDE, Jito
- Liquid Staking: mSOL, jitoSOL
- Meme Coins: BONK, WIF (flagged as high-risk)
| Feature | Chains | Technology |
|---|---|---|
| β Multi-Chain Monitoring | Solana + 12 EVM | Native RPC integration |
| π§ AI Risk Analysis | All chains | SingularityNET MeTTa |
| π¬ Chat Interface | N/A | ASI:One + ASI-1 model |
| π¨ Real-Time Alerts | All chains | Instant notifications |
| π΅οΈ Fraud Detection | Solana + EVM | GoPlus, RugCheck, Jupiter |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β USER INTERFACE β
β (ASI:One Chat) β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββ
β Alert Agent β βββ Real-time Notifications
β (Chat Protocol) β
ββββββββββ¬ββββββββββββββββ
β
βββββββββββββΌββββββββββββ¬βββββββββββ
βΌ βΌ βΌ βΌ
ββββββββββββ ββββββββββββ βββββββββββ ββββββββββββ
βPortfolio β β Risk β β Market β β Fraud β
β Monitor β β Analysis β β Data β β Detectionβ
β Agent β β Agent β β Agent β β Agent β
ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬βββββ ββββββ¬ββββββ
β β β β
ββββββββββββββ΄βββββββββββββ΄ββββββββββββ
β
ββββββββββββββββ΄βββββββββββββββ
β Blockchain APIs β
β β Solana RPC β
β β EVM RPCs (12 chains) β
β βΏ CoinGecko β
β β GoPlus / RugCheck β
βββββββββββββββββββββββββββββββ
python --version # 3.10+# Clone repository
git clone https://github.com/DhanteyUD/DeFiGuard.git
cd DeFiGuard
# Create virtual environment
python -m venv venv
source venv/bin/activate # Mac/Linux
# venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Add your AGENT_SEEDS
# Run tests
python tests/test_solana_integration.py
# Start all agents
python main.pyVia ASI:One Chat:
register 9WzDXwBbmPdCBoccoc9Ra8JVoJLxp6YhHvCKioeNFfZY solana
from uagents import Agent, Context, Model
class TokenAnalysisRequest(Model):
token_address: str
chain: str
# Request fraud analysis for a Solana token
request = TokenAnalysisRequest(
token_address="DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263", # BONK
chain="solana"
)
await ctx.send(FRAUD_AGENT_ADDRESS, request)| Risk Factor | Weight | Description |
|---|---|---|
| Mint Authority Active | 25% | Can create unlimited tokens |
| Freeze Authority Active | 30% | Can freeze your tokens |
| Holder Concentration | 25% | Top holder owns >30% |
| Low Liquidity | 20% | Hard to exit position |
Risk Score = (Concentration Γ 0.30) + (Volatility Γ 0.35) +
(Asset Quality Γ 0.20) + (Chain Diversity Γ 0.15)
| Risk Level | Score | Indicators |
|---|---|---|
| π’ Safe | 0-19 | Verified, authority revoked |
| π‘ Low | 20-39 | Minor concerns |
| π Medium | 40-59 | Multiple warnings |
| π΄ High | 60-79 | Significant red flags |
| β« Critical | 80-100 | Likely scam/rug pull |
- β Solana Mainnet - Full SPL token support
- Ethereum, BSC, Polygon, Arbitrum, Optimism
- Avalanche, Base, Fantom, Gnosis
- Moonbeam, Celo, Cronos
| Document | Description |
|---|---|
| MeTTa Integration | AI knowledge graph |
| Agent Docs | Individual agent specs |
| Component | Technology |
|---|---|
| Agent Framework | Fetch.ai uAgents v0.22.10 |
| AI Reasoning | SingularityNET MeTTa |
| Solana | solana-py, RugCheck API |
| EVM | Web3.py, GoPlus API |
| Chat | ASI:One Protocol |
| Language | Python 3.12 |
- π₯ Colosseum Cypherpunk Hackathon Winner
- π― ASI Alliance Hackathon Participant
- β Read-only monitoring (no private keys)
- β ERC-55 + Base58 address validation
- β Rate limiting on all APIs
- β Error isolation across agents
- GitHub: DhanteyUD/DeFiGuard
- Demo v1: YouTube
- ASI:One: Search
DeFiGuard-2.0
MIT License - Open Source
Built with β€οΈ by DhanteyUD
Protecting DeFi portfolios across Solana and beyond π‘οΈβ
Powered by ASI Alliance | Fetch.ai uAgents | SingularityNET MeTTa | Solana