What
Splits buildAndSimulateSoroswapTx for custom networks
Uses the simulate-tx endpoint for other networks
Why
All simulations should go through the backend for non custom networks in order to ensure we can continue to run Freighter on pubnet|testnet without relying on a publicly available instance of Horizon.
Closes #1459 Depends on BE #183
What Splits
buildAndSimulateSoroswapTx
for custom networks Uses thesimulate-tx
endpoint for other networksWhy All simulations should go through the backend for non custom networks in order to ensure we can continue to run Freighter on pubnet|testnet without relying on a publicly available instance of Horizon.