Skip to content

A bundle explorer on the terminal for jito solana's mempool

Notifications You must be signed in to change notification settings

anoushk1234/tmev

Repository files navigation

Tmev

A searcher's terminal UI dashboard built using tui.rs crate

Prelude

Jito solana is a validator optimised for mev on solana. The way it works is jito has a block engine that gets transactions forwarded by the relayer, once it gets the pending txns the searchers can group these into optimised bundles and include a tip for doing so, the bundles are then sent to the validator and the transactions are executed

So what are we solving

We're solving two problems:

Tmev cli app

  • Queries the latest arbitrages from Jito's MEV dashboard and displays it in a nice tabular form. In addition to that,
  • Displays the bundles sent by all the searchers in the network .
  • Displays current searchers' sent bundles queried by their public key.
  • Displays tips earned by individual bundles with a pretty ui.
  • Built in rust for blazingly(lol) fast cli that doesn't take all your ram.

Usage

  • Add a .env in searcher-api, refer .env.example .
  • Run cargo r -r or sh watch.sh in searcher-api/ as this will start the server.
  • Run cargo r -r -- --arbs <searcher-pubkey> or sh install.sh in your terminal
  • After the terminal displays you could use Left or Right arrow keys to navigate between tabs.
  • To scroll use Up or Down arrow keys and to quit press Q.

Bundle Stream

  • Captures all bundles from latest blocks that have been submitted by all searchers.
  • Uses gRPC streams to serve the latets bundles that have landed
  • Built on Jito's Starrider RPC
  • Uses existing RPC Infra and can easily be tweaked for Jito's upcoming gRPC block stream based on geyser.