BUIDL SEOUL 2018 (DAY 2): Presentation from David Knott

BUIDL Seoul 2018 · November 2018 · 21:57

David Knott, researcher at OmiseGo, looks at how real-world information can reach smart contracts on Ethereum and other public blockchains. He explains why blockchains hold a shared global truth while everything off chain is subjective, surveys several oracle projects working on the problem, and discusses prediction markets. Answering a question on the trade-off between fast centralized price feeds and slower, more robust designs, he points to layer 2 and plasma chains as a promising balance.

Speakers

Topics

From BUIDL Seoul 2018, hosted by Kryptoplanet.

Transcript

Kahneman reality Unchained unstable or me Savoy everyone David cool so we have we have a blockchain artist in Syria and the Syrian is wonderful it can do a lot

of things where Joel just did a wonderful job but there's a Syrian peasant issue right now and actually most most blockchains most public walk things have have this issue where they're essentially fairly closed systems so when you're interacting with a smart contract you have certain guarantees everyone essentially can view this smart contract and if this condition is met you have

you can have confidence that something will happen that essentially the smart contract logic will work how you expect it to now once we get into the real world you don't have these assurances and this is one of the reasons why it's Markov smart contracts are so valuable online legal contracts where there is an incredible amount of food wiggle with smart contracts all of a sudden the onus is actually on the contract dragger is it's not included in the code it won't happen and so yes this is very exciting but now we essentially have to connect the tube because for

public watching technology to have an impact in the world I mean half we have to have viable ways to get information of what's happened about what's happening all around us into into the public markets that we're using and there are many projects working on this right now today I'm just going to give a brief overview of a few what they're doing so yeah essentially blockchains public truth everyone can see right as

soon as we get off chain everything is essentially subjective right everyone has their own frame of reference and this this really is the issue there's no philosopher-king there's no benevolent dictator that we can use to get information about the real world who we can trust to essentially convey any information we need on to a blockchain and even if there was a benevolent dictator we would want to build all our systems on them because the whole beauty of public blockchain technology is

resilience to diversity we don't want to have weak links weak links cause systemic failure in the long term and so we're trying to minimize or eliminate them whenever possible and so absolutely truth is here I kind of tend to think about it that's the global perspective and when we're dealing with public walk things we do we have this global perspective right this is global truth that anyone can add to operate it on read from access but then because relative truth and relative is where I would be having conversation with any of

you and that conversation is happening it's real but no one else needs to know about what what's being said that information is essential just between us the information is being exchanged and it's great and the beauty of this is that it actually doesn't need to be on a public watching for the most part having relative information in many situations is okay but then all of a sudden we make some sort of agreement say make prediction make a bet on this prediction all of a sudden relative information exchange isn't good enough

once you have economic incentives on significant amounts of value on the line and so this is where we try to transition from relative truth into more absolute truth and so in the case of say a bet or a prediction we could agree on something but then we put it on say a public flogging and use that as the arbiter we use that to determine the winner as opposed to having to trust the counterparty and this is this is really an important important point to grasp what we're essentially doing is we're

transferring trust we're not eliminating trust but we're just transferring trust from counterparties onto blockchains essentially and you give this is that they're just more people more parties involved in running these blockades and so we have stronger guarantees then when we're facing with an individual or in like like one single counterparty this is pretty cool but all of a sudden wants to be put said prediction on a blockchain we need a way to find out from this one essentially because it's easy for us to lock up

value on a public watching we can both sign it's locked up but who determines the winner and this is really a prime example of where we need reliable Oracle's so what is an Oracle an Oracle is essentially a way of getting information about the real world on to public blocking and there are many different ways to do it the simplest way would be to use a centralized Oracle so like one entity that's responsible for determining the winner of a prediction they send a transaction on the stereo say and then all of a sudden boom it's

resolved done but right once again don't rely on the be link and so many people are exploring more decentralized in different ways to resolve predictions just one potential one in this case that I'm fairly heavily involved with in terms of using Oracle's is actually with plasma and to be frank pretty much all layer two solutions so essentially layer two solutions are pretty awesome because they essentially to transact for cheaper and in many then

on the state of baselayer change and also in many cases faster the downside is that if anything goes wrong you're essentially you have to go to the base layer and in most cases this is an advantage in most cases you want to go to the base layer because it has stronger security guarantees but but using as nerium as an example say something goes wrong on the plasma chain or in a state channel and all of the studying you have to go down to the etherium to resolve to resolve what went wrong who messed up essentially and to essentially take value away from them

punish them for it and all of a sudden you have to use the base layer and right it's fine in most situations but let's say a cerium is experiencing a tremendous amount of network congestion all of a sudden you or your users may not be able to make time-sensitive transactions and so that's a huge issue and so essentially to be able to counter this issue it would be super helpful for layer 2 solutions as we had a reliable way to gain information about network congestion to gain information about things that are happening external to

the system because then in the case the plasma say we could determine and make challenge and response periods dynamic based on network congestion so if a cerium is super adjusted we would have longer challenge periods and this would be great for everyone involved because no one wants to pay high gatsby's just to compete with the token sale that's happening in many cases people are fine waiting and if they're not fine waiting they can there are things we can do to deal with that but at the very least we'll give them the option via dynamic

time periods and so how how our current projects dealing with this issue so maker maker doubt is a super awesome project thank you they are essentially creating a stable point but how they ensure stability is over collateralization which is a super cool exciting but essentially to maintain stability they need a price P they need to interact with the outside world they're stable stable die is supposed to be equivalent to the value

of 1 USD but how how can they track the exchange rate right at least right now that's information that is external to the system currently in the world with MS there now there is no non comparable reliable way to get access to price fees yes we have decentralized exchanges and they can work to an extent but quite frankly if there's not the liquidity there to make it a non-trivial to tamper with if say maker was to base their entire time system on on decentralized exchanges for pricing information and so what maker

actually does is they use a combination of centralized exchanges they essentially use multiple centralized exchanges we came by and combined with a price feed and they set that down the road they're interested in kind of moving away from this but it's a fairly pragmatic option right now to gain reliable price information which is necessary for their system work and for stability to be maintained so essentially one way to gain information that's about the outside world that's safer than using one is using a bunch of trusted parties this is I would

say not optimal but fairly your choice for now so right we have Bob one and just trying to go in off him he could be wrong right you don't know if I am I just say one centralized exchange for a price P we want to rely on as many many participants as possible and this kind of moves us into the realm of prediction markets prediction markets are super cool essentially it allows people to make a prediction and they allow anyone to participate in making in either side of set prediction and it's a really

valuable thing about prediction markets yes they're fun they're fun to use but you can actually use what's called the wisdom of the crowd to gain some very information about future outcomes because in many situation when you have a lot of people part artistic in prediction markets is valium on the line they can actually actually predict real world and outcomes fairly accurately so yes we could have the ancient market with just Bob and that would be fine it wouldn't give us that information but all of a sudden when you have a million people involved in a single prediction market together as a group we can actually gain a bunch

of people inside so then there's fog or bugger is has been around for a very long time they're now up and running they're currently based off this area their super super exciting prediction market because they kind of take a different approach than just using kind of like trusted parties essentially what the harder prediction market of the house users to do is it allows users to make a prediction and then they can actually choose who they want to address first said to essentially give the outcome of

said prediction and this is all publicly available so now all of a sudden for each given prediction you can pick the best party or party as possible that prediction and this is a fairly huge step in the right direction it doesn't necessarily solve the work a problem but it definitely brings us significantly closer and on top of that hunger brings in an aspect of collateral petition for a cool so not only if you pick the party who resolves disputes but you have them collateralized and essentially you you

have challenge phases if if it's enough people feel like they've made an incorrect resolution and so this is awesome one downside is that even though I would say it's more stable than other mechanisms they also cost more to use because when we're talking about that about blockchain technology they're really expensive to use so increase complexity more expensive to use so yeah that's kind of like I would say the biggest downside dogger and then we have eternity which is an entire new another blockchain and I think it's super interesting because they actually decided to build Oracle's into the base level of their protocol and so if this

essentially allows them to give Oracle's special treatment I think this is very interesting because it's recognizing the importance of Oracle's in treating first-class citizens and I really like public watch ends are great but unless we find better racism to interact with the media world I see them having a very hard time gaining mass adoption now scooch are key and few target is really kind of it's one of my favorite examples of the use of prediction markets so Robin Antin an economist coined this

terms upon values bet on beliefs so essentially what future key is is essentially where you vote for elected officials based on values like what you believe in and then they actually create prediction markets that anyone can use to move society towards better outcomes so an example of this would be I there's a elected official comes elected now all of a sudden they have a goal for society let's say goal is to increase literacy rates enough people agree on this and

but there's a bunch of potential ways to deal with this and so there could be a bunch of prediction markets where anyone can participate and actually stake value on the best way to do this and so this essentially gets the masses involved in political decisions because all of a sudden they can have something at stake for each decision and yeah this is currently the case in our current political in our current political systems at least not on the decision decision scale so yeah I would love to kind of see this progress both with

watching ecosystem but yeah I haven't governance mechanisms in the real world dude awesome yeah it's still still super early days especially in the world of decentralized Oracle's and there's a lot of research being done in terms of how to do it better this is a super old map and I feel like this is kind of where we are in terms of decentralized Oracle's we do not have a full view of how it should be done constantly expanding says view and learning more cool yeah any questions see what it says yes

hi-yah so I saw how you use maker maker and auger and examples to kind of describe different types of Oracle for different this way you can radio reality entertain yes except I find you know makers Korean Oracle of price P as well faster than what you know what author is doing he said it may be less real like while I believe the author system is a relatively much more reliable and incurring as I as far as I see it since identical Emma you can either take a best but less inaccurate way to get our reality on the chain or more accurate a

slower complicated way but do you see any point where we can have catch those hold values by any way yes eventually I would say right now you're very correct about that trade-off in general about base layer like working directly on base block things such as etherium is relatively slow and for financial products especially such as maker they can't really afford to move it blockchain speeds and so that's where life having price lead from centralized than my trusted parties comes in super

handy because price information just like that I would say probably looking and I liked either depending on what you're building either like layer 2 solutions seem like a very good balance where you still have like a lot of the same security properties as working directly with mysterium without having to deal with a lot of the scalability stuff yeah so I would explore layer 2 further for that particularly as Machane be super cool to see a plasma chain that handles prediction markets and it has we kind of get closer to being able to do

more complex stuff with like plasma architectures I think yeah good chance misty to happen [Applause]