This document provides a comprehensive reference for all environment variables used by Erst.
| Variable Name | Category | Description | Default Value | Example |
|---|---|---|---|---|
ERST_SIMULATOR_PATH |
Simulator | Custom path to the erst-sim binary. If not set, the system will search in common locations (current directory, development path, and system PATH). |
(auto-detected) | /usr/local/bin/erst-sim |
When ERST_SIMULATOR_PATH is not set, the system searches for the simulator binary in the following order:
- Environment Variable:
ERST_SIMULATOR_PATH(if set) - Current Directory:
./erst-sim - Development Path:
./simulator/target/release/erst-sim - System PATH: Any
erst-simbinary in your system PATH
Linux/macOS:
export ERST_SIMULATOR_PATH="/path/to/custom/erst-sim"
./erst debug <transaction-hash>Windows (PowerShell):
$env:ERST_SIMULATOR_PATH = "C:\path\to\custom\erst-sim.exe"
.\erst debug <transaction-hash>Docker:
ENV ERST_SIMULATOR_PATH=/usr/local/bin/erst-simERST_SIMULATOR_PATH="/tmp/debug-sim" ./erst debug abc123...- All environment variables are optional and have sensible defaults
- The simulator binary path detection is designed to work out-of-the-box for development and production environments
- If the simulator binary cannot be found in any location, Erst will display a helpful error message with setup instructions