BUIDL ASIA 2019 (Day 2) : Presentation by Adrian Brink

BUIDL Asia 2019 · July 2019 · 25:02

Adrian Brink, founder of Cryptium Labs, argues that core protocol engineering is the least appreciated work in blockchains. The talk explains why application builders attract more attention, and why systems that fund and coordinate protocol development without forking are likely to outpace others. Governance lessons from academia are also discussed.

Speakers

Topics

From BUIDL Asia 2019, hosted by Kryptoplanet.

Transcript

Tommy also Tommy on solder a populist Sumida TM laughs a founder Adrian bring named ghetto protocol engineering making block chains work on untreated appropriate Sumida can possibility is Meeta cool hey guys good morning thank you very much for coming to like the roles of the early sessions so today I'm going to sort of take the next 20 25 minutes to talk about core protocol engineering making blockchains work and sort of why this is an important topic that is often

unappreciated and because I think generally speaking so if the people building the applications some top tend to get a lot more press right and I have a bunch of examples about this later but this talk is very much about core protocol engineering and I'd like to start off oh maybe actually it was a little bit background so I'm Adrian I am one of the finest of krypton laughs we are a bunch of protocol engineers that like to sort of do research into decentralized applications and take that reached research and implement it into like production ready systems right now completely blocked agnostic so we are like oh we also happen to run a validator this is mostly historic path

dependence we started with a validator but turns out that we like running the protocol like developing the protocols more and so we run validate us on things that we find technically interesting to start off with what is core protocol engineering it is everything that very few people talk about so it's a consensus system it's approve stake implementations its how efficient your light clients are its how efficient your database implementations are how efficient you hash functions are it's it's not sort of what is the user facing application that people build on top of this so like the basic example in aetherium it's sort of how efficient is the virtual machine or how efficient is

solidity what kind of opcodes existence ability and not so much let's try and build a prediction market on top of ethereum in a smart contract yeah this is what I'm going to talk about the next three minutes I hope you in the right room and you will enjoy the talk cool so let's quickly start off with this why does this actually matter and sort of to me the most telling example here is a theorem because the theorem has been around for a long time and we sort of had a chance to see what happens there so the theory was very very good at figuring out a business model for application development for Def development right sort of in the last three years for the ICO and fundraising boom Theory immed ABS roughly raised

about four billion dollars which is a staggering amount right and sort of looking at what actually came out of it a bunch of pretty presentations and very little actual usage but there's a reason why there's very little actual uses usage it's not because the ideas sucked it's because we spend about four billion dollars in funding cool applications on top and almost zero money on funding the people that like extended the underlying core protocol so a theory I'm sort of they took off in this trajectory application development took off massively but at the same time they didn't figure out the business model for core development to happen and so everyone sort of was left in this effectively prototype stage sure changed

a little bit of a time but like it didn't the pace of the underlying engineering for thorium didn't keep up with the demand ons of the application side and this sort of resulted in a bunch of other projects launching afterwards but this is really fundamentally why core protocol engineering merits and why any chain that is sort of thinking about this today really has to think not only how do we incentivize people to build on top of us but how do we incentivize people to build the chain itself because if no one builds the chain you end up in a situation where crypto kitty's holds you chain for three weeks and offers everyone's like wow this is really

difficult to change no one worked on this for years come back in like three once we have like eath 2.0 working so this being one of the examples oh and so the most staggering example is like the four billion dollars that got funded for the apps parity which was arguably one of the main client implements for a theorem received in the same time frame roughly four million dollars to actually maintain the underlying infrastructure just sort of like the order of magnitude and difference in the funding is staggering to me yes so this is sort of why this really matters so now that we sort of spoke a little bit about why protocol

engineering is actually really important it is also important to acknowledge that currently there's about 2,000 or so like unique individual assets not all of them try to be their own thing some of them are daft something try to be their own change but realistically most of them will go away like I don't see a future in which we have 2,000 independent chains that sort of like happily sit there and like do their own leaf thing the more likely scenario here is that we end up in a system where we probably have a couple of large ones so maybe we have like 5 10 20 but so having that range of size really and so for

protocols for block chains the questions really given that there's a blockchain war coming and sort of not everyone will make it and most people will actually fail how do you differentiate yourself how do you compete with each other in this aspect and I don't necessary in this even in competition between for example Bitcoin in the theory I'm I think they can happily coexist also cosmos Tesla's parkour it they can most likely all happily coexist I'm not too worried about this but it's really about how do you compete against everything else that's out there in the world and one of the important points here so there are sort of two fundamental thesis for us on how do you out-compete the

rest of the world one of them being [Music] systems without governance are very likely to fail in the long run mostly because systems without governance do not provide a clear path to develop a such as myself called F's I'd like to work on protocols to sort of go well this is the current state of things and I have an idea so I'll tell the community why my idea and the community goes again this seems reasonable show us a prototype now I build a prototype and then effort now I have an implementation but without government's there's really no clear path to go from this is state a this is what we currently act - this is my prototype and this is the prototype or

the implementation deployed on me net and this is one of the big reasons why this hasn't worked new theorem and like why theorem hasn't changed lot because it's like a super opaque story on how do you go from the current version of a theorem how do you convince the community to upgrade how do you convince - to upgrade so the first fundamental thesis here is that systems need a way to change itself if you have a and by the way I don't mean this exclusively some may survive without that ability for some of this maybe feature right if you want a true mutability so let's say you're a Bitcoin and you you actually okay with like you don't want to change like this is one of

your features where it's like you promised to the world this will never change it's a trade-off though because I can almost guarantee you that Bitcoin will not be the computational layer that everyone in the world uses it's like no matter how good our layer two solutions become it's very unlikely that Bitcoin will be the root of trust for the entire world because fundamentally this is like the first-ever prototype that we build as a blockchain and I really hope we don't end up in a state of the world where like the first hacky implementation of something is the thing that runs like the entire D Center space for the next 300 years this is not to say that BTC as an asset class that may survive independently of the chain so

this was the first thesis the other thesis around governance is also that you want a system or like governance systems in general have access to incredibly large pools of capital right and it is right everyone sort of speaks about dows in the blockchain space and sadly the theorem dial never worked out because of code bugs but things like cosmos and tells us they're roughly valued a billion dollars each right now they can easily print let's say 10 to 20% inflationary funding a year so they could spend 200 million dollars each to fund underlying core protocol

development if they wanted to and I think this is a very underappreciated aspect of the capabilities that governance has governance is going to become this incredibly large capital allocator we're like the governance system itself can say we really really want this and we're willing to pay for it and this hasn't existed in a theorem either like this hasn't existed actually in any existing system in the existing system sort of the way the money came like the origins of the money that sort of funded love the core devs were either you had a foundation to give grants and this still exists someday and it will take time for

the protocol to pick up the entire slack there or that you just said well this is sort of the Bitcoin thing right it's like a lot of the core dev still other people that were very early on in Bitcoin but it's like right now it's very hard for a new team to get like yeah we want to be core developing a Bitcoin how do you get funded no one knows well I guess our race VC what is VC money what is the business model for VC money to do Bitcoin core development totally unclear I guess I'll sell to enterprise how does enterprise use Bitcoin well now I'm not doing for development anymore so like the entire business model here is sort of with we've got so funding is sort of strange and the second thesis so these were sort

of the first thesis around governance and the second thesis is protocols need to understand like need to provide financial incentives for core development to happen on top of them so what happens usually right now is that core development is incredibly fork heavy right do you have a good core deft you have good development team you are you are much better off by going well I know how to build decentralized applications I know that like the theorem community is not going to pay me of money to keep extending etherium well I guess I'll do an ICO and start selling my token I'll do my own competing chain I'll directly compete with ethereum this

is sort of for example like Nia's the new protocol is a good example of this where Nia protocol the actual implementation is super similar to if 2.0 and it sort of begs the question why did they choose to do their own thing well of course there's the governance thing but there's also a thing that the financial upside is just much much larger in building your own thing to some extent this may also like be a reason why Parrish decides not to extend a theorem but rather focus on pocket right it's sort of a much easier incentive structure there so really the second thesis here is that protocols need to figure out how to adequately compensate for the opportunity cost that core devs are necessary taking because

otherwise yeah like even though you may have non consensus systems you may have if you if protocols don't figure out how to solve like get a thousand people working on core it's mostly going to be like one or two teams that are directly funded as of as a result of the original fundraiser nothing else and sort of just to put this into perspective right let's say you you know a small team you want to like do your own thing you may so for example actually one good example here could be something like edge where right edge where like it's using you know if the code base it's relatively small team two copies from substrate even if that chain is only valued at fifty million

dollars which is nothing and it's sort of like what other systems exist there that are completely pointers right now if they took a 10% for mine they will already received more money from like doing this forking behavior of doing a different chain of the different consensus mechanism then parity has received in its lifetime in terms of aetherium funding to build a parity client so this is sort of interesting right and I think the protocol should really start figuring out how to e and by the way this also exists in real world and I learned about this recently Google this project called 120 I think it's sort of an internal Google incubator in which they say well if some of our employees want to do their own thing and

we incentivize them to not leave Google but they can sort of join the Google internal incubator built their product built their ideas within Google and we provide them a similar financial upside as they would have had in the real world but as Google we never have to worry about them competing directly with our business models so we can sort of harness all this it's called intramural spirit to go into making Google better instead of them going out from your BA competing for a little while and then we have to buy them out again it seems so much saner model and I think over time hopefully more block teams will sort of start thinking about this so the two thesis we

need to incentivize core development to happen in a non forking behavior and we need to have clear upgrade path from so of state a to state B of the world because otherwise it's a political nightmare that no one really wants to deal with figuring out who like which three buttons to push in order to like get an OP code changed in medium and sort of the third thing is on not reinventing the wheel and this may be very controversial if you're coming from sort of like traditional industries and sort of traditional schooling and like Western schooling where it's like oh you definitely shouldn't copy you shouldn't cheat of other people you shouldn't just

take the ideas and like to start extending them but I very much come from the open source world and I just want to reiterate how important this is for the overall development speed that like there has been about ten years of research introductions and building distance applications there's no reason to reinvent everything from scratch like copy steal cheat from as many people as possible because overall it just massively increases the speed at which we can develop these systems right if so and one convert for example could be China right if China had gone well we don't want to see like how

Western people build mobile phones we'll just like we'll try to do everything ourselves this would have taken a lot longer than just saying let's buy a bunch of mobile phones reverse-engineer how these things work and then start extending and improving upon the existing design and I think this is much more the mentality we're already taking this but more and more on the block chain spaces comes up now like should we have patterns should we not have patterns it's like I think it's a wrong approach like you want to be as nimble as quick as possible and just learn from everyone else that came before you so you can move as fast as possible in order to get us into usable state cool as sort of the last thing I'd like to sort of like I think six different

topics on like the exciting things that I think most people if you care about proper girl development should spend some amount of time on over the next five years so of the highest level the highest leverage things you can do the first one being interoperability so currently we live in this sort of very strange world for some reason when I want to build an application I have to decide your own ability and I theory I'm drawing a building on Bitcoin and once you've made the decision you're really mad you very much locked in it's not that you can easily shift your computation computation or your assets from one chain to another this will definitely go away in the next six to

twelve month though with a protocol called IBC that will effectively allow trustless into a like trustus moving of assets across blockchain systems so for example that I could take one Bitcoin I move it into aetherium maybe through the cosmos hub and on a theory of my issue derivative over this one Bitcoin so I split up into ten different tokens and then I go and move five of those different tokens over I be seen to Teslas and I'm using some insurance product or whatever but generally speaking of the next sort of 12-month maybe longer we'll see that we'll D couple the underlying state machines from the assets desk curing so that assets can move independently of state

machines the next area being zero knowledge proof and zeros proofs will be fascinating for two main reasons one of them is computational compression so let's say I want to write an efficient light kind and things like gentleman consensus have made I times way easier and way more efficient but another approach to this is that I say well let's take a thousand headers and that's constructor proof in zero knowledge that those thousand headers are correctly linked to each other and they sort of like the state transitions happen correctly between them and so as a like-kind I simply get the proof and I verify the proof instead

of downloading a thousand headers I now have a constant size proof that can verify the other aspect of the knowledge proofs will be computational privacy so how do we build private payment systems very similar to Z cache how do you make them more useful this is another interesting research question right in Z cache you sort of have to use the blockchain as a messaging layer which means that right now I have to like effectively run my own phone know to scan and like trying to decrypt every single transaction to see if I got a payment hopefully there are better solutions to this like the current state of things isn't great there the next so third error here being provable stake and it's important to understand that consensus is not proof of sticks so

proof stick is not a consensus proof of stake is a civil resistance mechanism and a mechanism to incentivize economic behavior and change the reason why most people sort of confused those is because a proof of work they were effectively the same thing so improve of work there's not much difference even though technically there's Nakamoto consensus which is like longest chain most work consensus and then there's of the actual hashing which just determines who's allowed to produce the next block the cool thing about proof of stake though it gives us way more degrees of freedom in how we can build and sort of tweak our systems so all of a sudden we have so much freedom in how we incentivize

certain behavior in unchain how we punish certain behavior and I think we'll start server the next five years we'll have to innovate a bunch more to actually maintain this property of permissionless censorship resistant decent rest application applications and so I think this we fastening to do and we should talk to a bunch of economists as well next time being consensus so goon yesterday talked about avalanche and so I've currently the with Avalanche there may be three different classes of consensus mechanisms nakamoto consensus along this chain consensus heavy chain fences whatever you want to call it traditional pbft so something of tenement consensus and then now avalanche the interesting thing here maybe that either we this we

discover a new fourth class of consensus mechanisms or we figure out good ways to combine them a good example of why this is very interesting topic is that I personally think running pure tenement consensus for example is very risky because if more than a third of you validates it goes offline you all have sudden just figure out how to reset that thing and combining Akimoto consensus and tenormin consensus together so that the Nakamoto concerns is sort of this unsafe fallback mechanism but that is globally agreed-upon it's quite an interesting research direction and I think web 3 is taking it into that direction with grandpa so consensus will be another large area where if I were to get into the space right now and sort of I'd spend a lot of time on next ones

scalability I think this is on everyone's mind anyway but just generally speaking how do we scale these systems so we can have more transaction throughput under the same security model sort of how can i how can one validator said so how can the Tesla's validator set for example control $100 100 thousand transactions a second without giving up the properties of decentralization where everyone can validate state transitions and this is by no means solved like everyone keeps saying this like theorem and pocket are solving this and they're making good headway on this but this is by no means final there's still a lot more work to be done so like even if you're new to the space get into this and I think the

last thing is really governance and this is to me one of the most fascinating things because so if this week we'll be injecting proposal into Tesla's and with binding mounting governance and what the result of the if the proposal would get is accepted the proposal itself modifies the governance mechanism right so we have to circus a function over which we can improve our own governance systems we're currently there are no hard limits on sort of how far the quorum can swing in either direction but the new proposal induces hard limits and so all of a sudden you have this that like it proves that you can amend that you can change everything about a protocol generally speaking as well here for some reason

most of the block Sherman's basement like we know what we're doing with governance we don't need to talk to people that have done this in academia for thirty years this is another sort of large thing not only copy and learn from other blockchain projects but also copy and learn from people that are doing this outside of the box chain context because they have a tendency to have done this for way longer time they've run into way more problems before so it's like we can avoid a lot of our pitfalls if we just like talk to someone it's like slightly more knowledge but in a specific area cool yeah thank you very much this was sort of my super brief talk about core protocol development why it matters why it's super important and most importantly why I think that the city

actually if I can leave you with one message here it's like the system's that will that figure out some of these problems around how to incentivize core protocol engineering to happen in a non forking behavior on their chain are the systems that are very very likely to over time outpace everyone else because instead of all the work going to different systems you can sort of like focus on one thing and make this one thing better and better over time and this is really what I hope for we have you can find me on Twitter our Krypton apps on Twitter a bunch of political engineers so if any of what I just said sounds interesting you please reach out to me we're always looking to hire more

people so thank you very much yes no questions