Simulate Swap / Send

Written by Russo β€’ Updated: July 2025

Simulate Swap Send Overview

Locanox includes a powerful offline simulator that allows you to preview token swaps and send transactions without connecting to the internet. This feature helps you test actions safely, review estimated outcomes, and understand gas costs, all while remaining completely private.

When simulating a swap or token transfer, Locanox uses cached token data, historical price feeds, and a built-in estimation engine to calculate the potential results. You’ll see how much you would receive, approximate gas fees, and any warnings before any real transaction occurs.

Because this happens entirely offline, there’s no risk of accidental spending or data exposure. You’re simply planning, testing, and preparing with zero network activity. Once you go online (if needed), the real transaction can be submitted securely via relay.

πŸ”§ What You Can Simulate

β€’ ETH ⇄ ERC20 swaps using cached market rates

Preview token exchanges with realistic pricing based on stored market data.

β€’ Token send to contacts or wallet addresses

Test sending transactions to verify addresses and amounts before execution.

β€’ Transaction preview with local gas estimates

See estimated gas costs and fees without network calls.

β€’ Slippage and price impact alerts

Get warnings about potential price movements that could affect your transaction.

β€’ Error warnings (invalid tokens, insufficient balance)

Catch common mistakes before attempting real transactions.

β€’ Full dry-run of transaction path without execution

Complete transaction simulation showing every step of the process.

How Simulation Works

The offline simulation system operates through these components:

  1. Cached Market Data: Uses stored price feeds and token information for realistic estimates
  2. Local Gas Calculator: Estimates transaction costs based on current network conditions
  3. Risk Assessment: Identifies potential issues like slippage or insufficient funds
  4. Transaction Preview: Shows complete transaction details before execution
  5. Safety Checks: Validates addresses, balances, and transaction parameters

This simulation system helps users build confidence and plan ahead in a private, sandboxed environment where mistakes have no real-world consequences.