DeFi Maturity Calls for Shift from AMMs to Central Limit Order Books - Vitali Dervoed(Composability)

ETHMilan 2024 · 18 Oct 2024 · 14:48

Vitali Dervoed, CEO of Composability Labs, compares automated market makers with central limit order books. They credit AMMs with making DeFi inclusive, argue that professional trading and market making are better served by order books, and describe Spark, a state-minimized, fully onchain order book built on the Fuel rollup. The talk covers liquidity pricing, market makers and institutions, and trade-offs against centralized exchanges.

Speakers

Topics

From ETHMilan 2024, hosted by ETH Milan.

Transcript

hey everyone wow cool mic um thanks for coming I wish I could see you better but first question I was going to ask was who went to Singapore who've been there recently okay cool great uh good to see you here as well so I'm Vitali CEO at composability Labs we built spark spark is a central limit order book one of the few on chain order books in crypto and uh let me introduce uh myself in the background so before spark I was building on salana for almost three years I started on

testet in February 2020 I participated in the first Solana hackathon and the second Solana hackathon as well I was building neon evm and uh I was doing growth at mango markets and I was contributing to a bunch of other Solana ecosystem projects before Solana I was building um ethereum scalability Solutions mostly plasma but that was like second bar market so a long time ago on Solana we had a bunch of issues with u uh storing State on chain so the whole mission the whole Vision behind spark is

to build an adoptable order book that can easily onboard spot and per Traders um and again we have removed a bunch of um issues that that we had on serum there like for instance we do not store State on chain and uh uh we match the orders way more um efficiently I have another question how many of you are Traders here okay not so many so in this presentation I'm not going to prove that order books are better than amms or worse I'm just going to like share my

opinion and uh here is the thing amm's heads off has been with us for a while like Unis Swap and uh other pool-based products these are Staples of defi today especially evm based defi these guys have made this industry more inclusive and they brought a lot of users especially from the bank areas uh to this industry they made Finance as a as a space more accessible for for Humanity so it's it's a great achievement that crypto has brought to well to the world now order books is not a new product order books have been with us for for ages for uh for centuries

even order books like it's super straightforward someone wants to buy something so there's an intent to buy someone one else has an intent to sell and order book matches the two passes the two the two sides um amm is a different purpose product amm is bad like everyone has exchanged the currency in their life of course and amm has been built exactly for this to swap the currency problem is that we are misusing the the amm based products uh um product that has been used that has been intended for currency exchange initially is being used for professional trading

this is where order books probably win um order books provide better liquidity price in general now let's uh let's have a look at first at amms and Order books so uh like I told you a couple minutes ago amm have brought uh inclusivity to this industry and they are honestly if I want to swep one asset to another I'll go to one of the Unis swap Forks I'll go to Pancake swap I'll use uni uni is a great thing now if I want to provide the if I have some liquidity if I'm lping essentially and I want to get some

passive yield on that amm are great again now let's say if I'm a retail Trader and I started my journey in the amm and I started swapping the assets and I see okay the liquidity price isn't the best and uh what I want to do is I want to extract some yield and I want to grow my portfolio and I want to become an LP to other amms the goal is uh to get the liquidity at the best possible price and for that you you should be using the the Globs the order books Globs in crypto have been not possible like it wasn't possible to build the clubs before just

because of the technical constraints evm has been slow expensive it was hard and the first product I think that brought the adoption to the club was serum serum and salana honestly it's it's a great invention svm has made it possible to build this kind of product the only thing is that salana has a pretty bloaty state and serum has been storing entire State on chain it's like on chain Maxi product so this entire binary search tree has been stored on chain which caused serum to congest all the time so we at spark thought okay what can we do about it how can we build a state

minimized um club and we came up with uh uh two options either build our own for par iable virtual machine on on the ethereum blockchain because we wanted to use the ethereum consensus or use something that is out there already now another question who knows fuel fuel Network okay I see a couple hands and that's more than in Singapore already but the room was bigger so fuel is one of the first um rollups on ethereum it's one of only two stage two rollups on ethereum by the way vitalic tweeted about it yesterday but he likes fuel

overall uh nobody knows fuel because the guys have been building for a long time and finally they're launching now fuel is the team that actually invented this term optimistic rollup so they are ogs they I think when I was building neon and Solana there were a handful of rollups and fuel was already one of them with arbitro starnet and uh ZK sing as far as I remember there were only five anyways so we decided to build it on fuel fuel provide I think it's a great Tech and it provides the whole set of features that we need to build an efficient club and we finally launch next month in uh in October we're launching on the fuel main net very excited now I again like I told you in

the beginning I do not think that clubs are better than amm I think the these two products are like every business in the world is all about the people and uh in crypto it's all about your team your investors and your customers I just think that amm and Club are purposed for different customers now this thing is better for like for the market makers pretty straightforward because Globes provide you laser precise uh liquidity price you pay exactly what you like you get exactly what you pay for now in the amm you have this impermanent loss like it's it's more I mean you have it everywhere but in in the amms it's more you're more

more exposed to it I think everyone exchanged the currency at the airport at least once in a while once in life and like I had 20 Singaporean dollars recently and I just exchanged it in the Lisbon airport and I as I'm asking how much do I get for it they say €7 what that's exactly the price you get for your liquidity in the in the amm versus the order books I open my currency exchange application and say this is 14 uh you're ripping me off okay they say you will not pay the fee what is the fee €3 all right that's the amm thing in the order book you get way better liquidity

price now I if anyone would ask me what is the mission of the order books in general I would say Pro provide the next level of financial literacy to the people in crypto and uh well um educate everyone how to buy assets at a better at a better price I think the same Trend exists also in trefi I've seen multiple uh banking applications including revolute that have this broker account embedded where you can buy and sell assets uh at the exchange or again like any what do we

call it um any stocks app like Apple stocks for example you can you can buy uh Securities there as well this is this is close uh but not enough in crypto you have like trading without connect wallet you don't have to regulate yourself you don't have to go through kyc you can start trading immediately so this is actually a great thing because anyone can be a Trader now anyone can become a Trader on on on the spot and I think this is where order books win so for the for the retail uh Traders on the amfs this provides the next step of the opportunity they can extract the

liquidity to later LP and gain pive field for that now at spark we have built something very interesting we have built what is called State minimized order book um you can see a trade-off analysis on the screen uh all the green ticks trustless senders ship resistant regulation resistant why is it regulation resistant you would ask because it's fully onchain it turns out that having offchain order execution and offchain matching is more similar to tread or centralized exchanges than of course defi but honestly for the majority of the

customers that we're on boarding these advantages are minor um because again especially in the bare Market not so many people care about decentralization and uh uh trust less what really matters is the yield again order books are heavily sitting on on on centralized exchange to decentralized exchange Arbitrage and there's a bunch of other strategies involved here but I think we need to uh to consider a bit like long-term strategy long-term vision and this is what we do at Spark that's why uh our order book is fully on chain even when we talk to well the Traders

they're very surprised about it now it's also pretty Capital efficient because no matter what uh the liquidity price will be laser precise it will be really good and and I think this is actually the the the largest advantage that we have the there's no there's no State blo we use very lightweight design we don't store State on chain now this is a long list of the of the differences between amm and uh the order books but I just think it's these are two different businesses directed at two different customer groups amms are better for Passive and Order books

are better for the market makers because uh they remove the third party um like amm in itself is already an algorithm right it's already uh a strategy so on the orderbook you can install whatever you want it can be also an amm now we have started on boarding the market makers recently and um uh what I have discovered and that's also one of the insights from Singapore is that uh this way more institutions in the upcoming bull bull market than well a couple years ago because we

had two years of bare Market essentially and on salana that was exactly the struggle we were we couldn't on board more institutions of course now this problem is well removing itself because Solana is so hot but I think because we have clubs right now we can on board the players that are trading on the central limit order books in tread F so I I think this is actually maturing Define general because we on board more serious players uh to well to the to the market so the conclusion is I feel that

anyone who who was in the space earlier who started their Journey as a Trader as an uh on on the a on uni and uh other similar products can expand their well strategies and expand their business through the glubs so it might be the next stage for smaller trading firms and crypt native trading firms as well as on board larger players to this space that already see their opportunity um but still of course we have to like distill incentives and uh again like I told before these both products are sitting heavily on the uh centralized to decentralized exchange Arbitrage so there's still a long way to

go but this is already a first good stuff thank you any questions

Related talks