Sol RiskRaider
RiskRaider is an advanced Discord bot designed for comprehensive NFT wallet risk analysis (EVM + Solana) and community engagement
Videos
Description
๐ก๏ธ RiskRaider - Advanced NFT Risk Analysis Discord Bot
RiskRaider is an advanced Discord bot designed for comprehensive NFT wallet risk analysis (EVM + Solana) and community engagement. Built with cutting-edge technology and professional-grade architecture, RiskRaider helps Discord communities make informed decisions about wallet interactions while providing entertainment and moderation features.
๐ Key Features
๐ Advanced Multi-Chain Wallet Risk Analysis
Ethereum / EVM Chains (Ethereum, Polygon, BSC)
Comprehensive analysis using bitsCrunch API
AI-powered wallet scoring (0โ100)
Transaction pattern & anomaly detection
Solana
Solana Wallet Analysis via RPC / Helius API
Real-time balance & transaction tracking
Scam program detection & suspicious token transfer alerts
AI-powered Solana wallet scoring (0โ100)
Cross-Chain Detection
Identify connected wallets across EVM + Solana
Unified color-coded embeds and risk indicators
๐ฎ Interactive Entertainment
Coin Flip, Rock Paper Scissors, Tic-Tac-Toe
Number Guessing, Trivia Quiz, Magic 8-Ball
๐ก๏ธ Professional Moderation
Advanced kick/ban with reason logging
Timeout & bulk message purging
Warning system with progressive discipline
Role-based admin controls
๐ Performance Monitoring
Real-time system & bot metrics
Command usage analytics
Error logging & uptime monitoring
Resource usage tracking (CPU, memory, disk)
๐จ Beautiful UI Design
Glassmorphism effects & branded embeds
Colorful charts (Chart.js)
Animated interactions (60fps)
Mobile-responsive layouts
๐๏ธ Architecture
Cog-based Modular System
Async/Await high-performance ops
SQLite DB with migrations
Multi-Chain API Integrations
EVM: bitsCrunch
Solana: RPC / Helius / Shyft
Caching & Rate Limiting
Comprehensive Logging & Error Handling
โ๏ธ Installation & Setup
Prerequisites
Python 3.8+ (recommended: 3.11+)
Discord Developer Account
API Keys
bitsCrunch API (EVM wallet risk analysis)
Solana RPC / Helius API (Solana wallet risk analysis)
OpenRouter API (optional, for AI insights)
๐ Quick Start
Clone Repository
git clone https://github.com/Aaditya1273/RiskRaider.git
cd RiskRaider
Install Dependencies
Environment Configuration
Copy .env.example
โ .env
and fill values:
DISCORD_TOKEN=your_discord_bot_token
BITSCRUNCH_API_KEY=your_bitscrunch_api_key
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
HELIUS_API_KEY=your_helius_api_key # optional
OPENROUTER_API_KEY=your_openrouter_api_key # optional
PREFIX=!
INVITE_LINK=your_bot_invite_link
Create Discord Application
Go to Discord Developer Portal
Create an app & bot โ Copy token to
.env
Enable Message Content Intent
๐ Usage Guide
๐ NFT & Wallet Risk Analysis
/nft_check <wallet_address> # EVM NFT wallet risk (ETH/Polygon/BSC)
/risk_report <wallet_address> # Detailed EVM wallet risk assessment
/wallet_check eth <eth_wallet_address> # Multi-chain: Ethereum wallet check
/wallet_check sol <sol_wallet_address> # Multi-chain: Solana wallet check
๐ฎ Games
/coinflip <heads|tails>
/rps <rock|paper|scissors>
/tictactoe @user
/guess <min> <max>
/trivia
/8ball <question>
๐ก๏ธ Moderation
/kick @user [reason]
/ban @user [reason]
/timeout @user <duration>
/purge <amount>
/warn @user <reason>
โก Utility
/ping
/info
/help
/stats
๐ช Wallet Connection (EVM + Solana)
EVM Wallets (Ethereum, Polygon, BSC) โ MetaMask
Solana Wallets โ Phantom / Solflare
MetaMask Solana Snap (Experimental) โ Enables Solana support directly in MetaMask
Users can connect either MetaMask (EVM) or Phantom (Solana) and analyze wallets seamlessly.
๐ณ Docker Deployment
docker compose up -d --build # Run bot in background
docker compose logs -f # View logs
docker compose down # Stop bot
๐ง Development Setup
pip install -r requirements.txt
python bot.py
export LOG_LEVEL=DEBUG # optional
๐ฅ Advanced Features
Multi-layered wallet risk analysis (EVM + Solana)
Real-time API integration with caching
AI-generated risk summaries (OpenRouter)
Visual color-coded scoring system (0โ100)
Monitoring dashboard & auto backups
๐ Troubleshooting
Bot not responding โ Check intents & permissions
NFT analysis not working โ Verify API keys
Permission errors โ Ensure bot has Admin role
Solana errors โ Verify
SOLANA_RPC_URL
orHELIUS_API_KEY
๐ค Contributing
Follow PEP 8 style guide
Add tests for new features
Use conventional commits
๐ Versioning
Current Version: 8.0.0 โ Multi-Chain Edition (ETH + Solana)
๐ License
This project is licensed under the Apache License 2.0.
๐ Acknowledgments
Discord.py community for docs
bitsCrunch team for NFT analytics
Helius / Solana RPC providers
All contributors who helped expand RiskRaider
Progress During Hackathon
Core Bot Framework: Modular cog-based architecture built in Python with discord.py. EVM Risk Analysis: Integrated bitsCrunch API for Ethereum/Polygon/BSC wallet & NFT analysis. AI-Powered Insights: Added OpenRouter AI for natural-language risk summaries. Solana Integration: Connected to Solana RPC + Helius API. Implemented wallet balance, transaction history, and suspicious transfer detection. Introduced AI-powered Solana risk scoring (0โ100). Wallet Connection Options: EVM wallets via MetaMask. Solana wallets via Phantom / MetaMask Snap (experimental). Discord Commands: /wallet_check eth <address> โ Ethereum/EVM wallet analysis. /wallet_check sol <address> โ Solana wallet analysis. UI & UX Improvements: Glassmorphism embeds with color-coded risk levels. Chain-specific branding (๐จ ETH / ๐ฆ SOL). Entertainment Features: Added games (Tic-Tac-Toe, RPS, Trivia) for community engagement. Moderation Tools: Advanced ban/kick, timeout, purge, and warning system. Deployment Ready: Dockerized for production with caching & rate limiting.
Tech Stack
Fundraising Status
NA