 Why hello wow, that's so much easier to be loud. Oh my goodness, okay So before we have any slides I'm just gonna tell you a little about me. I'm Carl. I'm a contributor to the optimism collective and we're at OP labs and today we're gonna talk about the OP stack it is OP and The Superchain which you will hear once and you will never forget because it is a sticky means sticky mean now Well, my slides have arrived just in time like uber eats Okay Okay, this is gonna be a fun talk. Let me tell you let me tell you so as Usual I have a bajillion bajillion slides. So in 2018 we set out I use we very liberally we set out to build plasma group plasma group was a nonprofit Focused on scaling Ethereum with layer-2 technology. We wanted to unlock tons of applications Vagillions of transactions per second and so, you know, we sailed out on Ethereum cyberspace Following Vitalik's doctrine following his advice. We knew what to build and so we went and in fact We did some cool stuff last DevCon. We talked we introduced optimistic roll-up and we introduced the Unipig which was like the first implementation and it was pretty sweet if you don't ask you do ask me so Ethereum we did good things good things for Ethereum public goods This was open-source software. It already got forked immediately, but guess what happened We could not get funding for it because we're a nonprofit and Ethereum did not have the public goods funding infrastructure that we needed to Support the building that we were doing to for the public good. No bueno. No bueno at all anyway, so we formed optimism and We set out to not only scale Ethereum, but also fund public goods fund Ethereum public goods Optimism public goods build the community push the community forward And so that we did not realize it. We thought it was gonna be like 12 people at the you know doing optimism. That was an absolute rabbit hole and so This is a story all about how the OP stack was formed and now I'm going to tell you about how the OP stack became the super chain and That powered the optimism collective The social technology which I hope we can use to fund public goods to align people To really make a serious difference and dent in the way that we live our lives in the future Millions of people, you know and really billions in my humble opinion Maybe maybe you know trillions if we go multi-planetary billions of AI really more than that trillions of transactions actually way more than trillions as for sure all of these things Promoting humans over capital and impact making impact profitable, right? We need to be expressing what we want as impact and make that profitable. That's public goods funding really at the end of the day So optimism collective, that's why we're here, but that is not the story. Let's go Lior Jenkins The rough start so this is the whole journey a whole journey rough start, right? We formed some you know terraformed some land in Ethereum cyberspace and you know created our little you're a little community and built an Ethereum layer 2 that was EVM compatible and you know, it was pretty cool But to be honest it was not easy not at all. We had built a roll-up We had built a fault-proof, but it was complicated. It was hard to maintain It was difficult to onboard new people. This was not the you know easy sailing that we thought we were gonna do We're like, yes, we know how to build it. Now. Let's put it into production. Wow. This is really hard Really hard and so by the grace of ethers Phoenix the god of rationalist retroactivity We happen to be eating dinner and we saw in the back corner of our eye George Hots Literally the you know founder of comma AI builder of really really good open source production software And we're like George. Yo come through and it turns out he knows Ethereum and like a new Ethereum layer 2 is pretty insane So, you know George on his little, you know journey kind of stopped by our little island said, you know What's up? And he looked at our code and I'm not gonna lie He gave us some you know a hard pill to swallow He said one he said you have a hundred times the lines of code that you actually need for this To every line of code should be worth at least a hundred dollars That means the cost of maintaining it the cost of people learning it It is expensive to write lines of code even a comment and Finally the goal your goal should be to upstream to Ethereum and build software That is so simple that it can be standardized and built on top of that's your goal And so to kind of prove his point he was like, okay Let me take this compiler that you have that was thousands of lines of code and let me rewrite it and do it right and Turn it into 300 lines of code That was the beginning of the formation of our North Star towards simplicity and standardization And so of course as Geohod does he left And then chapter two we finally had our North Star and so we could start measuring progress towards it We were going to boil our code down to its essence We were going to reduce our geth diff to less than 1,000 lines of code That was our basically our whole road map at the time And so we went to coding our little gerbil selves, you know all these are gerbils Well, they're really hamsters because hamsters actually are cuter than gerbils anyway I'm sorry gerbils. Okay. We started making improvements to our L2 island, right? We terraformed the land further it really we'd like started making real progress simplifying our code It was easier and we became fat gerbils off of our great successes And so we had made some serious progress and in 2021 Q4 we released our EVM equivalents upgrade and that thing has served us well We have been EVM equivalent for basically a year now and Fast as Ethereum and it has been nice. It was a beefy release. It was fantastic, but Our job was not over. We still hadn't finished because Geohot came back He just popped in and he said all right. Let me tell you something else Well done. You got rid of a lot of your code that must have hurt that is hard But your proof system is way too complicated still you're going you're going off the deep end here I can help and so what he did well He contributed cannon just this really simple proof system and why did it? Why was it so simple? Well, it was because it separated the client software From the proof Software from the proof layer you compile the client down to the proof and in fact Vitalik at the same time was suggesting the same kind of architecture But George actually took that and created a you know pretty pretty solid version that people have been playing with ever since and That showed us something else that we hadn't thought about before that showed us the power of Modularity the fact that he was able to achieve this EVM equivalents was because he split it out into two different components And so right EVM equivalent fall proof less than 4,000 lines of code The client compiles to the proof and it showed us that power now. We had a north star but For our goal of reducing our get-diff down to less than a thousand lines now we had a path to achieving it and So we also at the same time happened to be listening to some nice like Freeman episodes And this is one of my favorite moments in in like every podcast that I've listened to basically It's just this line is when things are beautifully done. Usually there's a well thought-out set of abstraction layers It has the thinking about the problem space slicing it up and then going at it that Mentality it changes the game for software development and architecture so you know he's off again and Next up the last mile right we had just made this 10x line of code reduction We but we still had 5x too many lines of code again It was crazy and we still had 10x too many overall. So what did we do? Well? Turns out that we started coding and we noticed that if to was coming to the same Realizations that we were having as well They realize that they needed to modularize the e2 clients and make them talk to each other via the engine API They realized that the currently it was too tightly coupled to monolithic and so what did they do? They took the client software and they split it further into Consensus and execution. That's why we have these consensus clients and execution clients so Well, we saw this e2 consensus. We're like, huh We could just write a roll-up consensus client and boom Slotted in in the same way and now we can reuse all of these other execution clients like get like Aragon Like etc. There's so many and this gives us that multi-client ecosystem that is absolutely critical for securing a chain Which has billions of dollars we need we cannot stop With one client unless you're gonna formally prove your client and good luck And anyway formal proofs are like two clients anyway. Okay point being we finally had our golden ticket to a less than 1,000 line of code diff in geth and so we got to build in in 2022 do do chair foreman building cool things and boom in Our bedrock release our upcoming bedrock release. We finally have that commit that single commit that turns up You know normal geth into op geth With less than a thousand lines of code So let's you know 821 less than a thousand we achieved our goal We got to have a little dance to celebration gerbil celebration. We include all rodents in this talk The bedrock release finally we had Created this code in a simple modular way. We split up consensus execution and the proofs And we renamed the proofs to settlement because it's more me me and boom We had achieved that goal of simplicity and standards But then Something unexpected started happening I really didn't I did this from memory I have not refreshed the actual sound I just know the Sound anyway, ratatata. Okay. No, we started getting forked literally all over the place. It is absolutely mind-boggling, right? we Multiple people set out took our code base forked it set up their own settlements and further it got crazier some were modifying EVM we're modifying the EVM and the execution layer in geth and some we're modifying the Actual roll-up part of it to make it a plasma so that you don't post the data front like all of these forks And I'm not talking about like, you know pet project forks. I'm talking about like mega You know you look at L2B. You got the little op's shout out. We got some forks in the room So We had set out we had created the consensus layer execution layer split and then things got crazier Guess what next guess what next well if you were at a talk like five hours ago You would know what next someone literally took the code base for like forked it and made a 3d survival game that is fully on chain literally playing something that is unrecognizable brand new software and and Literally every single block like like I just got a momentarily like we're not talking about like, oh, yeah You know you get an asset and now you have a nft or something No, I'm talking about like you mine a block and that's a transaction or you put something in your inventory That's a transaction. That is crazy sauce, right stuff. We had never thought was possible and they're modifying it right like we modified the the roll-up to become a plasma for extra scalability and Modifying the execution layer and wrapping it with mud shout out to mud making it super fast, right and We get to reuse the whole settlement layer code base for that process and next someone took cannon Literally made it a game boy like made it prove a game boy emulator so that they can then literally play Pokemon and fault prove It literally having up for you know Pokemon roll-up. It doesn't make sense It's like ridiculous what you can really do with this code the sky really is the limit, right? You have the rust program they turned cannon into rust all of these things because we were building open source We were building foundational modules that stand alone and are elegantly built so Very we got all these new forks all these new little islands out in ethereum l2 and Then our north star of simplicity started bearing fruit Great exciting so and Thus this begins a new era It creates it was time for branding because our code base had no name. It was just the code base You know, it's like that's kind of boring. So we're like, hey, let's turn this let's flip it. Let's make it cool Let's make it fun. Let's call it the OP stack now Everyone is using the OP stack. They're contributing to the OP stack to give it back to the stack. We're all building on the stack and so Build the stack build open source public goods push the ecosystem forward So the OP stack, what is it? It's our open source after a stack designed to power blockchain ecosystems built for the optimism collect so That includes that includes of course what we've been talking about this whole time the whole chain software, right? The decentralized stack required for spinning up chains the consensus layer execution layer more layers to come literally This is just the beginning Additionally, it also requires a governance layer things that we're building such as the identity layer the Retroactive public goods funding all of these things need to be built in a modular way so that they can be reused and All on top of Ethereum, of course, where are we right now? Come on. What's on my shirt? Now we are in DevCon. Actually, that was a great transition I did not mean to make we are in DevCon in case you didn't know talking about the OP stack And so this is kind of the time that we're just really talking about it And that means that this story is bridging into the future Okay, now we're in the future gal. Okay, so everyone in this future in our future everyone's future Contributing back to the stack right with shared modules. This is the lesson I literally came from a talk on, you know practical pluralism Everyone is able to share base layers share modules That's how innovation happens in this space and we can all benefit we can literally push the ecosystem forward And so there's lots coming down the pipeline literally so much We have this really nice code base that we're releasing very soon with bedrock. It's super hype. It's clean It's like the cleanest but there are things that we can make improvements to Such as introducing multi-client faultproofs such as introducing multi-client ZK proofs and critically This means that deploying a you know deploying one of these op chains We're calling them it doesn't tie you to a single proof system It doesn't tie you to a single technology You can have a ZK roll-up with a seamless upgrade so that no one even has to notice You're just lowering the withdrawal times in the background right these kinds of things happen because you have clean APIs Where you can separate and plug things in and Additionally we got you know plasma consensus for some ZK plasma for super scalable op chains and You know, we got a Pokemon execution apparently for a ZK Pokemon plasma Bitcoin, you know, whatever You know, this guy is the limit really so Everyone can benefit from these shared modules Really nice. So one person creates a little Greek statue, which is of course a great contribution to the op stack and boom Now it's in the op stack and boom everyone can adopt it. No problemo. It's great. And by the way, and Retroactive public goods funding right we're not doing this and the whole the whole reason why we got into this thing Was because we wanted to contribute back to the open-source software The stack that and then make sure that we would get paid even though we were building public goods And so of course, you know, people got to get paid for their their great Greek statues So with everyone contributing everyone gets paid. Everyone's happy. Let's go plasma groups dream is starting to be realized alright Well, that's not all y'all that's not all because right right now It's like oh, there's these little islands these op chains and they're they're doing their own thing But the reality is we are in this together Experimentation cannot should not must not equal fragmentation the same time as we're experimenting We need to unify we need to bring the user experience the developer experience everything together Because it's better right so that means that we're standardizing op chain security right when you reuse these modules you don't have all these crazy bridge hacks literally every week because Everyone is running the same software bending fitting from the same lindy effect of that software It's all you know proven formally proven multi-client whatever it is We need to standardize because it makes everyone stronger Additionally standardizing off chain tooling we noticed this with the EVM equivalence upgrade everyone got to use their tooling from before and standardizing off chain governance everything from building governance modules to even Introducing people into the collective through an identity layer so that we can have democratically run governance all of those things are absolutely critical for people for us to share as a community and and It's important to note That just because you have two different options does not mean that they cannot communicate Atomically with one another right you can send a transaction to one op chain and have a flash loan atomic swap This is something that is very possible and it is enabled when everyone is running the same software and even shares a sequencing layer So no bridging who bridging bridging is lame. I don't like bridging. I like doing things That's not a doing thing. That's a doing thing to do a thing. Anyway very very That's how we design things. I mean really it is actually in some sense. Okay The OP stack is not about pushing people apart It's about bringing people together So we can all have a gerbil party together And so talking through loud Now the final evolution right we're doing all these standards. We've got all this Composability we're getting to the point where like the software stack is maturing. It is this one thing We're all contributing to what does that mean that means that we are starting to form a super structure Not just defined by this or that, you know op chain doing this thing this saw, you know, we're actually Bringing people together with the network effects of cooperation to form something that is entirely new and What is that thing? Well, if you remember the beginning of the talk you might start to find out as the Islands configure Bono the super chain. We're back baby the super chain I told you I was gonna do it. That would be weird if I didn't anyway The super chain birthed through the OP stack through these standards through the shared compatibility The atomic composition shared sequencer set we start seeing this thing the replacement of the web to infrastack With decentralized alternatives that can power horizontally scalable applications like we're talking about the internet's computation and this is not multi-chain, right? Op chains are not app chains. Everyone is a part of the collective. We're all part of this network Additionally, this is not the mono chain, right? Because at the same time is we're all interconnected. We're also not, you know, the same, right? There is still multiplicity. There's still biodiversity and it's horizontally scalable. So instead It's all connected by the same technical and social fabric. It is not the multi-chain It's not the mono chain. Tell your friends y'all. It's a super chain. Let's go But wait, but wait, I just went ham on some tech Let me just real quick bring it back to why we are here because I forget that literally I get so into the tech It's so much fun. Anyway But we are here because we are forming new technological social institutions We are forming the optimism collective why we want humans to be valued over capital We want identity citizens, etc. We want impact to be profitable We want to build the optimism collective and just contextualizing this why now, right? Why is this so critical now? It's because we are entering a new era in the internet and as a species period because I'm gonna tell you right now I'm a species in the internet right now. My life is crazy. So Today we are living in a world where profit-maximizing Corporations they are the ones that are operating our our social public infrastructure, right? I can't post on the internet without going through a privately owned corporation also We're literally we are confronted daily with global coordination failures from conflict to biological stuff like it is getting terrifying and We're doing this in this crazy melting pot World very misaligned All while we're about to birth a super intelligence that's gonna look at our economy and be like oh, yeah So you the way that the things that we reward in this system is extraction and you know bad behavior, right? That this is terrifying to me. Our future is not guaranteed. We need to build this thing This is not not an isolated problem so right unprecedented times require Unprecedented social technology the end of the day blockchain is a social technology. It what it's what brings us together It's the social problems that we're fixing on the internet today reframing those incentives So that's why We're building the OP stack as an open source public good, right? We're funding public goods Retroactively we need to be doing this on a massive scale our social institutions for funding public goods are not adequate and We need to be providing people identities. So we measure human utility not just You know shareholder profits so we can maximize impact and Give profit to people and that's why we're building the optimism collective and That's because together we can make impact equal profit and summon either Phoenix. It's like It's like the it's like the rationalist God that will like give you money for making it come to be and you know You're you're building public goods and you're you know being a good person. Anyway, it's just like the pull towards utopia Our better selves either Phoenix. So that's how right we started out as Building out we built out this OP stack because we realize that's how we push open source forward We that is going to become the superchain and that will all power the optimism collective Which will align incentives and y'all please come contribute align your incentives with us and stay optimistic and Thank you very much all the loves all the hearts. I'm out of time