HLGOBOT - Hyperliquid Wallet Monitor & Anaylzer
A Go-based tool for the Hyperliquid DEX. Features real-time wallet tracking via Telegram and a 'Leaderboard Finder' to discover top traders by performance metrics.
golangmonitoringdefihyperliquidtelegram-botanalytics
HLGOBOT
Go bot for Hyperliquid:
- Wallet monitoring with real-time Telegram notifications
- Leaderboard Finder: find the traders closest to target criteria
๐ Installation
- Clone the repo
git clone https://github.com/youruser/HLGOBOT.git cd HLGOBOT - Install dependencies
go mod tidy
โ๏ธ Configuration
Create a config.json file at the root:
{
"bot_token": "YOUR_BOT_TOKEN",
"chat_id": "YOUR_CHAT_ID"
}
- Get a token via @BotFather on Telegram
- Retrieve your chat_id via the Telegram API
๐ต๏ธโโ๏ธ Monitor a Hyperliquid wallet (watch)
Run the watcher to receive a Telegram notification for every new order:
# From the project root
# Replace <wallet_address> with the address you want to monitor
go run cmd/watch/main.go <wallet_address>
๐ Use the Leaderboard Finder
Find the N traders closest to your target criteria (equity, pnl, volume, etc.):
# Example usage with custom flags
go run cmd/leaderboardfinder/main.go \
-equity=138526.48 \
-pnl=173310.97 \
-volume=11801800.46 \
-period=alltime \
-top=2
๐๏ธ Project Structure
HLGOBOT/
โ
โโโ cmd/
โ โโโ watch/ # CLI for the Telegram watcher
โ โ โโโ main.go
โ โโโ leaderboardfinder/ # CLI for the leaderboard finder
โ โโโ main.go
โ
โโโ internal/
โ โโโ watcher/ # Watcher business logic
โ โ โโโ watch.go
โ โโโ leaderboard/ # Leaderboard finder business logic
โ โโโ finder.go
โ
โโโ config.json # Telegram configuration
โโโ go.mod / go.sum # Go dependencies
โโโ .gitignore
๐ฉโ๐ป Contributing
- Fork the repo, create a branch, submit a PR!
- Add new CLI modules in
cmd/for other use cases (stats, export, etc.) - Add unit tests in
internal/ - Suggest improvements (multi-wallet, multi-chat, other channels...)
๐ Resources
๐ License
MIT