We are excited to announce a strategic partnership with Serum to collaborate on key projects to improve the utility and liquidity for assets on Solana.

This partnership starts with Solana’s first on-chain cross-protocol aggregator. Mercurial has integrated with Serum to allow users to seamlessly swap from any major stablecoins on Mercurial to Serum tokens with a single, low slippage transaction.

Moving forward, Mercurial and Serum will be collaborating on a range of important initiatives, including leveraging on Serum’s comprehensive liquidity, providing deep stable liquidity to Serum order books, as well as collaborating on mutual education content and community awareness.

On-Chain Swap Integration Between Mercurial And Serum

Serum is one of the largest liquidity sources on Solana and supports the broadest number of pairs with deep liquidity for many of them. Many other dexes in Solana also share liquidity with Serum dex i.e. Raydium — hence integration with Serum will also help us obtain liquidity from other dexes.

At Mercurial, we have some of the deepest liquidity and lowest slippage between all the major stables on Solana, which makes it a natural fit for integration with Serum!

To make the integration as seamless as possible, we have built a unique on-chain program that accepts the key input information from the frontend, handles the interactions between the Mercurial and Serum protocol on-chain and returns the value to the user. This has certain key benefits, which will be elaborated upon later.

Seamless Swaps From Mercurial Stables <-> Any Serum Token

As transparent and straightforward as any swap on Mercurial. Swap in a single transaction and have all the essential information — expected rate, transaction route, minimum received, and Mercurial and Serum LP fees — clearly shown below!

Users can seamlessly swap from any major stablecoins (PAI, UST, USDC) to tokens on Serum with a USDC denominated base.

https://miro.medium.com/max/1400/0*Q9fcRgzhr5NW9QN1

Go from PAI -> BTC seamlessly

https://miro.medium.com/max/1400/0*Up47P-Qjb7EL2ZdR

Or UST -> FTT with very low slippage!

Try it!

You can directly buy a token like MER with PAI. Try it! https://mercurial.finance/swap/PAI-MER

Benefits Of On-Chain Aggregation

One of the awesome features of Solana is allowing for UI-level composing of instructions. Still, in our testing, there are a few reasons why chaining the separate instructions on the frontend is not ideal for this specific use case. Here are some of the key reasons: