Skip to content

5. Features_Architecture

Steven edited this page Jun 7, 2025 · 1 revision

Features & Architecture

Features Overview

  • Real-time Transaction Monitoring: Listens to Solana blockchain via WebSocket for wallet activity.
  • Multi-wallet Support: Users can track multiple wallets through Telegram.
  • Detailed Transaction Analysis: Parses transaction logs into buy/sell orders, token transfers, and amounts.
  • Instant Notifications: Sends formatted Telegram messages with detailed transaction output.
  • Historical Data Storage: Uses MongoDB to store all transactions allowing queries and portfolio calculations.
  • PNL Calculation: Calculates Profit and Loss of token transactions.

System Architecture

  • Helius RPC WebSocket: Provides efficient, real-time Solana blockchain data.
  • MongoDB: Stores transaction history and optimizes queries with indexes.
  • Telegram Bot API: Delivers notifications and interactive commands to end-users.

Workflow

  1. Establish WebSocket connection with Helius RPC.
  2. Listen for new transaction logs on tracked wallets.
  3. Parse and analyze transaction details (swap, buy, sell, transfer).
  4. Save transactions to MongoDB.
  5. Send formatted alerts via Telegram bot.
  6. Allow users to manage tracked wallets through Telegram commands.

Clone this wiki locally