Connecting the Standard and Stable AMM: Smart Router

Solarbeam Foundation
2 min readAug 1, 2022


Since the launch of the Stable Swap on Solarbeam & Solarflare we have been thinking on how to offer a better user experience and better trades combining the best of the AMM and the Stable Swap algorithms.

We have come up with the Smart Router, a contract combining the AMM and Stable Swap pools to extract the best route for a trade.

The Smart Router offers a seamless experience for swapping tokens for you to care only about what really matters: Extracting the best outcome in a swap.

How does it work?

The Smart Router logic is handled on-chain in a way that anyone can query and anyone can trade without the need of a central party.

The contract will query all the liquidity sources (AMM pools and StableSwap pools) recursively until it finds the maximum output for your input.

A swap of 1000 BUSD for MOVR without the Smart Router
A swap of 1000 BUSD for MOVR with the Smart Router

Are you ready to use the Smart Router?

Try now on and

Stay tuned for more news!

Solarbeam Foundation — Shine a light on DeFi, powering Moonriver and Moonbeam

Solarbeam | Solarflare| Twitter | Discord | Telegram | Medium



Solarbeam Foundation

Solarflare is a decentralized exchange, providing liquidity and enabling peer-to-peer transactions on the Moonbeam Network.