跳到正文

0xhype

hyperliquid-tracker

Get notified when big trades happen on Hyperliquid.

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

Hyperliquid Tracker

This bot monitors Hyperliquid trades and sends notifications to a Telegram channel when significant trades occur.

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js (version 22.4.0 or higher)
  • npm (comes with Node.js) - pnpm can be used as well
  • Git (for cloning the repository)

Step-by-Step Setup Guide

1. Clone the Repository trough your terminal

git clone https://github.com/gabriel-azara/hyperliquid-tracker
cd hyperliquid-tracker

2. Create Your Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Start a chat with BotFather and send /newbot
  3. Follow the instructions to create your bot
  4. Save the API token that BotFather gives you - you’ll need it later
  5. Start a chat with your new bot by clicking the link BotFather provides

3. Get Your Telegram Chat ID

  1. Create a new Telegram channel where you want to receive notifications
  2. Add your bot to the channel as an administrator
  3. Forward any message from your channel to @userinfobot
  4. The bot will reply with information including the chat ID (it will look like -100xxxxxxxxxx)

4. Set Up Environment Variables

  1. Create a file named .env in the project root directory
  2. Copy the contents from .env.example into .env
  3. Fill in your Telegram bot token and chat ID and replace the values in your own .env file

5. Install Dependencies

npm install

6. Build the Project

npm run build

7. Start the Bot

npm start

For development, you can use:

npm run dev

Configuration

You can customize the bot by modifying the following in src/config/index.ts:

  • SUPPORTED_COINS: List of cryptocurrencies to monitor
  • MIN_NOTIONAL_VALUE: Minimum trade value to trigger notifications (default: 1,000,000)

Features

  • Real-time trade monitoring on Hyperliquid
  • Automatic notifications for large trades.
  • Support for multiple cryptocurrencies (can be extended)
  • Automatic reconnection on connection loss
  • Health check endpoint

Troubleshooting

  1. Bot not sending messages:

    • Verify your bot token and chat ID in .env
    • Ensure the bot is an administrator in your channel
    • Check if the bot has permission to send messages
  2. Connection issues:

    • Check your internet connection
    • Verify that the Hyperliquid API is accessible
    • Check the console logs for error messages
  3. Node.js version error:

    • Ensure you have Node.js version 22.4.0 or higher installed
    • Run node -v to check your version
    • If needed, update Node.js using nvm

Health Check

The bot includes a health check endpoint running on port 3000. You can access it at the root path /:

http://localhost:3000/

Support

If you encounter any issues or need help, please open an issue on the GitHub repository.

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。