π΅οΈ Professional-grade cryptocurrency transaction analysis tool designed for Security Operations Centers (SOC), Digital Forensics and Incident Response (DFIR), and Cyber Threat Intelligence teams.
- Bitcoin (BTC) - Blockstream API (free)
- Ethereum (ETH) - Etherscan free tier + Ethplorer
- Solana (SOL) - Public RPC endpoints
- Tron (TRX) - Public TronGrid API
- Polygon (MATIC) - Public RPC endpoints
- Binance Smart Chain (BSC) - Public RPC endpoints
- Built-in threat intelligence scoring for wallet addresses
- Detects blacklisted, suspicious, or high-risk entities
- Customizable threat feeds and blacklist support
- Risk assessment and scoring algorithms
- Suspicious pattern detection
- Color-coded output using Rich
- Outputs in table, JSON, and CSV formats
- Generates summary reports for each trace session
- Professional ASCII art and branding
- Progress indicators and real-time feedback
- Live transaction monitoring with alerting
- Configurable thresholds and notifications
- Continuous surveillance capabilities
- Alert generation and logging
- Multi-hop transaction tracing
- Address relationship mapping
- Transaction flow visualization
- Behavioral pattern analysis
- Volume and frequency analysis
- Designed for Security Operations Centers
- Digital Forensics and Incident Response teams
- Cyber Threat Intelligence workflows
- Compliance and audit trail support
- Batch analysis capabilities
- Python 3.8 or higher
- pip package manager
# Clone the repository
git clone <repository-url>
cd ChainAnalyzer
# Install dependencies
pip install -r requirements.txt
# Run the tool
python chain_analyzer.py --help
# Install core dependencies
pip install typer rich requests pyfiglet aiohttp pandas
# Optional: Install additional features
pip install matplotlib networkx plotly # For advanced visualizations
pip install reportlab openpyxl # For PDF/Excel export
# Trace an Ethereum address
python chain_analyzer.py trace --currency ethereum 0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6
# Trace a Bitcoin address
python chain_analyzer.py trace --currency bitcoin 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
# Trace with custom parameters
python chain_analyzer.py trace \
--currency ethereum \
--address 0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6 \
--max-hops 10 \
--depth 5 \
--output-format json \
--export
# Analyze threat intelligence for an address
python chain_analyzer.py threat-intel \
--address 0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6 \
--currency ethereum \
--detailed
# Update threat intelligence feeds
python chain_analyzer.py threat-intel \
--address 0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6 \
--currency ethereum \
--update-feeds
# Monitor an address for new transactions
python chain_analyzer.py monitor \
--address 0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6 \
--currency ethereum \
--duration 3600 \
--threshold 1000
# Monitor with custom alert threshold
python chain_analyzer.py monitor \
--address 0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6 \
--currency ethereum \
--threshold 5000 \
--output alerts.txt
# Analyze multiple addresses from CSV file
python chain_analyzer.py batch-analyze \
--file-path addresses.csv \
--currency ethereum \
--format csv \
--concurrent 5
# View current configuration
python chain_analyzer.py config show
# Set configuration value
python chain_analyzer.py config set blockchain_configs.ethereum.rate_limit 10
# Reset to defaults
python chain_analyzer.py config reset
ChainAnalyzer/
βββ chain_analyzer.py # Main CLI application
βββ requirements.txt # Python dependencies
βββ README.md # This file
βββ core/ # Core analysis modules
β βββ tracer.py # Multi-chain transaction tracer
β βββ threat_intel.py # Threat intelligence analysis
β βββ risk_analyzer.py # Risk assessment
β βββ visualizer.py # Transaction visualization
β βββ reporter.py # Report generation
β βββ monitor.py # Real-time monitoring
βββ utils/ # Utility modules
βββ logger.py # Logging utilities
βββ config.py # Configuration management
βββ exporters.py # Export functionality
βββ api_client.py # API client with rate limiting
- Windows:
%USERPROFILE%\.chainanalyzer\config.json
- Linux/macOS:
~/.chainanalyzer/config.json
{
"blockchain_configs": {
"ethereum": {
"enabled": true,
"rate_limit": 5,
"free": true
}
},
"analysis_settings": {
"default_max_hops": 5,
"default_depth": 3,
"max_concurrent_requests": 10
},
"risk_thresholds": {
"low": 0.3,
"medium": 0.6,
"high": 0.8,
"critical": 0.9
}
}
ChainAnalyzer uses ONLY FREE APIs - no paid subscriptions or API keys required:
- Bitcoin: Blockstream API (completely free)
- Ethereum: Etherscan free tier + Ethplorer (free)
- Solana: Public RPC endpoints (free)
- Tron: Public TronGrid API (free)
- Polygon: Public RPC endpoints (free)
- BSC: Public RPC endpoints (free)
- Table: Rich formatted tables (default)
- JSON: Structured JSON output
- CSV: Comma-separated values
- Text: Plain text reports
# Export to JSON
python chain_analyzer.py trace --currency ethereum --address 0x... --format json --export
# Export to CSV
python chain_analyzer.py trace --currency ethereum --address 0x... --format csv --export
# Batch export
python chain_analyzer.py batch-analyze --file-path addresses.csv --format csv
- Blacklist checking across multiple sources
- Suspicious transaction pattern detection
- High-risk address identification
- Mixing service detection
- Darknet market interaction analysis
- Transaction volume analysis
- Frequency pattern detection
- Address age and reputation scoring
- Behavioral anomaly detection
- Risk factor identification
- Real-time transaction monitoring
- Configurable alert thresholds
- Suspicious activity notifications
- Risk level alerts
- Compliance reporting
- Incident response and investigation
- Threat hunting and intelligence gathering
- Compliance monitoring and reporting
- Risk assessment and mitigation
- Cryptocurrency transaction analysis
- Evidence collection and documentation
- Chain of custody tracking
- Expert witness testimony support
- Threat actor profiling
- Campaign analysis and tracking
- Infrastructure mapping
- Intelligence sharing and collaboration
- Regulatory compliance reporting
- Internal audit support
- Risk management frameworks
- Due diligence procedures
ChainAnalyzer includes intelligent rate limiting to respect API limits:
- Bitcoin: 60 requests/minute
- Ethereum: 5 requests/second
- Solana: 100 requests/second
- Tron: 20 requests/second
- Polygon: 30 requests/second
- BSC: 30 requests/second
Contributions are welcome! Please feel free to submit pull requests or open issues for:
- Bug fixes and improvements
- New blockchain support
- Enhanced threat intelligence features
- Additional export formats
- Performance optimizations
This project is licensed under the MIT License - see the LICENSE file for details.
This tool is for educational and legitimate security research purposes only. Users are responsible for complying with all applicable laws and regulations. The authors are not responsible for any misuse of this tool.
For support, questions, or feature requests:
- Check the documentation and examples
- Review existing issues on GitHub
- Create a new issue with detailed information
- Include error messages and configuration details
Stay updated with the latest features and improvements:
# Update the tool
git pull origin main
pip install -r requirements.txt --upgrade
ChainAnalyzer v2.0.0 - Advanced Multi-Blockchain Transaction Forensics Tool
Built for Security Professionals by Security Professionals