Hyperliquid bot for discord, that allows end users to save their wallet, rename wallet, get and track position information. Data is stored in SQLite database for ease of access.
- Manage wallet addresses (add, remove, name)
- Fetch and display position information
- Calculate metrics like PNL, ROE, entry price, current price, and liquidation price
- User-friendly Discord embed responses
- Cute hypurr images depending on PNL
- Node.js (version 14 or higher recommended)
- Discord Bot Token
- Access to Hyperliquid API
-
Clone this repository:
git clone https://github.com/yourusername/hyperliquid-discord-bot.git cd hyperliquid-discord-bot
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add your Discord bot token:DISCORD_BOT_TOKEN=your_bot_token_here
To start the bot, run:
npm start
!help
: Display a list of available commands!wallet [address]
: Add a new wallet or display current wallets!namewallet [address] [name]
: Give a name to a wallet!updatename [address] [new name]
: Update the name of a wallet!removewallet [address]
: Remove a wallet!positions [wallet]
: Display positions for all or a specific wallet




The bot's configuration can be changed and updated in the CONFIG object within main script file.
The bot uses SQLite to store wallet information. The database file (bot_data.sqlite
) will be created automatically in the project directory.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the ISC License.