Relay Selection Strategy Tester
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Relay Selection Strategy Tester provides comprehensive testing for relay selection strategies in MEV-Boost and PBS systems, enabling validators, infrastructure operators, and protocol developers to optimize relay selection decisions. It retrieves on-chain relay contracts and registration data via eth_getCode and fetches verified source code and ABI from block explorer APIs. The tool analyzes relay performance metrics including inclusion rate, latency, and uptime, and processes validator preferences and selection criteria. It simulates the relay selection process by evaluating each relay against configurable selection criteria—including score weights (score, fee, uptime), minimum score thresholds, and maximum fee limits. The output includes a selection status (Selected, No Eligible, or Failed), the selected relay, a selection score, a detailed relay matrix showing each relay's name, score, raw score, fee, uptime, eligibility status, and selection status, and actionable recommendations for optimizing relay selection—such as adjusting selection criteria weights, increasing the minimum score threshold, or reviewing relay fee structures. This enables validators and infrastructure operators to test and optimize relay selection strategies before deploying them in production.
HOW TO USE
Connect your BGWallet to the target EVM chain. Enter the validator address that will be selecting relays. Provide the relay list as a JSON array containing relay objects with name, endpoint, score, fee, and uptime. Provide the selection criteria as a JSON object containing weights (score, fee, uptime), minScore, and maxFee. Optionally supply a GitHub repository URL to pull relay implementation details and selection strategy specifications for additional context. The tool evaluates each relay against the selection criteria and generates a comprehensive selection report. Review the selection status, selected relay, selection score, relay matrix, and recommendations. Use the results to optimize your relay selection strategy and improve validator outcomes.
RELAY SELECTION STRATEGY OPTIMIZATION AND PERFORMANCE ANALYSIS ENGINE
The real technical mechanism is the relay selection strategy optimization and performance analysis engine that combines relay performance data with validator preference modeling. The tool first retrieves relay performance metrics from on-chain data and/or user-provided data, including inclusion rates (the percentage of slots where the relay's payload is included), latency (response time), and uptime (availability). It then processes the validator's selection criteria, which define the relative importance of different metrics and the minimum acceptable thresholds. The engine computes a weighted score for each relay by normalizing each metric and applying the user-defined weights: score weight (default 0.4), fee weight (default 0.3), and uptime weight (default 0.3). The normalized score is calculated as: (score/100 * weight_score) + (1 - min(1, fee/0.1) * weight_fee) + (uptime/100 * weight_uptime) * 100. The engine then filters relays based on the minimum score and maximum fee thresholds, and selects the relay with the highest weighted score among eligible candidates. The relay matrix provides a clear view of each relay's performance and eligibility, enabling users to understand the selection decision. This approach provides validators with a data-driven, automated way to optimize relay selection, improving inclusion rates and validator rewards while managing costs and risks.
WHAT IT CANNOT SEE
This tool cannot generate a complete relay selection strategy test without access to relay contract bytecode or performance data. It is limited by your RPC provider's rate limits for data retrieval, which may delay analysis on congested networks. It cannot determine if the relay selection strategy correctly optimizes validator outcomes without executing the selection logic—simulation provides insights but does not replace real-world validator performance. The detection relies on the completeness of the ABI and source code verification; unverified contracts or incomplete verification data will produce incomplete or inaccurate results. Detection is based on bytecode pattern matching and may miss indirect or obfuscated selection logic, such as selection logic hidden in libraries or via delegate calls. The tool cannot assess runtime behavior or performance implications of relay selection, such as how selection strategies perform under different network conditions or relay performance variability. It may produce false positives for data that appears similar to relay data but is used for other purposes. The tool does not execute the contract to validate selection, so it cannot confirm that the selected relay would actually perform as expected. It cannot account for network-specific relay implementation differences or future upgrades—different networks may have different relay architectures, performance characteristics, or selection requirements. Relay selection strategy mechanics may vary across networks and change over time as relay infrastructure evolves.
PLEASE NOTE
This tool works exclusively with EVM-compatible chains that support MEV-Boost and relay infrastructure. It requires active internet connectivity to access block explorer APIs and RPC endpoints. Some block explorers may require API keys for high-volume data retrieval. The tool is read-only and does not execute any transactions—it only produces selection assessments. Relay selection is critical to validator performance and MEV-Boost outcomes; always verify selection results against actual relay performance logs and test on testnet before mainnet deployment. Different relay selection strategies may be optimal for different validator configurations and risk tolerances.