Navigating L2 Landscape in 2024 - Marco Monaco (@LineaBuild)

ETHMilan 2023 · 9 Nov 2023 · 26:54

Marco Monaco, growth lead at Linea, explains why layer 2s are the industry's answer to the scalability trilemma and how rollups inherit security from Ethereum. The talk walks through optimistic and ZK rollups, EVM-equivalent versus non-EVM designs, and why block space supply and developer familiarity matter for the next wave of users. It looks at what more block space could unlock, from fewer gas spikes to new wallet and application experiences. A Q&A covers composability in a multi-L2 world and which rollups may win adoption.

Speakers

Topics

From ETHMilan 2023, hosted by ETH Milan.

Transcript

hello hello everybody uh very short intro I'm Marco and uh I'm the growth lead for linia I used to be in the batde team of consensus uh for a while before jumping into Linea and managing sorry and focusing on the ecosystem and the grow on Linea uh for the one that who don't know consensus is actually one of the uh historical player in the web three space uh we are famous for service like in fura we are also famous for Distributing metamask and we are now starting this journey on the layer to space with Lena so uh the T the

title of the presentation today is navigating the al2 landscape uh what does it mean actually uh what's the uh the reason of this layer two actually uh a layer two to it's the way we have to fulfill a promise as an industry that's that's the big claim of the presentation uh let's get into the details and let's see why we want to back this claim so um Layer Two are actually uh additional blockchain other network that can uh fix one fundamental problem of of the crypto industry and the space that is the scalability trma or the blockchain tremma it that's

different names so this is a theorem where um that that actually states that you have three dimension and for every decentralized system or for every system in general you can just pick two of them you need to drop one of the dimension so you can have a system that is secure and scalable but not decentralized or you can have a system that is secure and decentralized but not scalable that's the case for example for Bitcoin that's the case for eum that's the case for uh the the most decentralized l2s out there uh so this fundamental theorem actually tell us that we cannot have a system that can take all the three dimension so

layer twos are a way to fix this specific issue and how we do this uh Layer Two have a these are completely separate blockchain so there's a blockchain that is completely separate from all the other like another traditional blockchain network uh but they have a specific feature they can attach on another blockchain that we call it layer one and they will inherit the security of this of this layer one so in this specific case layer twos are blockchain that can sacrifice one of the dimension that is the security because they inherit the security of the underline um of the underline layer one so layer twos are uh a way to actually

achieve SC ability and decentralization renouncing to the security because we already have the security that is given by the underlying layer one Linea is of course a layer two it's uh a layer two on top of ethereum main net so we inherit all the security of the ethereum main net uh and uh it's a specifical to that we call zkm we will see later what I mean with with this uh term zkm uh so what does it mean that al2 l2s are not secure it's not a so because as I said we fully inherit the security of the underlying layer one so whatever happen on Linea or on other layer to that are out there uh it's actually secured by the ethereum mainnet

validator uh so we cannot cheat or tamper with the data because whatever we do on the layer two will be verified and verifiable by the etherum layer one so we will actually inherit uh all the security um so how does rollup works it's very simple um we have a different network that is the layer to that has his own blockchain it's completely separated from the underline layer one since we can overcome some of the dependencies like for example the security it means that we can for example have lower block times or bigger block sites or Max Max gas sites in this

case so we can process much more transaction and that's what we do we get all transaction from the DBS or the wallets or the user we put them in in in batches in blocks that we call batches and every while not not every block but every while we push a single transaction on ethereum Main net that will validate whatever we did in the last batch so that's how rollups Works in general now there are multiple type of rollups uh each one different from each other um we tend to divide the approach in two main categories we got optimistic rollup and these rollups are actually uh the way they ensure and inherit the security

from the layer one is by pushing the data on the layer one of all the previous transaction making them available to everybody and wait for 7 days for someone to verify this data and if something goes wrong they can pick it up and they can present a fraud proof that invalidate whatever happened in the last batch so the security is given in an optimistic way in a sense that we hope that everything goes well and if something it's not uh aligned with the specs of the protocol like the evm in that case someone will pick it up and will slash whoever presented the last batch so that's what we call optimistic rollup and we have two type of optimistic rollup we have evm equivalent

rollup and uh uh or compatible evm rollup and we have we have VM based rollup basically it's not not big differences but uh from a developer perspective it's like building on another evm chain like polygon or ethereum mainnet or other evm chain then there's another category the uh okay that's another category that's called application specific rollup like in consensus three years ago we buil a an application specific rollup that was just used for partial Anonymous transfer so it's a rollup that is capable to just one thing transfer erc20 uh with high privacy onchain High privacy using zero knowledge proof uh so

these are application specific rollup that are able to scale much more so they are much more faster but they are focused on a single specific use case or feature the second big category actually of of uh the type of rollup are the ZK rollup this ZK rollup um use a different way to ensure the security uh from the underlying layer one uh uh whatever is happening on the layer two in this case it's um it's certified by a zero knowledge proof so whatever validate blocks of transaction on the layer two is also taking care about generating a zero knowledge proof and this zero knowledge proof is sent to the layer one and the validator of the layer one so

all ethereum main net validator actually take care about verifying the zerge proof that means that the security of uh this type of rollups is given by the Met by the cryptographic uh assumption uh of the ZK zero knowledge proof that we use that does not mean that ZK rups are privacy rollups all transaction that are on the ZK rollups are fully uh public and open um the use of the ZK is not to improve the Privacy the use of ZK is to uh verify the Integrity so it's a way that we have to ask all ethereum layer one validator to verify that whatever we did it's aligned with evm there are two main categories of Z rollup uh we have

native of evm compatible rollup that are uh rollups that does not implement the evm uh they use additional different type of VMS to execute the the smart contract and usually allow you to use solidity that then gets transpiled into a native language that is actually run on the rollup and what they do this because uh producing zero knowledge Pro for an evm rollup is extremely difficult and that's actually the other category of ZK rollup we have evm equivalent rollup and Lena is one of this actually Lena is uh together with polygon that was the first zkm Lena is the only other zkm that we have on on on the ecosystem

today um waiting for scroll that should be live in a matter of one month uh so we are talking about ZK EVMS or network that that are fully equivalent with the evm specification and that inherit the layer one ethereum mainnet security by using Zer knowledge proof to uh verify the computational Integrity that happened on the layer two um so sorry um so uh what's the difference among all the different type of rollups that that we have I mean uh we say that

are optimistic rollup that are zik rollup uh the main two categories are actually evm and non evm and basically the evm rollup are the one that uh decided to bet on uh a a super nice ecosystem the probably the the most big ecosystem uh of the crypto industry in the last 10 years that is the ecosystem that is uh composed by all the builders that build on top of an evm chain it's exactly the the biggest developer ecosystem that we have in the space uh so evm rollup are targeting this type of Builders because um the promise that we always had was to

change the world was to um as an industry was to change the world was to have an impact on the society and on the world but every time we had the opportunity we failed uh and whatever is uh there will be again an opportunity to prove that we can have an impact on the world this time we need to be prepared and this is not coming from the layer two from the rollup it will not be linear to change the word not even arbitrum or not even base or optimism it will be the DS buil on top of these networks because that will be the the the use case that the user will use to have an impact and and to change everything but of course these DS uh who who will build these DS the developer

Builders and which is the biggest community that we have today the evm so uh targeting the evm space as a specific meaning is relying on an existing community that will actually be able to have an impact on the work but we need to enable this community so every time we had different uh bull market uh I mean I I I have my my previous experience was mainly related to bitcoin I started long time ago with Bitcoin so I marry the the idea that all uh every every time we have an alving on bitcoin uh the price go up because we have a shock in the supply and this will attract a lot of uh uh a lot of eyes on the crypto community so people come for the price of Bitcoin they know that they

cannot do almost anything with Bitcoin just to send value uh over over internet and so they look for something to do and every time we had different um a different use case that was starting after a a bull run and you can see crypto kitties for uh the people that were here during 2017 or the Ico friends in 2018 or we had D crazy def summer uh and the last one was the nft every time we had this type of Bull Run we attracted a lot of people in the industry and every time we had a fundamental issue because of one thing mainly that is the block

space block space is the computational capability of a blockchain of any blockchain out there and the block space is a scar resource so when we had hord of people we don't have enough supply of block space so this BR transaction fees to Skyrocket brought a lot of different issues because we cannot provide the right user experience um and at the end people left so every time we was left uh was found uh or catch unprepared to to retain all the people coming from the bull run so this time must be different this time and probably will be different because now with

L2 we finally have a way to provide the infinite scalability and it's very simple because um because we may have other layer one this other layer one fundamentally will have an issue because at some point they will not be able to scale more than that um in this case we can have layer one ethereum that is just focusing on the consensus part of the network and will just provide the security to all the other Layer Two and all these other Layer Two will be able to provide the right block space Supply that is needed to scale and this is very important because this supply of more block space across all the different

layer two will have two main consequences the first one is of course no gas spikes we don't expect to have gas spikes anymore if if we look at the ecosystem more broadly across all multiple layer to but the also the other very important thing is that more block space enable new use cases uh it's very um common the issue of uh wallets that they need to uh user need to store an SRP a secret recovery phrase uh and this is actually the the biggest ATA Vector in the market people stealing SRP from user there are new approaches for this there are wallets that that does not have a pass phrase and madamas is very engaged into this I'm talking about

account abstraction so we we have new techniques in the industry to provide a web to like user experience these techniques consume double the Gus of a standard approach of a standard wallet that we call eoa so if you want to have a smart contract account you need to pay twice the Gus fees because it's much more expensive so having enough block space means that transaction price are so low that paying the difference between paying 0.5 0.05 for a transaction or 0.08 for a transaction is really not really um impacting the user so we can definitely unlock these new approaches

that will bring new uix uh I would also love to mention another use case that is the ZK DS ZK DS are DS that use zero knowledge proof at client side so they use the zero knowledge proof Pro for the Privacy uh this will are actually already unlocking uh private stable coins uh the one that I like the most is uh governance tool so we have the ability using ZK to implement Anonymous voting Anonymous governance it's solving a fundamental issue of the space of course this type of dups having to verify a zero knowledge proof onchain for every transaction require a lot of gas fees require a lot of gas uh and block space these today are not appliable on it mainnet thanks to the

layer two this will be uh a reality very soon it is already a reality in some cases so this New Year cases together with no Spike fees anymore will definitely help us to be ready and to find ourself ready for the next up upcoming bull market uh and probably this is very important because if the theory that the bull market is connected to the Bitcoin alving we don't have a lot of chances that will be probably the last bu run that we have uh for the Bitcoin aling so it's it's very important that that we find we we um are prepared to uh to welcome the next 100 million or 200 million of user into the web Tre uh there's one just message that I

want to close with uh when I say infinite scalability it means that um let's assume that a Dap build multichain natively uh so to a point that where they abstract the blockchain itself so a d is able to execute transaction on arbitrum uh on base on linear on optimism uh and basically it will abstract the the the the the blockchain itself to the eye of the user in that case the system will autobalance itself so uh when arbitrum will reach a saturation the DAP itself will start automatically sending transaction on another chain because Parise fees will start to increase on arbitrum so it will

be convenient to use another chain uh and it will be a a completely transparent approach so transaction will start to flow into linear and then start to flow into base and then start to flow as as soon as this network will will saturate and the more L2 we will have the more block space we will give the bigger scalability we will have and we don't have to care about the layer one because layer one will still be there securing all of these Network and it will be the right way to actually provide the infinite scalability that we're talking about so I want to close with this message that is to all the Builder that are into the space when you when you design your dups please have in mind a design that is natively

multi-chain it's extremely important we really believe that the daps of the future will just be the multi-chain daps that's too much hard hle of uh building it up for a network and then having to Fork the up on another Network and reboot strapping everything from the liquidity to uh the the the the executable source code and whatever so it's extreme important to build it's important to build multichain and if you want to start from Lena to build we are here and we are happy to support you in your growth uh process thank you thank you Marco we have five minutes for questions so uh yeah I can imagine people are curious let's

start hi Marco uh nice to meet you again uh so just wanted your views uh you you know you obviously said that uh Builders will drive the next you know wave of growth so wanted your views on rollups as a service and you know it's very nice uh of you to speak about multi-chain deploying multi-chain so the second question would be what kind of an interoperability solution do you foresee for daps to use to go multichain so two questions rollups as a service what are your views on that so yeah two two important question rollup a service uh it's extremely useful for the ecosystem they are part of the infinite scalability approach um we need to be

very careful about that because rollup as a service are also targeted by app chains or uh game chains or use case specific blockchain uh in my opinion that's a big risk because moving everything on an up chain it will uh remove probably the biggest Innovation that we had from blockchain like eum that is the composability composability is the the source of the Innovation that we see in the last few years on ethereum ecosystem so when you go up chain you will lose the composability because you will only have your Us Part contract nobody will be able to build on top of you uh unless you open up and wide your your use case to be a general purpose layer to in that

case that is extremely interesting and extremely important when it comes to interoperability standard uh it's pretty exciting to see in the space solution like Axel like layer zero like ZK link uh this this type of solution are interoperability solution they are able to let you send messages from one chain to another but the biggest and the most exciting part of this specific one that I mention it is that they were able to build the community of developer on top I mean it's it's they are building an infrastructure piece and this infrastructure p is not just enabling developer it's building a community of developer that Build Together each other and you know it's it's actually a good sign of of a

future uh bright future that they have but yeah there are many interoperability solution out there so the one that I mentioned are the one that that are having the the most interesting results there will be other in the future so um there's just it's important that they are secure enough so they are not run by multi under the under the hood other question no okay I have a question um so when you talk about um infinite scalability and noga spikes I mean I agree that you offload execution to an offchain infrastructure but you still have to pay for da so there is

this separate gas market for blob space for data availability so you know there is a limit at some point so my question is do you think validium make makes sense in the design trade-off space to offload data availability outside of ethereum and basically using ethereum really just for ordering of the inputs for consensus how do you feel about validium yeah uh validium are extremely important as well because even with infinite scalability approach based on etherum Manet even after Proto sharding after 4844 that will reduce a lot the burden of the data availability on rollups uh practically making transaction almost free uh still

the throughput will not be possible to be very fast because still the ethereum layer one will be a sort of of bottleneck there are use cases like if you want to take care about real-time payments at global scale not even 200 l2s on top of etherum will be able to manage that it's a matter of throughput so validum are extremely important because they are able to reduce this block space and increase the TPS now on Linea we had some internal testing um the current capacity that we have on Linea with the current level of development that it's not yet the the end Target we are very far we are one year far from the end Target but the current capacity that we have Al is 50

TPS 0 uh this will of course be increased H with the technology that we have today using a validum solution like H uh we tested aen layer aen da we were able to push the TPS up to 500 so it's it's one order of magnitude more and we are not there yet we don't have proof aggregation uh there are a lot of optimization that we still have have to do so validum will play a big role for all the use cases that are that require less security uh so can avoid to uh rely on on ethereum Main security uh but still need a lot of performances and there will be a lot of use case around this thank you you're welcome

there's another question I see here can you hear me yes Marco first of all great talk really appreciate you taking us through that um I've kind of got a question on two things that you mentioned um on one hand you're talking about the importance of composability and on the other hand you're talking about being multi-chain is someone building a network work what do you think the landscape of networks looks like in the future do you think we'll have a handful of winners or do you think there's going to be kind of many more than that and why so there are two question in this question the first one is uh about

composability in a multichain word uh the second one is about who will be the the uh if there will beay layer two more adopted than the other so I will start from the second one of course there will be layer two more adopted than the other uh does this means that one less adopted are less important from my talk I I repeat not at all uh even the less rollup are extremely important because when we need to scale we need the band we to scale so even the less less adopted rollup are really important for the overall space uh that that's also why we are not obsessed by growth into Linea we are not obsessed by uh tvls it's not even a metric for L tvl uh it's

also because we can hope uh than thankfully we can uh we don't have to talk to investors so uh we we can take our time um but less adopted rollup are as important as the most adopted one and for sure there will be differences between the different rollups uh from on the other chain about composability uh let's make an example so let's assume that you have um that you have a flash loan uh flesh loan provider and you have a a money market for example uh and you have a DEX so the composability allow you to let this player interact each other and each other build on top of the other when I

say that we need to have developers that build multichain I mean that if you are the flash loan provider you need to be on all the layer two you don't have to focus only on one if you are a DEX you need to be on Old dexes if you are the money market you need to be on all the the layer twos so that means that the comp the composability is still preserved what does it change in a multi-layer two scenario is just the origin of transaction when the user send a transaction where it will land it will land on an RPC on Linea or on an RPC on arbitrum but within each ecosystem you still will rely on composability thank you very much Mark and thank you [Applause]

l

Related talks