Arbitrum Tooling and Technology - LORENZO DEVREL @ ARBITRUM FOUNDATION
ETHMilan 2025 · 18 Jul 2025 · 36:51
Lorenzo from the Arbitrum Foundation introduces the modular Arbitrum stack and what sets it apart. The talk covers Stylus, which runs WebAssembly contracts written in Rust alongside the EVM, Timeboost and its approach to MEV and first-come-first-served sequencing, and the BoLD permissionless dispute system that moves Arbitrum toward stage two. It also touches on new Nethermind and Aragon execution clients and on launching custom Arbitrum chains.
Topics
From ETHMilan 2025, hosted by ETH Milan.
Transcript
Hey, Chiao Milano. Really happy to be here um as a person from the foundation. Um so yeah, today we're gonna talk about the modular L2 stack and specifically about some of the most exciting things that are happening in in Arbitum. Um so two words about myself. Um I'm Lorenzo as I said. Um currently working as a head of technology at Arbitum. Um my background is in tech. I spent like uh 15 year plus in different industries as you can see. I'm not really young unfortunately for me. Uh worked in uh consensus for like three years as a tech lead there. Uh after that bit more DeFi
NFDs in the trenches and then I joined web three accelerator called outlier ventures. Actually last year I was here in a panel uh in behalf of OV. Um and then yeah in January I joined the foundation and now I'm working in the real data technical advancement and yeah I'm very keen also to talk with people that are here today building in the ecosystem. I already had great chats and yeah it's really good to see in Italy such energies. If you want to talk with me you can reach out to Twitter, you can scan their QR code etc. Um without other further ado um so oopsie interesting interesting uh uh format anyway um so
how we work uh and how we win as a L2s while Ethereum uh matures um definitely it's not by competing on with Ethereum I think we had a lot of drama uh there uh that's not the plan and also we can't keep just copy and paste and create new L2s one after the other that they don't have too much differences between them. So what we believe is is really about like being innovative, interoperable and leverages the characteristic of Ethereum and basically anchor the security to to the layer one. Um so uh arbitum is is not just a layer two it's not only tech
despite is heavily tech related. So, arbitrum is for sure great and scalable tech. It brings you like fast and cheap transactions for sure. Um like block time is a great uh concept 250 milliseconds on arbitum one but if you move in other setups you can even reach 100 milliseconds and we're working to even lowering the the block time. Um another aspect is the liquidity. So, Arbitum is the home of DeFi and is has been like great in that area and still is one of the most active in the defy space. In fact, is is the most liquid L2s and you can like have 14 billions of
liquidity specifically, I think it's around six billion on on stable coin. Um, also it's not just about arbitum itself. It's about the ecosystem and the fact that we're here talking today is really uh that point. Uh so you're gonna ended up to reach and work with an existing ecosystem that developed over the years. Um and then yeah decentralized we really care about that. We're going to talk again about this later but we are pretty close to have a stage two uh level and we worked this year to improve our status there. So we are really happy about that aspect to be decentralized in fact. Uh and finally like the flexibility like while you can
deploy in arbitum one or in arbitum nova you're also free to deploy your own uh chain which is partially of why we're here today talking about the modular stack. Um one more news uh my titles are old skew unfortunately I'm really sad about that but nothing too bad. Um so uh what happened a few weeks ago is the fact that we added to the contributor of the arbitum ecosystem two other players Nethermine and Aragon they will develop the um execution client and all the bits that are useful to run a roll up and so that's now towards alt clients directly available to the entire ecosystem. It's
a quite large project. We are super happy to support that. Uh the great news is that dependings on the tech stack in case of nethermind it's really about the performance you will get through the execution clients rather than in case of arrogant you will get uh huge saving in terms of archive nodes. Nevertheless, all the tools are available uh to to the basically the builders dependings on their use cases. What we are envisioning is that people will use actually all those clients in different setup which is really great for the reliance of the entire um ecosystem and tech and infra.
So uh moving back to what we were saying at the beginning how arbitum is innovative. Um I think we have a lot of great example. Um, number one is really the AVM plus. At the beginning of this year in September, we started uh to launch the first production ready stylus version and we ended up to basically double down on the AVM and in fact we added another uh virtual machine. And so now we have this setup where we can have both EVM and EVM plus sorry and and the W wasp uh virtual machine. um how it works really in a nutshell uh we have basically actually two uh virtual machine running in in parallel. So
rather than the other L2s they have exclusively the Ethereum virtual machine in the case of Arbitum you get the Ethereum virtual machine together with W wasmer that basically allow you to run any smart contracts that can be written in a language that compiles to Wasp. Um so why we ended up to do that and there are a few reasons like first of all when Ethereum came up few years back uh it ended up to um target the developer experience rather than performances. So they ended up with these 256 bit words as a base layer which was great for all the cryptographic primitives but not
exactly performant because in fact today CPUs works in either 32 or 64 bits. So they were conscious about that. uh but the result is basically that the virtual machine is is lower because the memory registry got bigger but also they couldn't end up to have like just in time compiler through the virtual machine. So there were trade-offs through wasmer and stylus in general we are really improving the performances giving the chance to the smart contract developers to have options. Um so why styos matters? Um despite the title being super small, the thing is it really shine when it comes to uh CPU and
memory heavy tasks. Uh it's important to keep in mind now every tool shine in a different type of setup and stylus shine in this one. So um if you can compile to a wasmer such as for example with Ras that's great. you can basically leverage web assembly to get your smart contract running through that which means you can now have um an EVM plus environment where you can move between the two uh virtual machine dependings on the use case and also you get some nice uh features from the security perspective for example by default you have re-entrance guard uh directly in the SDK um and finally is multi- language not
only we support two virtual machine but also we allows you to pick different languages. Um in in truth right now the most uh mature SDK is Rust but in paper we actually can run smart contract even in C C++ and Zigg ultimately we did some experiment so it's a quite flexible uh uh foundation layer that we can leverage also down the path. Um and then last but not least is this a co-equivalent. Um I have another slide around this concept but you can basically call between the smart contracts written in solidity calling a stylus and and vice versa. Um very high level this is an example of uh
a stylus contract and with the stylus SDK09 we had a couple of new feature pretty cool. One is the constructure. I know it makes bit like laughing that we didn't have a constructor but there were like technical reason for that now this has been solved so you can initialize in the same transaction the entire contract and second we added also a better inheritance uh primitive so now this is available uh in the SDK 09 so pretty cool and um the other element of stylos is this interoperability that you can have between contracts So on the left side you have solidity and highlighted
the last line is a calling as smart contract written in styos specifically in rust that is quite computer heavy. So this uh nested loop it's a classic bad things to do in uh solidity which is actually quite fine to do in rust and the reason is because when it comes down to CPU and memory rust really shine. So you can have that directly in solidity that you leverage a library for example written in in stylos and that's pretty cool. Like you can have hashes uh like there is now this new library from open zeppelin called poseon hash pretty pretty cool. uh but here in this example there is a workshop where we are creating SVGs directly on chain quite
complex and you can do that uh in styos and then call it in um uh from solidity and vice versa. So you can also from uh styos call solidity when it matters. Okay, but this is in theory but not also not only in theory actually people are already using stylus in production. There are different project doing that. More are also coming. We have starting to have example for example of uh unis swap hooks written in styos with pretty complex business logic implemented there. Uh we have a superp position with a protocol actually they are also building another one in in stylos which is also quite interesting. Uh and then
uh um Renegade ended up with this concept of darkpools directly written in stylus and finally um the styos uh on the fire block with this dynamic MPC. Uh more to come a lot we are expecting also in gaming and other concept. So uh you can see that basically when memory and CPU matters stylus is a great options. Okay. Okay, so that was one innovation that is happening and the other one is uh maybe less developer oriented in a way but I'm very curious how many knows about time boost today can you raise your hand okay not many actually so it's like four
or five people which is great so I'm happy to break the news so uh what the heck is time boost to understand time boost we did we need to do a a step back and understand an acronym that is a me. Uh so what does it mean is this maximum extractable value and uh it's really a definition about what can happens onchain when people can reorder the transaction to basically have a a gain and so they can either exclude the change in the order or even drop the entire transaction. When this happens, your transaction that you are maybe try to swap uh your token for one for the
others. Well, you ended up with a different result. The different result goes in advantage for those searchers that they figured out how to take advantage of of that. Why this matter for for time boost? Um well, first of all, yeah, maybe before jumping there is this concept of how you can lose money as a users. There are different ways to do that. like someone can frontr run you. So basically they see you are buying something big enough. They can jump in front of you and buy before you do. They move the the prize. So your new price is not as good as it was uh one transaction ago or uh yeah what basically one one uh uh iteration before yours. That's one way. The other way
even worse it's a sandwich attack. Not only I will change what happens before you but also what happens after you. So you will end up like heavily screwed. That's the truth. What happens in in the sandwich attack. Um the last one is considered the most ethical one. It's called like back running which is what I'm going to do just after you did something. Why is considered like nicer is because you're not going to lose money you on your uh transaction but I will take advantage of the new situation just after you you did it. Um so moving back to the original question uh why this matter is because actually MIV was quite important when arbitum ended up to
be uh designed and the architects ended up to pick a solution and this solution is called like first come first serve and it's uh embedded in the sequencer of arbitum itself. So we picked that solution because has great benefits. uh what does it mean first come first serve is that as soon as you get a transaction that's the order no one can shuffle that transactions back or try to do something so the sequencer is fair with everyone doesn't try to take an advantage uh it's great for block time because we don't need to shuffle those transaction in any specific order so we don't lose a CPU or memories to figure it out how to do it
and uh it it's one of the reason why we can push those boundaries to 100 milliseconds block time or even 50 millisecond um uh block time. The other aspect is if everyone come first in first out well then all the discussion we were doing earlier about changing the order to screw the user they are not up to the game. Um just to make a bit of like uh uh example like what happens on Solana or Ethereum layer 1 is that you can actually change that transaction order.
So in Ethereum we ended up to build an entire infrastructure to avoid that or to protect the user or having an order book that goes in a specific direction. In Solana they didn't have and that's why they ended up to have so many meme coins because actually the winner were the people doing the infra uh deals and and basically front run and sandwich any transaction. So in arbitum you really have a fair user experience but because of this first come first serve also we got some cons and first cons is the fact that the infra is actually stressed a lot because bots. So what bots are doing in arbitum is not try to frontr run or
or sandwich attack you. They actually try to get advantage as soon as you did your um trade. And how they do that is by keeping a calling our infra to be the first one to have the latest uh uh price update actually the latest block and so as soon as they get that they're happy and they can execute the transaction. What they do they spam a lot and so that's a heavy cost for uh the ecosystem. Uh also once they get that the me that they can extract from back running your transaction goes entirely to the searchers. So no benefit for the ecosystem. And so here we go on why we ended up to build time boost. Um so time
boost brings uh quite a few of u novelty. Uh first of all it's an auction. So it doesn't matter anymore how fast you are to get that information. It matters how uh if your price is better than someone else. And particularly the system we designed is with this a second price auction. uh the you offer the best price you can but actually you will pay the second price uh among the two uh top winners. The other thing is that the me uh allow only back running. You can change the transa you can't change the transaction order.
You can just put your transaction as a first one. Uh and second uh sorry and third the ecosystem is the one that get the benefits and we will go there. But basically something pretty cool is happening behind the scene as we speak. And finally, yeah, it's cheaper to run the infrastructure, which is not maybe a direct input today, but is the direct benefit today, but it's very good for the long term of the uh entire arbitrum ecosystem. Um very high level, I don't want to go too much into detail here, but um there is an auction. And so on the left side we have the searchers uh sending uh a sealed uh uh bit uh to this autonomous auctioner which is actually
an off-chain uh element and as soon as basically we figure it out in a uh given uh time who are the top two beats. This is sent to the auction contract and then the sequencer every uh cycle will resolve the auction and pick the winner. The winner get the nice express line that is the one in um blue and basically their transaction is not delayed. Everyone else got 200 milliseconds delay. Who won the uh beat is the first one in the lane. uh which is pretty cool feature because then I can decide what
to do with the result of the previous uh block um really really quickly like if you are a developer if you are a fun if you are a researcher in the room that's basically someone that could actually be a participant of those uh um auctions and how it works is uh typescript request there is an endpoint that you can call there is an SDK you can use to send your best prize for the next um transaction to be included. Um similarly uh if you win then now you are the express lane controller. So you are allowed to send that transaction to the sequencer for the immediate next block
and that transaction can do whatever you think is best for you and get the benefits out of it. Okay. But so who is using this time boost today? It's pretty cool actually. um entropy did quite a bit of work uh to track this. We are also working in other dashboards that they go even deeper than that. But what we can see already today is that that uh people are using this characteristic and you can see that there are clearly winner and second place etc etc and it's also quite healthy. I mean I it's true 65% goes to Seline Capital but nevertheless like that is the market evolving and it's the first version of time boost but we can
see that there is a kind of product market fit people are using this and it's not just two or three players actually we have an healthy ecosystem of different people uh try to use this new primitive and so for the ecosystem what does it mean like does it works in terms of like uh benefits well actually it work quite Well, like in since the genesis we are roughly uh and this is number is going up. I think it's almost uh 1,700k now. Uh so in two months this is quite um interesting result like we're talking about 10 millions uh annualized. So it's a great uh revenue for the entire ecosystem because this goes directly to
the DAO. 80% 8% goes to the DAO 2% goes to the arbitum developer guild. So that's oopsie sorry tried to kill myself and um the other element is to put in perspective the impact of time boost in the entire ecosystem revenue. So after two months time boost is counting for 50% of the fees of the entire ecosystem. I think that is remarkable achievement for time boost. So really really happy to uh see what's going on uh on the ecosystem side. Really innovation happening as we speak. Okay, moving on on the third item which is arbitum
chains. Um so um as you know in arbitum you can deploy your own chain and you can do that through uh an orbit SDK which include nitro that is our today um execution client and uh you can do that as a RAS with the RAS or independently. Um you can also have different type of data availability either directly as a roll up in um Ethereum or with any trust with different tradeoffs uh or even other solution of data availability. And finally if you pick the arbitrum chain you can actually customize quite a bit uh of how you do uh your block how you
build your block. Uh you can have a custom gas token you can have pre-ompiles you can customize your block times. There's quite a bit of liberty there. Other goodies. Well, what we were discussing earlier in Styus, it is included in Nitro codebase, which means you get the exactly same feature of arbitrum one in your own chain. Um, it's extensible as we said, but also you get all the feature of the security updates coming from Nitro directly in your uh chain. uh it's quite secure because you're not customizing and modifying your SDK taking a lot of risks uh but you are starting from a very mature tech in your adding your changes of course
it's it's not simple if you decide to change your pre-ompile and things you need to go through security audit and and all the work that needs to be put to have a secure chain but the base is really great um accountraction again is implemented uh now uh since arbor 40. We got also the AP7702 directly included. The ERC 4337 was there since a while, but you are really getting all the goodies of the uh layer 2 and plus whatever you wanted to add. Um gas price reliability is another aspect. Your chain will be um siloed in in the in your ecosystem. So you do not have this swing of pricing that can
happen in arbitrum one or in other chains where you are sharing your block space. So you could decided to have it uh in a permissioned way or permissionless that's up to you but you can clearly get benefits of uh price reliability and yeah I already just mentioned that. So you can have your contracts or allow everyone to deploy that's your uh choice. Okay, moving on. That's one of the things that I like the most about orbit and chain orbit chains is the fact that you can deploy them in a variety of setups. You can be a layer two uh and um settle on on Ethereum or you can have a layer three settling in arbitum one or
even a layer one if you really want to be a layer one leveraging our stuff. It's a quite flexible technology, modular in a way, allowing you to pick your uh tradeoffs. Um, licensing, how it works. If you are L3, it's a no-brainer. You click literally you go to a RAS platform, you deploy your arbitum chain and you are up and running. There is nothing to do. You are settling on arbitum one. No fees are owned and everything works out of the box. If you pick a different type of setup then there are some uh element to take in account. First of all it's a BSL license so it's open source but at the same time allows you to run the nodes as
you prefer like you have plenty of liberty in that sense. What we want to make sure is that the ecosystem have benefits by you using the tech stack we developed uh when you are for example settling in other spaces. So in that case we use what is called arbitum expansion program that basically allow you to deploy the chain as it fits but then in that case you pay uh 10% of your um net revenues fees uh to the DAO. Um so it's slightly different but still you can do it as long as you fulfill those requirements. Uh so we do believe that is a quite flexible solution pretty clear in terms of how it works and yeah people are doing this already. Um so just to have a a a quick explanation of
what you can customize. So a lot of those customization goes through what is called pre-ompiles. What are pre-ompiles is basically uh smart contracts that you are putting in your chain but rather than be executed by the uh EVM can be executed natively by the execution client. So the performances are way higher. Uh but you can register them in this pre-ompile.go go and now they are accessible to everyone that is using your chain and then you create those AI. So the AI for who is not a developer is basically the interface that you need to provide for an external program to call yours. And so as we do for smart contract that we need the AIS the same
we do for those pre-ompiles. That's the the same concept. Um and then once you have your uh pre-ompile you get it compiled through wasp and then you're going to add it uh as a was module on the chain that's now part of your deployment. And finally, yeah, just deploy it and you can access it and you have a pre-ompile that can bring for example your uh new uh hashing algorithm or your uh way of providing a calculation that are pretty heavy and you couldn't afford to do through a smart contract and things like that. Um so be or not to be an arbitum chain is a very good question. I don't think there is uh a straight answer if you should do
it or or not. It really depends. uh but I think there is some element that you can take in account. So on the left hand you have the situation when you pick arbitum one and in that case you get the ecosystem you can tap in the liquidity and you get the fast secure and and composible element of the defy primitive so you can combine yours with other smart contract already deployed and uh finally like you don't need to have any IT infrastructure or knowledge of the IT infrastructure uh which is like in my opinion in a startups that is try to get product market fit. It's a pretty cool uh feature. Uh on the other hand of the spectrum, it's a completely different
experience like you can tailor your block space literally how the block are built are under your control. So you have a great responsibility in terms of how you do that but you can do it. You have this dedicated throughput. So the performance is isolated from the rest of the ecosystem. And finally, oopsie, I left a Laura ipso dollar. Apologies about that. You got the custom uh gas token that you can have and of course from a token design perspective that it's a pretty cool feature, but yeah, comes with responsibility as well. Um, okay. So, if you want to be an arbitrary chain and you want to deploy, you have two options today. Uh, the simplest is go through a RAS and there are plenty of
them. Here I listed the ones that currently we are working with and we are also officially supporting them and help them to run those chains or you can run as independent. It's definitely harder to do that. So uh be careful to deciding if you really are ready. Uh but you can do it like the product like everything is is open source. Okay. But uh is this is theoretic? Is this is like a new tech? Well, it's a tech that is evolving, but it's a tech that is already used and um we already mentioned it that there are chains such as like apech chain or proof of play on the gaming and gravity and other uh type of chains but a big one that is now joining the ecosystem is uh converge
that is built by uh securityize and Athena that they are deploying and uh building their own uh orbit chain was a long discussion with them But we are really really excited of what comes next from from them and you can see that this is a protocol that scaled in a layer one find that the product market fit and now they are scaling becoming uh a chain which is a concept that I like uh from from a product perspective. Um so interoperable I need to go a bit faster. So we have this uh road map about the universal intent engine. uh this has been a long discussion about what happens in this multi-chain uh world.
It's fantastic to have that diversity but it brings different type of challenges and so we ended up with fragmented liquidity isolated networks a kind of assets nightmare if you are in your wallet and you see five type of USDC six time of Ethereum like very very painful uh and like when you move between chains like also slow transfer it's it's really challenging aspect from a UI perspective and the good news is we have a solution and we have an approach through uh arbitum tech. So the idea is to have something that is trustless uh oh my gosh cheap and fast. Um what does it mean really in in the
um in terms of tech involved? There is like four element here that are really important. standardize which is really hard work like I'm doing that daily discussing with different teams different people to make it sure that we come up with a standard of running the intent framework because otherwise we're moving from one problem to to the other. So there is a very important effort to synchronize the actor. Uh we need to have a broadcast standard as well. So making sure that when an intent is ready. So when a person tell me hey I want to move my asset or I want to buy in that chain there is a place where this can happen and there is a unified
view of of this uh has to be fast and here always people want things fast but in order to achieve that there are trade-offs and we are figuring out the right way to do it. And finally uh the the feed of the intent need to be available to all the solvers. So having market dynamics and being neutral on that aspect is so important because we know that market will optimize uh by itself if there is enough visibility otherwise you start to have different pools.
Okay. Um last item is leveraging Ethereum security. Uh I want to also leave some time for a question if you have. So bald is something we launched I think uh in February and he brought uh a nice uh slice in in this pie. I don't know how many knows what this pi mean. One, two, three, four. Yeah, very few. Five maybe. Okay. So, this is L2 beat that came up with a system to really uh grade the quality of the rollups when it comes down to the security trade-offs.
It's not about everything, it's about the security tradeoffs. And so uh before bold we had this issue on arbitrary in all the rollups to be fair that is called delay attack. Don't want to go into detail but basically a malicious actor could without put the chain safety at risk. It could basically attack the livveness of the chain by postponing the settlement and by keep challenging the chain and saying that this withdrawal is wrong. And so by doing that was possible to block the uh the rollup uh setment and because of that reason uh we ended up to have a different setup on arbitum
for a long time where only white listed validator could run the the setup and that was the reason but why we ended up to think and figured out different approaches. So we ended up with this concept called bunded liquidity delay and we found that this was a bit hard. So we came up with bold because we love acronyms. And so what bold give us is a new permissionless dispute system. So rather than having whitelisted validators now everyone can uh dispute uh um a challenge because the dispute are on Ethereum. So you have a one single place where you can go and and dispute and you have also a fixer challenge time which is very important
because we were saying like in the delay attack I can just like block you by keep challenging and if I challenge one after the other in series then I block the chain. So with this approach we fix we we find a way to basically prevent that and finally that basically what brings us towards the stage two. Finally, what happens before and after is the big uh unlock is that before we were sequential and now a single uh trusted honest party can parallelizing solve all the challenge in one single challenge time. So it doesn't matter how many challenges you do, I can solve all
of them in one cycle and that's the unblock basically. uh and like let's take it as a black box because I'm not a cryptographer to go in all the details but that is the unlock we ended up with. Uh so the result is that we want we moved from left to right so we had the one uh yellow slide on the state validation because it was not permissionless validate the roll out and so now with bold is permissionless and so now we are one uh slice away to be fully stage two. um watch this board because in 30 days many people will move back to stage zero rather than arbitr will stay in in stage one because we are fully compliant with all the uh aspects
in terms of security and trade-offs when it comes down to rollups. Finally wrapping up and open the floor. So what we did today is really building the future one uh block at a time. uh I introduced styos, time boost and arbitum chains. uh all of them cover basically the innovation the interoperability and uh everything is anchored on the layer one security in this case of course Ethereum. So this is it. If you are building please scan this QR code. We are putting together a newsletter that will actually target builder and developers in the next few weeks. So we are really keen to talk with you when
you are building and so yeah please scan it. Uh that's all on on my side and thank you so much for the time. If you want to talk with me I'm around and again thank you so much for having
Related talks
- Talk: Liveness in L2 Protocols
- Introducción a Arbitrum y la Escalabilidad de Ethereum
- The Rise of Ethereum Rollups: Scaling through Arbitrum
- The Next Step in Scaling Ethereum
- SotN #48 - Arbitrum LAUNCH, w/ Arbitrum Team
- Ethereum Just Leveled Up | Arbitrum's Steven Goldfeder & Harry Kalodner (SotN 9/7)
- The State of Arbitrum
- Offchain Labs Building the ETH Ecosystem
- The Future of Layer 2: Research, Development, and Next-Gen Technologies by Ed Felten | Devcon SEA
