Test Against Live Mainnet State With Network Mirror Mode and Historical Replay
Jun 8, 2026 • 22 minutes ago
Model the performance of your financial strategies against up-to-date oracle prices, actual liquidity, and updated network state. Replicate the exact network behavior by enabling Network Mirror Mode in Virtual Environments, with real mempool, gas, and block execution. Then, paper-trade on synced state or rewind to backtest against historical data and preview strategy performance.
Unlock new onchain flows with Mirror Mode
With a simulation environment that mirrors the exact behavior of Ethereum Mainnet, you can enable new modeling and testing use cases:
- Paper-trade a strategy in live sync against real-time mainnet conditions with no capital at risk, with visual state drift representation to evaluate P&L.
- Backtest by forking a past block, changing strategy parameters, and replaying forward to see how it plays out.
- Stress-test risk and liquidation logic against a market crash, or reproduce a trading incident by rewinding the state and re-running it.
- Stage the offchain and chain indexing systems dependent on chain state, including execution automation, risk and margin engines, oracle consumers, and reconcilers, to validate system behavior and iterate for better P&L.
Turn a Virtual Environment into a live replica
Instead of testing on static forks, model and validate different scenarios in a Virtual Environment synchronized with Ethereum Mainnet block-for-block. Enable Network Mirror Mode to track the onchain state, with real transactions, a live mempool, and real events, producing realistic results as if they were executed in production.

With Mirror Mode on, Virtual Environment reflects Mainnet’s current block context, real values, and gas-price curve. Pending mainnet transactions appear in the Virtual Environment’s pending transactions, while the ones you submit land at the front of the next synced block. A live indicator tells you at a glance whether you're synced, catching up, or paused.
Control time from a single strip
Stage your financial strategy and watch it play out against a custom state. Rewind by a specific number of blocks, pause the sync, sync the next mainnet block one step at a time, or start continuous auto-sync.

Further adjust the Virtual Environment state by applying cheatcodes directly from the Dashboard to run any custom scenario you want to test.

Backtest against the historical state
Preview the effectiveness and performance of your strategy under real market conditions and iterate to optimize returns. Fork Ethereum Mainnet at any past block to recreate historical conditions and backtest your financial strategy.

Compare the state against the mainnet conditions
See how your environment diverges from the Mainnet to evaluate potential profits and losses. Track how changes to your strategy affect its performance by comparing contract and balance drifts from the Mainnet state. Select which contracts, wallets, and tokens you want to observe as you continue modeling your strategy.

Model against production conditions safely
Mirror mainnet block-for-block, rewind and replay, and evaluate P&L by examining drifts from the mainnet state. Iterate on your strategy, run live paper trading, and execute onchain with confidence.