Atomic Swaps - Synthetix's Mainnet Usecase

Fee Reclamation - A Quick Refresher

Whenever a trade occurs on Synthetix on mainnet, there is a waiting period (10 mins). During this waiting period, users cannot exchange, transfer, or burn the Synth they have just traded into. This waiting period gives the oracles enough time to check the difference between the initial price and the new price — in other words, they check to see if a trade was affected by a lag in price updates. Read more about Fee Reclamation.

While this fee reclamation waiting period protects stakers from front-running, it is a subpar trading experience for most traders. On Optimism, block speeds are much faster, and speeds are lower, which is why fee reclamations aren’t necessary and oracle latency is much less of a problem on Optimism.

Waiting 10 minutes to find out what price your trade settled at isn’t ideal for traders, which is why Atomic Exchanges were introduced.

Atomic Exchanges - Synthetix’s Mainnet Usecase

Atomic Swaps are a new exchange function allowing users to atomically exchange assets without fee reclamation by pricing synths via a combination of Chainlink and DEX oracles (Uniswap V3). Using both chainlink and Uniswap V3 protects stakers from frontrunning and allow traders to access low slippage and low fees from Synthetix. This functionality will only be available on Ethereum's base layer (L1), because there is no fee reclamation on Optimistic Ethereum (oracle latency is much faster).

Atomic exchanges are the reason for most of Synthetix’s mainnet volume on Curve, 1inch, fixed forex, and many other aggregators and integrators. It is a powerful tool that leads to significant volume without frontrunnable risk because of the unique pricing model.

This recent upgrade changes (SIP-198) two major things about Atomic Exchanges:

  1. Allow trading at the pure chainlink price for certain synths.
  2. Remove the restriction on the Source or Destination Currencies being sUSD.

This lets Synthetix exchanges on L1 be atomic (happen in one trade) allows aggreators to go from something like ETH <> sETH <> sUSD <> BTC

Read more about the Atomic Exchange Function updates in SIP-198

Synthetix's Volume Boom - 1inch / Curve Integrations

Synthetix's trading volume has vastly increased in the last few weeks due to 1inch integrating with Atomic Swaps. 1inch traders gain access to another path of liquidity, with no slippage and low fees, and SNX stakers receive trading fees from hundreds of millions in trading volume per day.

An average of $100-200 million in volume are being generated daily, with about $300-600k in trading fees being returned directly to SNX stakers.

Here's an example of a trade routed through Synthetix and Curve by 1inch

Integrating Atomic Swaps helps to provide the best fills for users on 1inch, and other aggregators are planning to integrate. Interested in integrating? Reach out on Discord or Twitter.