The Clearing Layer - Max Lomuscio (Everclear)

ETHMilan 2024 · 17 Oct 2024 · 16:16

Max Lomuscio, ecosystem lead at Everclear, explains why intent-based bridges struggle to scale and what a clearing layer can do about it. They describe a chain-abstracted vision for users, the rebalancing costs solvers face, and the finding that around 80 percent of daily cross-chain flow can be netted out. Everclear's architecture of permissionless gateways and a central hub is presented as a way to cut rebalancing costs.

Speakers

Topics

From ETHMilan 2024, hosted by ETH Milan.

Transcript

hello Milan how's it going um I'm from Milan so it's always been my dream to to say that thank you everyone for being here this is a fantastic location uh and today I'm going to talk about the clear layer um is there a clicker sir thank you next GM my name is Max I am the the ecosystem lead at ever CLE uh you might know ever CLE as connect we did a recent Rebrand in uh uh September this year uh before that we were one of the top five bridges in the in the space we reached

one billion in tvl and here is a little bit the story on what brought us to change to launch a completely new product and uh to really disrupt this the bridging industry I'm also a top 20 20 delegate at the arbitrum Dow we use the shatter Network by the way on Snapshot so it's very cool to see other nice products being presented at East Milan today I want to mention three key Concepts so I would like you to remember these three key insights one what's the vision why we're building everything that we're building and the vision is called a chain abstracted experience for users number two what is the current problem for this to enable that Vision

so why intense cannot currently scale number three what is our suggested solution for that the clearing layer let's go starting point I think we can all agree on this we have hundreds of chains already being alive more than 50 rollups uh more than 100 are already in the pipeline it's extremely easy to spin up a new rollup welome all um it's extremely easy to spin up a new roll up so the thing the this this fragmentation is going to to get worse um and so the current experience for a user is basic is extremely Cluny it's

extremely full of friction because when they want to when they identify a Dap that they want to interact with on another chain uh they need to First understand that well they hold funds on a different place so they maybe want to need to bridge to a new chain and once they Bridge they find out they don't hold the gas on the the gas token on destination chain so they need to buy that that gas token and at that point they can go back to the app uh and I can finally use it and and and and deploy the funds interact with the game whatever they want to do imagine telling my mom your mom your grandmother that they have to Bridge and change the rpcs in the wallet it's not a feasible experience for the mainstream web

TR so the the industry is kind of like converging into these um intent based architectures where we basically Outsource the task the complexities of web 3 to other entities uh other agents they might be called solvers they might be called relays you name it when the user has nothing to do that says express what they want to do hey I want to deposit into a on arbitro and a own funds own base and then they Outsource this task to these agents who will do that that that for for them in exchange for a commission of course but a user only pays if they actually get the results that they want so if they want

to do a swap if they want to deposit on a on a lending protocol they will only pay if the transaction is successful on the destination chain so this is where a lot of the bridges particularly because the cross chain experience is complex so this is where a lot of the bridges today are leaning towards uh the idea is really to enable a super oneclick experience on whatever change whatever uh applications so that you don't really have to think about what chains you own funds on you know to think or know about what chain and app is deployed onto uh it's all abstracted for you so this is the chain abstracted Vision let's have a quick look at how a an intent based Bridge work today uh

there are plenty you can you can name it there's a cross there is a router protocol there's signups there's really a bunch of them that are popping out and have already established a presence in web 3 so first of all the user creates a new intent and says hey I want to I have my funds here on this chain on chain a I want to go to polygon and and deposit my funds there instead in this lending protocol and so it goes to the bridging Proto bridging protocol an intent protocol and says hey here's my intent please do it please execute it at that point the bridge what it does it creates an auction so it says hey any solver that is around and is available and has funds uh please execute this intent and you will earn some money so all the

solvers come around and say hey I am ready I'm available I have the funds I'm the fastest one I win the I win the I win the the auction so the the winning solver that wins the auction executes immediately the transaction on the destination chain on polygon in our example um on behalf of the user and then gives the money to the user the money they receipt whatever they want to do so the user is super happy they've done whatever they want to do the experience is seamless we we achieved is uh fully abstracted Vision abstracted path um and uh and so for from a user perspective that's the experience that we want to get what happens afterwards though the server at that point has fronted his own cache um on the destination chain and so it goes back to

the bridge and tells him hey um I've done my what I wanted what you want me to do here is the receipt now uh please refund me and pay me as well and so the intent based prot settles the funds of the solver back on the S chain so where the users ultimately uh give initially give them the the funds the idea is that the solver can then uh rebalance the own funds um to restart the the operations again and the server is a much more sophisticated entity that the that the user there is an issue however how do the solvers actually do that um turns out it's not that simple as um

as they you know is ideally pictured first of all um so rebalancing is actually complex especially if you're looking at longtail chains uh all the solvers today they either use market makers so they basically Outsource the rebalance into someone else or they even use centralized exchanges so they bring their funds back to binance to coinbase and then they they deposit on one chain and they withdraw another chain so ultimately we are still using a lot the centralized infrastructure that we wanted to remove in the first place um this operation actually is also quite expensive and so the solvers need to charge a higher price uh for the service because their cost basis is quite high

so as a result also the user has a worse experience because they charge a high cost for the cross genain operation is not as seamless as it should be so we're starting to scratch the surface of the problem here this kind of intents cannot scale um with the with how they're currently structured um as we were saying because solvers need to rely on these market makers they need to rely on on centralized exchanges they can only support a very small bunch of chains and a very small bunch of assets otherwise their operation is not profitable um and as a result of this

only the biggest um market makers today are able to operate profitably so you can see the the famous winter mute is basically doing solver solving for every type of protocol um but it's just them and and then you can see among the top transactions the ones that are filled are actually from the solvers of the same teams that run the different Bridges so what we want is an economy where solvers proliferate across any chain across any asset and that's why that's where we can really get um this chain obstructed and distributed Vision the other thing is when a new chain comes up we said it's very easy to spin a new one they all try to compete

to get to get a bridge to support them they want to have this uh inflow and and fast communication with the other chains but only if very little like um sample of those around 15% is able to get the top Bridges why because then all bridg they also need liquidity they also need these arbitrager so people that are able to rebalance them um in order to support a new chain which then in turn turns to uh the centralized exchanges as we said and centralized exchanges have the same problem they cannot support any chain because they other the same issues of rebalancing all right let's jump into the solution we came to this realization um

at the beginning of the year and oura moment was when we look at the data of the top chains and the the volume that flows across all the bridges whether native or third party Bridges we realize that during 24 hours or during one single day 80% of the flow can actually be netted out what it means is that that for every dollar that goes out of a chain during 24 hour every sent comes back in it is Sense come back in um on average of course and so if there was you know an entity that wasn't um so like constrained by speed right if they

could wait a little bit longer in order to be rebalanced we wouldn't have to net we wouldn't have to actually move their funds independently because your funds would naturally flow back at some point during the day and so this is what we want to do this is what we're doing the idea is that when um if a user right has the urgency to uh complete their operations in the fastest way possible so the the user wants to go to another chain they want an instant experience but a solver doesn't have this strict requirement they can wait a little bit longer if in order to be rebalanced they they can drastically cut out the cost of their operations so this is what Everclear does we look at The

Coincidence of wants of all the solvers um across the different chains so if if a solver needs to rebalance so the solver has already executed their intent for a user the user is Happy already the solver needs to rebalance their their funds and so they express an intention to rebalance the funds from chain a let's say base to chain B arbitrum because they want to support the arbitrum ecosystem and then there is another solver that instead has his fanton arbitrum and wants to be balanced on base and so we match this Coincidence of ons which are not driven by extreme urgency but rather by driving down the

cost as much as possible and we net them with each other and so we can really cut the cost for this rebalancing operation because if the tokens do not have to actually move the cost can go down up to 10x so let me introduce you the concept of clearing layers clearing layers are networks that coordinate the global netting of all the liquidity and capital flows between the different chains we believe it's a new primitive it sits next to the other modular components of a blockchain you know the execution the settlement the consensus data availability and then there is clearing and we do see at as a very very collaborative layer uh with other pieces

of the chain obstruction stock other pieces of the modular blockchains because we basically can help to support the solvers who exchange support all the um auction based systems like all the intent Bas Bridges who can then support all the wallets can then support all the permissions kind of applications so this is how the full map um of the all the all the builders all the protocols that are building for a chain obstruct vision and clearing is just that specific piece that helps to cut down the cost for um solvers and and bridges as I said it helps to reduce the um cost

for rebalancing up to 10x it also enables to find programmatically the best strategy to rebalance the to to rebalance the liquidity of those entities in a in a program programmable way so for every asset and every path you can identify what's the cheapest way to do it it might be necting with each other as we said it might be um using the bridges that an asset token iser um created like ccip for for Circle for example if you want to move usdc it might be take it might take 20 minutes today but a solver is not in urgency so you can help them to move their assets

back to where to the chains where they want and ultimately it enables to expand um to any chain in a very permissionless way I one deep dive into the architecture but long story short we have gateways on every single chain these gateways can be deployed permissionless the solver deposit the funds there and express what they want to do I deposit my funds on base and I want to be rebalanced on this number of chains not necessarily one and then that that invoice that is generated after the deposit is brought to the central Hub which is the Ever Clear rollup by hyperlane and uh secure by an AVS by igen layer

and at that point in a central Hub we compute all these intention from solvers we see how to net them in the cheapest way and uh and then we send back the results the different gateways and then we distribute the tokens to um to the to the solvers what then rebalance at a very cheap cost the ultimate goal again is to abstract every chain and we believe we start that by fixing the rebalancing problems for solvers cheap rebalancing me means cheap price PR is for any cross-chain transaction and ultimately the fully chain abstracted Vision as I was saying this is a problem that involves many entities whether centralized exchanges arbitragers market

market makers solvers Bridges they can all work together now because it's an open platform and the more players come in the more netting we can do so the cheaper the price can get for everyone that's why we see it as a very open and collaborative place and this is live we went live um last week uh so we just starting to flow the first bridges are starting to plug in a router and signups rer and signups have are already launching and many more are coming um so we're super excited about it if you are if you want to get involved if you're a solver if you are if you're running a bridge if you're running anything that needs to rebalance the liquidity at the cheapest price uh

even if not with the highest urgency come and get in touch my name is Max Lomo these are socials um this is a passport QR code if you are doing the checking in with the different talks and it's been a pleasure being here thank you

Related talks