Archival Hyperliquid Node
A modular, high-performance archival Hyperliquid chain based Ethereum node implementation with enhanced capabilities for historical state access, WebSocket support, and optimized proof generation.
Features
🏛️ Comprehensive Archival Support
- Full Historical State Access: Store and query complete historical blockchain state
- Intelligent Caching: Multi-level caching for accounts, storage, and state roots
- Configurable Retention: Flexible policies for data retention and pruning
- Snapshot Support: Periodic state snapshots for fast historical access
🌐 Enhanced WebSocket Server
- Real-time Subscriptions: Support for newHeads, logs, pendingTransactions, and custom stateChanges
- High Concurrency: Handle thousands of concurrent WebSocket connections
- Connection Management: Automatic cleanup of stale connections
- Subscription Filtering: Advanced filtering for logs and state changes
🔍 Optimized Proof Generation
- Parallel Processing: Multi-threaded proof generation for improved performance
- Proof Caching: Intelligent caching of recently generated proofs
- Batch Operations: Generate multiple proofs in parallel
- Extended API: Enhanced eth_getProof with historical block support
🏗️ Modular Architecture
- Component-Based Design: Easily extensible and customizable components
- Provider Abstraction: Clean separation between storage, networking, and RPC layers
- Configuration-Driven: Comprehensive configuration system with validation
- Plugin Support: Easy integration of custom functionality
Key Components
- ArchivalProvider: Enhanced state access with caching
- ArchivalStorageProvider: Optimized storage with compression
- ArchivalWebSocketServer: High-performance WebSocket handling
- ArchivalRpcModule: Extended RPC API with archival methods
- ProofGenerationService: Parallel proof generation with caching