Skip to main content
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.

Benchmark Replay Repository

nexroute/benchmark-replay

Open-source tool for reproducing benchmark results

Quick Start

  1. Clone the repository
    git clone https://github.com/nexroute/benchmark-replay.git
    cd benchmark-replay
    
  2. Install dependencies
    npm install
    
  3. Configure your environment Create a .env file by copying the example:
    cp .env.example .env
    
    Edit .env and set your archive node URI:
    ARCHIVE_NODE_URI=https://your-archive-node-provider.com/bsc/your-api-key
    
    You must use an archive node to replay historical blockchain states. Regular RPC nodes will not work.
  4. Run a replay
    npm run 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

Historical benchmark trade data is available on the benchmark platform.