A sophisticated real-time visualization tool for the Ergo blockchain mempool, featuring multiple interactive visualization modes, transaction origin detection, and advanced packing algorithms.
- Real-time Transaction Monitoring: Live updates from the Ergo blockchain mempool
- Multiple Visualization Modes: Four different ways to visualize transaction data
- Transaction Origin Detection: Automatically identifies transactions from major Ergo platforms
- Advanced Packing Algorithm: Gravity-based bottom-up packing simulation
- Wallet Integration: Connect your Ergo wallet to highlight your transactions
- Responsive Design: Works seamlessly across desktop, tablet, and mobile devices
- Platform Activity Tracking: Monitor activity from DEXs, bridges, mining pools, and more
The main visualization mode that simulates how transactions would be packed into blocks using a gravity-based algorithm.
- Algorithm: Bottom-up gravity packing with responsive spacing
- Features: Real-time capacity monitoring, packing efficiency display
- Interactions: Add test transactions, repack with gravity simulation
- Color Coding: Transactions colored by value (blue โ purple โ red for increasing values)
An artistic hexagonal visualization that shows transaction packing in a honeycomb pattern.
- Layout: Hexagonal grid with automatic packing animation
- Animation: Smooth transitions and packing sequences
- Best For: Presentations and aesthetic appeal
A dynamic physics simulation where transactions are represented as balls with realistic physics.
- Physics: Gravity, friction, collision detection, and pressure simulation
- Features: Block mining animations, capacity pressure effects
- Interactions: Balls settle naturally, respond to new transactions
- Visual Effects: Pressure-based color shifts and scaling
A clean, table-like grid layout for detailed transaction analysis.
- Layout: Organized rows and columns
- Information: Detailed transaction metadata
- Best For: Analysis and data inspection
The app automatically detects transactions from major Ergo ecosystem platforms:
- ErgoDEX - Blue (
#3498db) - Spectrum Finance - Various colors
- Mew Finance - Various colors
- Rosen Bridge - Orange (
#e67e22)
- Ergomixer - Purple (
#9b59b6)
- SigUSD - Red (
#e74c3c) - SigmaFi - Dark blue (
#34495e) - Duckpools - Various colors
- 2Miners - Auto-detected payouts
- Woolypooly - Auto-detected payouts
- Herominers - Auto-detected payouts
- And many more...
- KuCoin - Auto-detected deposits/withdrawals
- Gate.io - Auto-detected transactions
- MEXC - Auto-detected transactions
- And many more...
- Auction House - NFT marketplace
- Duckpools - Gaming platform
- Ergo Raffle - Community raffles
- And 20+ more platforms
- Light Blue (
#3498db): Low value transactions (0-20% of max) - Medium Blue (
#2980b9): Low-medium value (20-40% of max) - Purple (
#9b59b6): Medium value (40-60% of max) - Dark Purple (
#8e44ad): Medium-high value (60-80% of max) - Red (
#e74c3c): High value (80-90% of max) - Dark Red (
#c0392b): Highest value (90-100% of max)
- Wallet Transactions: Gold border (
#f39c12) with glow effect - Test Transactions: Orange border with "๐งช" indicator
- Donation Transactions: Red with "๐" indicator
The core packing algorithm simulates how transactions would be efficiently packed into blocks:
- Density-Based Spacing: Automatically adjusts spacing based on container size
- Bottom-Up Priority: Transactions settle towards the bottom like gravity
- Collision Detection: Prevents overlapping transactions
- Capacity Limits: Respects Ergo's 2MB block size limit
- Responsive Design: Adapts to different screen sizes
// API refresh intervals (easily configurable)
TRANSACTIONS_INTERVAL: 10000, // 10 seconds
BLOCKS_INTERVAL: 60000, // 1 minute
PRICE_INTERVAL: 300000, // 5 minutes
// Visual parameters
minSpacing: responsive, // Dynamic based on screen size
maxAttempts: 200, // Placement attempts per transaction
edgePadding: scaled, // Proportional to containerThe algorithm provides real-time statistics:
- Block Capacity: 2MB limit visualization
- Mempool Size: Current transaction count
- Utilization: Percentage of block space used
- Efficiency: Packing algorithm efficiency
- Status: Ready/Packing/Full indicators
- Node.js 18+
- npm, pnpm, or yarn
- Modern web browser with ES2020+ support
The app includes configurable API refresh intervals in +page.svelte:
const API_REFRESH_CONFIG = {
TRANSACTIONS_INTERVAL: 10000, // Adjust refresh rate
BLOCKS_INTERVAL: 60000,
PRICE_INTERVAL: 300000,
ENABLE_AUTO_REFRESH: true, // Toggle auto-refresh
MAX_CONSECUTIVE_FAILURES: 3, // Error handling
};The app connects to Ergo blockchain APIs:
- Transactions:
/api?endpoint=transactions - Blocks:
/api?endpoint=blocks - Price:
/api?endpoint=price
Error handling includes:
- Automatic retries with exponential backoff
- Fallback data preservation
- Network error recovery
- Server error handling
- Mode Selector: Switch between visualization modes
- Refresh Button: Manual data refresh
- Test Transactions: Add dummy transactions for testing
- Repack Button: Trigger gravity-based repacking
- Connect Wallet: Support for Nautilus, Eternl, Minotaur
- Transaction Highlighting: Your transactions get special styling
- Address Detection: Automatic detection of wallet transactions
- Live Updates: Configurable refresh intervals
- Block Mining: Animated block confirmation
- New Transactions: Smooth entry animations
- Capacity Monitoring: Real-time block space tracking
- Total transactions in mempool
- Block capacity utilization
- Packing efficiency percentage
- Average transaction size
- Bottom-heaviness metric
- Transaction count by platform
- Volume by platform
- Activity trends over time
- Origin distribution
- API response times
- Update frequencies
- Error rates
- Data freshness indicators
- Fork the repository
- Create a feature branch
- Make your changes
- Add platform configurations if needed
- Test thoroughly
- Submit a pull request
Built with โค๏ธ for the Ergo ecosystem