Skip to main content

Overview

taoflash relay is an MEV-protected transaction relay for Bittensor.

What is MEV?

MEV (Maximal Extractable Value) refers to profit extracted by reordering, inserting, or censoring transactions. Common MEV attacks include:

  • Front-running — Seeing your transaction and placing one ahead of it
  • Sandwich attacks — Placing transactions before and after yours to profit from price movement

How taoflash relay protects you

The relay:

  1. Prepares transaction parameters with MEV protection
  2. Queues your signed transaction
  3. Submits at the optimal block to minimize MEV exposure

Integration Flow

StepEndpointDescription
1POST /prepareGet transaction parameters
2Sign locally (wallet/app/extension)
3POST /queueQueue signed transaction
4GET /status/:tx_idPoll until confirmed