Alt BotAlt Bot

Architecture

How the main parts of Alt Bot work together.

Main components

ComponentRole
Telegram botReceives commands and renders the chat UI
DatabaseStores users, wallets, trades, positions, and referrals
Redis/BullMQRuns trade and notification queues
Signing serviceDerives wallets, encrypts imported keys, and signs transactions
HyperEVM providerReads balances, simulates, and broadcasts transactions
AltBotRouterRoutes buys and sells through the alt.fun DEX

Trade flow

  1. The user chooses buy or sell in Telegram.
  2. The bot checks amount, balance, and active wallet.
  3. The bot adds a job to the trade queue.
  4. A worker prepares the approval, swap, or trade transaction.
  5. The signing service signs the raw transaction.
  6. The provider broadcasts it to HyperEVM.
  7. The notify worker sends the result back to Telegram.

On this page