We’ve open-sourced our benchmark replay tool to enable independent verification of our results. The tool allows you to reproduce any historical benchmark by replaying trades against the same blockchain state we used.Documentation Index
Fetch the complete documentation index at: https://docs.nexroute.io/llms.txt
Use this file to discover all available pages before exploring further.
Benchmark Replay Repository
nexroute/benchmark-replay
Open-source tool for reproducing benchmark results
Quick Start
-
Clone the repository
-
Install dependencies
-
Configure your environment
Create a
.envfile by copying the example:Edit.envand set your archive node URI:You must use an archive node to replay historical blockchain states. Regular RPC nodes will not work. -
Run a replay
What You Can Do
- Reproduce Historical Trades: Replay any benchmark trade against the exact blockchain state used in our tests
- Verify Results: Compare your local simulation results with our published data
- Custom Analysis: Download trade data and run your own analysis
- Inspect Execution: See detailed transaction traces and state changes
Documentation
For detailed usage instructions, configuration options, and advanced features, see the repository’s README.Trade Data Access
To download benchmark trade data:- Go to the benchmark platform
- Navigate to Rankings → By Run
- Select a run to view its Detailed Results
- Click the ⬇ download button next to any test case to get its JSONL file
npm run replay, the script will:
- Ask you for the path to the downloaded
.jsonlfile - Show you the list of solvers and ask you to pick one to replay
- Fork the blockchain at the exact block and simulate the trade