Luiz Henrique Amorim - The future of Ethereum scaling with Polygon

ETH Latam Buenos Aires 2022 · 18 Aug 2022 · 14:40

Luiz Henrique Amorim, a fintech engineer at Polygon, explains how the network helps Ethereum scale. He describes the congestion and high gas fees that come with growth, the blockchain trilemma, and why layer 2 solutions are still needed after the Merge. The talk surveys Polygon's PoS chain, optimistic and ZK rollups, Nightfall, Avail and Edge, and highlights EVM compatibility, developer experience and security.

Speakers

Topics

From ETH Latam Buenos Aires 2022, hosted by ETH Latam.

Transcript

[Music] hello everyone first of all it's a big pleasure to be here i wanted to congratulate the organizers event i think it's it's amazing to have a lot of people different kind of people thinking in the future you have a more decentralized future so it's very good to be here and my idea today is talk a little bit how polygon is doing to to bring his scalability for ethereum network so i'm louise i'm from brazil i'm

starting polygon this year january's i'm fishtech engineer there i would try to talk today about the the growth of ethereum what this what problems i started with this growth we are the polio and the the solution that we have for uh for solve these problems so okay as you know ethereum was built to be a big computer so a worldwide computer and for this computer works you you need uh nodes okay you need servers

so imagine for example a silly example but if you need to put uh 100 of photos in your computer you just have this space but you want to put 1000 of photos in the computer so it's not possible it's more or less what is happening with ethereum so doing moments like cryptokit is crazy uh defy summer the crypto bull market the number of transactions has it a lot if you think that in the last month we had more or less uh 1600 millions transactions per day so it's a lot for for the network so

some kind of problems like for example if you have 100 of miners today and you have one hiding 100 of transactions okay the network is working good but tomorrow we start to have one 10 000 of users so the miners i can't do a work in a very good way so a lot of new users the number of transactions increased a lot so high demand of the miners and as you know in in a theory network you need to pay a guess price to should to have you at uh your transaction mine it so who pays more have your transaction and mine at first

so a lot of demand a high demand the price increase also so the highs in guys price network congestion and slow down of the transactions are some problems that comes with this growth of ethereum oops okay so one problem that vitaliky buttoning explained from the beginning of ethereum it's the blockchain dilemma so a layer want blockchain to be perfect have to be three qualities that is be decentralized be secured and be stable

but today is almost impossible to have this just three qualities in the in the same blockchain so i think with the merge when we start to have proof of proof of stake in ethereum maybe we can have more nodes will be easier for people be validators because for example today you have the option to to increase the size of the nodes in the layer one to to bring scalability for layout but but if you do this uh the the power of computation to to to run this node will be very difficult so less people can run the nodes and it turned the network more centralized

and you you turn a network more centralized you have less security so today ethereum bring for us security and decentralization so it's not possible to have a good scalability i think even with pro proof of stake and the sharding if you think in a billion of transactions million billion of transactions in the featuring a lot of projects we still need some kind of layer 2 solutions to bring scalability so what's polygon polygon was founded in 2017 so the founders created the company already with the idea to

to bring the scalability for ethereum because of this blockchain dilemma problem so our goals is make it easier through to mass adoption so allow that a lot of different companies different projects can use the blockchain the security of their own blockchain and provide an amazing environment for the developers so we really want you to to build products that you have interfaces and it's very easy for a developer use our software development kit tools our apis and things like that so is what we really want our number of users are increasing a lot uh

more than one billion of transactions so yes network is being very used so our solutions that polygon is is trying to to build is focused we have side chains we have the pos plasma and now we are very focusing in secure loops and optimus roll-ups i think is the future for scalability is use this kind of technologies so today the more used product of polygon is the pos side chain so is a side chain you you you can do transactions very faster than

the ethereum so at your cost per transaction is very cheaper than ethereum and it's very good because it's avm compatible so you can run almost all types of erc standards in this side chain one question at one point is because you need to believe in the security of this side chain the final uh the final hash of the transactions don't don't come back for delay one but yes we have a good security in this in this layer through our solution other

amazing project that we are working now is polygon nightfall and the idea of polygon knife is use optimus pro lab for scalability and zero knowledge proofs for privacy so we are very focusing in use case like supply chain orchestration blockchain mixers private payments and ftmark places so yes i have more or less directed tour here so yes what is optimistic it's optimistic so you you have the proposers

in the layer 2 you have the users the transactors so when you do a transaction the proposal we will roll up these these transactions in a batch and we'll send for the layer one saying that these transactions are good are valid so the layer one believes in this optimistic rollup okay and you have more or less seven days for the challengers that can send a thought proof for layer one for example if the challenge finds some problem you want one of these transactions in this batch uh the challenger can send a full proof and say no this this

transaction is not good we need you to revert this so do i hold back he worked the proposal is penalized and the challenger receives some fees because of it one point here because for optimus pull up if you want to do a withdrawal you need to wait more last seven days but now we are trying to implement the liquidity providers with the liquidity providers you can pay a little bit more and you you you can withdraw faster other solution is polycon polygons the kvm so this is amazing because uh we are trying to build a

vm very compatible it's likely very similar you can run you can deploy all the smart contracts you can use the same technologies the same tools that you use today for for build applications for ethereum so uh it's it's increased a lot the the throughput uh we have a improvement and more more and then nine percent uh reduction in token transfer you have the security because we are believing in the in the attainment layer one so the idea uh deciding with security mind so the smart

contracts we warranty that who is executing a state change is doing it correctly okay then create a proof data test should a validity of a scale change and then avail valid proofs on chain for verification this is more or less the architecture the the main difference for example between optimist roll ups and ziki roll ups is because in optimus pro labs you send the batch and you are saying for layout that all these transactions is okay and you need to wait for the challenger in the key proofs you have the second the sequencer when the user in layer 2 do the

transactions this sequencer propose a batch of transactions for the aggregator okay the aggregator will run approve is eisnark arches algorithm that will generate a proof for without interaction is not necessary so generate a proof after this proof okay the transactions are valid it's okay so you can send back for the layout so here the amazing thing is because your transactions come back for later on already validated so it's not necessary do any validations delay on again so it's it's

very good other project that we we have also polygon polygonal video okay the idea of polygon aveo is if you don't need to if don't want to store your data in your our blockchain you could store your data in in polygonal video okay so it's very good if you need to do some verification in layered layer 2 blocks so you can use this product others polygon scaling solutions that we have is polygon 0 that is focused in in performance

uh polygon mining uh general purpose for for the kilolab polygon edgy uh if you want to deploy your our blockchain so we we have like a interface that you can deploy your blockchain directly in polygon edge uh it's it's amazing products also and what are the benefits of polygons so it's ethereum we are we are building products that are ethereum compatible evm compatible so you can keep using uh all the things that you use today in interior you you can keep using here with us

we are very focused focusing this developer experience so we are trying to build very good sdks uh that in a in a way that should be easier for the developers to to build applications on top of it we have we've had a very we have a very good support so we already already have some projects so if you need something we can help we have a very very cheap very good team for support and the security because yes we are working in layer two but for example there's a key roll up when you when you prove the transactions you put the hash again in layer one so you

believe in the security of the layer one also option is rolled up the same you put the batch uh you put the hash of the batch in the in the layer one also so we are allowing the security also and interrupt interoperability so our idea is if you need use different kind of products of our products you can so it's not not not not necessarily use just one you can choose depends of your project depending depends of your application you can choose one or more products and use it so is the idea it's okay it's it's more or less this that i

i try to bring for you and thank you so much [Applause] [Music] [Applause] [Music] you