Simulate Swap / Send
Written by Russo β’ Updated: July 2025
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:
- Cached Market Data: Uses stored price feeds and token information for realistic estimates
- Local Gas Calculator: Estimates transaction costs based on current network conditions
- Risk Assessment: Identifies potential issues like slippage or insufficient funds
- Transaction Preview: Shows complete transaction details before execution
- 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.