Upstart market maker Swaap goes live with new version on Ethereum, Polygon

Swaap introduces a quotation model that is run off-chain, making it possible to run more complex computations

article-image

Anatoli Styf/Shutterstock modified by Blockworks

share

Swaap protocol has launched the v2 of its non-custodial market making infrastructure on Ethereum mainnet and Polygon.

As of May this year, the protocol had just over $2 million total value locked in its contracts, with majority of the tokens denominated in wETH, wBTC and USDC. Swaap’s second version officially went live on July 10 and drew over $1 million in pool liquidity within the first day.

Balancer, the dominant protocol in the automated market maker (AMM) space, boasts $1.1 billion in total liquidity.

Swaap itself is a fork of Balancer v2, but with a twist. Swaap’s quotation model — which checks the recent sale price of any traded assets — is run off-chain, and there is an additional settlement module that has been added to run authenticity and performance checks on quotes.

For users, this means that it is cheaper to use Swaap than other market makers, as its AMM strategies are not dependent on on-chain networks such as Ethereum, Cyrille Pastour, co-CEO and cofounder of Swaap Labs told Blockworks. 

That’s a potentially notable development given the long-standing issue of transaction costs on networks like Ethereum, particularly during periods of heavy activity. 

Pastour said that running off-chain quotes improves the performance of market making strategies. 

“Oracle data are updated several times per second compared to once every 27s at best on-chain,” Pastour said. 

This means that it will be possible to run more complex computations and adapt to market conditions in real time.

Of course, there are always risks involved with off-chain management. Pastour acknowledged three in particular: corruption of price data sources, so-called “fat-finger” errors in models, and malicious actors who could seize control of the quotation module. 

To mitigate these risks, Pastour said Swaap has a rigorous internal control system and follows strict cybersecurity practices. It also utilizes on-chain safeguards that help mitigate risks and limit LP exposure to unforeseen events.

“Swaap v2 employs several pioneering on-chain safeguards, including max imbalance, last look, and max drawdown mechanisms. These protections shield LP funds during extreme market conditions and potential malicious attacks,” he said.

Max imbalance relies on a mechanism that reverts trades which imbalance a pool, and LPs can easily check their imbalance risk exposure. Last look is a tool that is used to reject trades that have quotes which deviate too far from on-chain prices. 

“Max drawdown is our most innovative mechanism,” Pastour said. “It’s a pool-level stop loss. If a trade causes a loss for LPs of more than x% of the pool value in a given time duration, the transaction will be reverted. The x% is an immutable parameter, deployed in the smart contract of the pool. It has been fixed at 4% every 24 hours for the first pools deployed on Swaap.”

Max drawdown is also used as a defense layer from exploitation of the trading function, Pastour explained. Setting a percentage limit on the total amount of funds an attacker can drain. 

“These pioneering mechanisms enable v2 to ensure pool security even amid highly volatile market conditions. It provides robust defense against malicious attacks and extreme scenarios,”  Pastour said.


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the On the Margin newsletter.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.

Tags

Upcoming Events

Salt Lake City, UT

MON - TUES, OCT. 7 - 8, 2024

Blockworks and Bankless in collaboration with buidlbox are excited to announce the second installment of the Permissionless Hackathon – taking place October 7-8 in Salt Lake City, Utah. We’ve partnered with buidlbox to bring together the brightest minds in crypto for […]

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Permissionless is a conference for founders, application developers, and users. Come meet the next generation of people building and using crypto.

recent research

Research Report Templates (1).png

Research

Solana Mobile is a highly ambitious foray into the mobile consumer hardware market, seeking to open up a crypto-native distribution channel for mobile-first applications. The market for Solana Mobile devices has demonstrated a phenomenon whereby external market actors (e.g. Solana-native projects) continuously underwrite subsidies to Mobile consumers. The value of these subsidies, coming in the form of airdrops, trial programs, and exclusive NFT mints, have consistently covered the cost of the phone and generated positive returns for consumers. Given this trend in subsidies, the unit economics in the market for Mobile devices, and the initial growth rate and trajectory of sales, it should be expected that Solana mobile can clear 1M to 10M units over the coming years. As more devices circulate amongst users, Solana Mobile presents a promising venue for the emergence of killer-applications uniquely enabled by this mobile-first, crypto-native distribution channel.

article-image

Plus, breaking down Donald Trump’s shifting crypto stance

article-image

Markets are holding relatively steady despite the supply shock

article-image

Analysts are looking ahead to August, a historically volatile month made more interesting this year by the US presidential election

article-image

Plus, a look into Lighting Labs’ newest feature

article-image

Crypto’s Wild West era is over — it’s time to embrace regulation to secure the future of digital assets

article-image

Plus, Solana has now surpassed Ethereum in trailing 30-day decentralized exchange volume