Whisky Explorer
The Whisky Explorer is a comprehensive web-based dashboard that provides real-time monitoring, analytics, and management tools for the Whisky Gaming Protocol. It serves as the monitoring layer, offering transparency and visibility into all protocol activities.Overview
The Explorer provides:- Live Monitoring: Real-time game and pool monitoring
- Analytics Dashboard: Comprehensive data visualization
- Pool Management: Liquidity pool administration
- Transaction Tracking: Detailed transaction history
Features
Real-time Dashboard
- Live game feeds and statistics
- Pool liquidity monitoring
- Player activity tracking
- Protocol performance metrics
Analytics & Charts
- Volume and profit charts
- Player leaderboards
- Platform performance metrics
- Historical data analysis
Pool Management
- Create and configure pools
- Deposit and withdraw liquidity
- Monitor pool performance
- Manage pool settings
Transaction Explorer
- Detailed transaction history
- Game result verification
- Pool change tracking
- Fee distribution monitoring
Access
Production
Development
Main Sections
Dashboard
The main dashboard provides an overview of protocol activity:- Recent Games: Latest settled games with results
- Top Players: Leaderboard of highest performers
- Pool Overview: Liquidity and volume statistics
- Platform Stats: Creator and platform performance
Games
Track individual games and their outcomes:- Game History: Complete history of all games
- Game Details: Individual game information and verification
- Result Verification: Cryptographic proof of fairness
- Player Activity: Individual player game history
Pools
Manage and monitor liquidity pools:- Pool List: All available gaming pools
- Pool Details: Individual pool statistics and settings
- Liquidity Management: Deposit and withdraw functionality
- Pool Analytics: Performance metrics and charts
Players
Monitor player activity and performance:- Player Search: Find specific players by address
- Player Profiles: Detailed player statistics
- Performance Charts: Player performance over time
- Game History: Complete player game history
Platforms
Track platform and creator performance:- Platform Rankings: Top platforms by volume
- Creator Analytics: Individual creator performance
- Revenue Tracking: Fee collection and distribution
- Activity Metrics: Platform engagement statistics
Key Components
Navigation
The Explorer features a comprehensive navigation system:Real-time Updates
The Explorer uses WebSocket connections for real-time updates:Data Visualization
Charts and graphs for analytics:Usage Examples
Viewing Recent Games
- Navigate to the Dashboard
- Scroll to “Recent Games” section
- Click on any game to view details
- Verify the game result using cryptographic proof
Monitoring a Pool
- Go to Pools section
- Select a specific pool
- View real-time statistics:
- Total liquidity
- Recent activity
- Volume charts
- Fee collection
Tracking a Player
- Navigate to Players section
- Search for player by wallet address
- View player profile:
- Total games played
- Win/loss ratio
- Profit/loss statistics
- Game history
Creating a Pool
- Click “Create Pool” button
- Select token type (USDC, SOL, etc.)
- Set minimum and maximum wager limits
- Configure pool fees
- Deploy the pool
API Integration
The Explorer integrates with the Whisky API for data:Data Sources
Blockchain Data
- Direct Solana RPC queries
- Program account monitoring
- Transaction history tracking
API Data
- Whisky API integration
- Aggregated statistics
- Historical analytics
Real-time Feeds
- WebSocket connections
- Live game updates
- Pool change notifications
Security Features
Data Verification
- Cryptographic proof verification
- Transaction signature validation
- Account state verification
Access Control
- API key authentication
- Rate limiting
- Request validation
Privacy Protection
- Wallet address anonymization
- Sensitive data filtering
- GDPR compliance
Performance Optimization
Caching Strategy
Database Optimization
- Indexed queries for fast lookups
- Partitioned tables for historical data
- Connection pooling for efficiency
CDN Integration
- Static asset delivery
- Global content distribution
- Cache optimization
Monitoring & Alerts
System Monitoring
- API response times
- Database performance
- Error rates and types
- User activity metrics
Alert System
- Pool liquidity alerts
- Transaction failure notifications
- System downtime alerts
- Performance degradation warnings
Logging
- Structured logging
- Error tracking
- User activity logs
- Performance metrics
Customization
Theme Customization
Component Customization
- Customizable dashboard layouts
- Configurable chart types
- Flexible data display options
- Brand integration capabilities
Development
Local Development
Environment Variables
Building for Production
Deployment
Vercel Deployment
Docker Deployment
Troubleshooting
Common Issues
API Connection Errors- Verify API key is correct
- Check network connectivity
- Ensure API endpoint is accessible
- Clear browser cache
- Check API rate limits
- Verify data source availability
- Monitor database performance
- Check CDN configuration
- Review caching strategy
Debug Mode
Support
For Explorer support and questions:- Documentation: This documentation
- Community: Discord Server
- Issues: GitHub Issues
- Email: support@whisky.casino
Roadmap
Planned Features
- Mobile App: Native mobile application
- Advanced Analytics: Machine learning insights
- API Marketplace: Third-party integrations
- Social Features: Community and social gaming
- Enterprise Features: Business analytics and reporting
Performance Improvements
- Real-time Updates: WebSocket optimization
- Data Compression: Efficient data transfer
- Caching Enhancement: Multi-level caching
- Database Optimization: Query performance improvements
