Using Rust;
Monitor specified Solana programs with the provided gRPC endpoints.
Parse transactions to extract trade and pool data.
Apply a configurable gRPC filter to include only pools with:
Minimum liquidity and minimum volume (configurable in settings file).
Calculate market rates from raw pool and trade data for each program, using the formula Rate = Quote / Base, yielding Trade Rate and Pool Rate.
Display
Using Crossterm and Tui libraries in Rust, output rates in a fixed table format on the terminal console UI, with real-time ticker updates triggered by new transactions.
Logging
Implement logging (enabled in dev mode) to record the timestamp of transaction detection and rate output, proving a 1ms performance requirement.
Ensure the script is scalable, secure, and compatible with the Client’s provided server.
Isolate all settings (e.g., gRPC filter parameters, UI configurations) in a single configuration file (e.g., .env).
... Show more