How hyperliquid-dex/node works
This repository supports operating a Hyperliquid node; its README describes the node workflow, while the tree also includes a scheduled data-pruning component. The principal workflow is to configure a chain, obtain the visor binary, and run it to start a node that streams network data. Operators can enable file outputs and local RPC/info services. The repository does not include the visor or node implementation, and no source excerpts were supplied, so internal runtime calls cannot be mapped. The pruning schedule-to-script link is inferred from filenames and shown as unverified.
Main entry points: prune Prune schedule · prune.sh Prune script
Components 13
Node operation
- Chain configuration
- Visor binary
- Hyperliquid node
Data outputs
- L1 data files
- State snapshots
- Optional event files
- Replica commands
Local interfaces
- EVM JSON-RPC
- Info server
Data pruning
- Prune schedule
pruner/cron/cron.d/prune - Prune script
pruner/scripts/prune.sh
Other components
- Node operator
- P2P peers
Connections 11
- Node operator → Chain configuration: configures chain
README.md - Node operator → Visor binary: downloads and runs
README.md - Visor binary → Hyperliquid node: spawns process
README.md - Hyperliquid node → P2P peers: streams from peers
README.md - Hyperliquid node → L1 data files: writes transaction blocks
README.md - Hyperliquid node → State snapshots: writes snapshots
README.md - Hyperliquid node → Optional event files: writes enabled event data
README.md - Hyperliquid node → Replica commands: writes replica commands
README.md - Hyperliquid node → EVM JSON-RPC: serves when enabled
README.md - Hyperliquid node → Info server: serves when enabled
README.md - Prune schedule → Prune script: likely schedules