TRANSKRIPTIO 🔗
Eric: So this is Eric Hess with The Encrypted Economy. Today, we've got Sasa Milic on the show. She's one of the three founders for API3 DAO, a young project that I was instantly drawn to when I heard about it. See, a few weeks ago, they announced a partnership with the open bank project, which is an open API middleware provider for the banking industry.
This project is focused on enabling banks to send data directly to blockchain networks through the use of API3's air nodes that accesses first party Oracles. So what does this mean? Application developers can start prototyping blockchain solutions powered by open banking data. Use cases could include solutions like secure and decentralized databases for data verifications between banks and authorized third parties and the bridging of banking and open banking data to DeFi, data marketplaces, and data unions. This partnership is focused very much on real-world cases, and there's been more announcement since. I was excited. I clipped the announcement and posted it on a telegram group by a part with a small group of lawyers that focus on [00:01:00] crypto law. I simply asked "Who knows anything about this project?" I was lucky Eric Dialis an attorney in a large law firm, reached out to me privately and told me, not only did he know something about it, but he just get a notice to join the project themselves. Did I want an intro? I was like, "Yeah!"
See, I spent most of my career in capital markets as an attorney, but at times I also assume very technical roles that blended law and some of these not even blending law with networks, infrastructure, and even coding specs. I understand the importance that API's play in pulling data for things like smart routing and algorithmic trading.
In fact, even prior to meeting API3 and being introduced, I was already thinking about writing an article about why an API aggregator like Chainlink or Ban, was not a solution that could be uniformly applied across a blockchain based ecosystem. I was troubled by how in an ecosystem based on decentralized providers, that more attention wasn't being placed on how the aggregation of these links would insert statistical bias risk into the [00:02:00] system and make it centralized.
So I was really excited when Sasha agreed to join the podcast and explain. I hope you enjoy the podcast and I'd highly recommend that you follow this project. At the very least, it's a barometer for something much bigger, and I think a debate that's going to need to be had. If you like this podcast, please review it, give us comments and share it. And what that might bring you to podcasts with Sasa Milic from API3 DAO.
Welcome to The Encrypted Economy, where we look at the business of regulation and security for all things, encrypted, digital assets, blockchain technology, privacy, and smart contracts. Hope you'll join us while we explore these forces that are shaping the economy.
So this is Eric Hess with The Encrypted Economy, today we're really excited to have Sasa Milic from [00:03:00] API3 DAO on the podcast. I will let her do the introduction, but API3 DAO is, as you would imagine also involves a decentralized autonomous organization, but more importantly, it's a direct connectivity to Oracles which is a very important service that I think is going to grow in importance as we start to progress toward a web three and trying to integrate a lot of crypto projects with non crypto based data providers. So Sasa, welcome to the show.
Sasa: Thank you so much for having me, Eric.
Eric: So there's a few things I'll be talking about today, as well. They entered into some interesting projects, which Sasa is going to tell us about. Before we even get going, I got to ask you a question. So today you see Doge Coin up to like 67 cents, you see a lot of this noise in the market. I mean, I will confess, I was a believer in doge at five and a half cents and wrote it up to 35 and said "I'm out of here." So we're talking to just about, as [00:04:00] a startup effectively raising capital to get the operation going in a market that is, that has a lot of hype in it still, how do you view some of the like the rise of, just for example, Doge Coin, does it how do you think of how it impacts your ability to raise funds? Does it hurt it because there's a distraction from fundamentals? Does it help it because the overall space is hot? Just kind of curious as to what your take on it all is.
Sasa: Well that's, yeah, that's such a good question. I feel like I should write notes because I have so many things I could say about that. But for one thing, I don't know if your audience is going to believe me or not, but like, I don't check prices very often. Like usually, I know there's been a big dip because someone in the team is talking about it or we get a flood of people into our API3 telegram complaining about our marketing efforts and whatnot.
Like that's how I know that it dip, but I, honestly, I've been interested in Bitcoin since 2017, but I got really interested in in [00:05:00] blockchain in general, especially applications that can be enabled with Oracles and DeFi. I got into that like early 2019, like in the depths of the bear market, and I just thought the technology was extremely cool. So as much of a meme as it is I, I was initially interested because of the tech during a bear market. It's I, I can tell there's like chaos going on outside, but like, I really, I'm just kind of focused on my project. And, and what's funny, I was actually talking to someone about this earlier today, that it seems to me that developers people are building like, not scammers, like people trying to build like legitimate blockchain projects, they're kind of waiting for a bear market. Like the bull market puts so much pressure on you to develop a develop quickly, and you have token holders that are on your back at all times and I'm starting to feel that way, too. Like, I wouldn't mind like a, a small crash about now. I think
Load full transcript
it's interesting, just sociologically to kind of [00:06:00] people watching and seeing what's happening, but like I'm personally not really affected by whether it's a bull market, whether it's a bear market.
Um, more people getting interested in cryptos is great because the first time I paid attention to Bitcoin was after the crash because it made the news and I'm like, "Oh, maybe I should read about this thing." Just so, so just so you know, my bias, I'm a very optimistic person. So like, even like the worst of crypto, I can see some good in it.
So like all the crazy meme coins and whatnot. I'm like, well, it'll bring more eyes to the space, but it doesn't, I don't feel like it personally affects my day to day work life.
Eric: That's good. Yeah. I mean, honestly in 2017, 2018, I was heavily involved in a crypto market as well as part owner and very involved with the management the CEO would say I can't wait until the market crashes so that we can really just get to work.
That project was ill faited. It didn't survive the crash. So, in that case, it actually didn't matter. But I think the fact of the matter is that that's really when a [00:07:00] lot of the real work, cause I I've heard it said before, and I believe it's new tech, new innovation is often overvalued in the short-term, but undervalued in the longterm.
But I think your project in particular is very exciting. I heard about it. I actually went out to a telegram group out large and I said, "Does anybody know about this project because it's fascinating." And then I actually met somebody on the legal side, who's going to be working with your team and he provided the introduction.
Sasa: Eric!
Eric: Eric, another Eric with an "H", although Eric with an "H", not Eric with a "C" it was Eric "C, H."
Sasa: I have one more comment just because your question was like address a lot of things. Also a lot of things that I don't get asked a lot in interviews. So just one other comment about my positive interpretation of what happens in the market.
I think one really cool thing about crypto, right, is, it's usually seen as a negative thing. Um, all these moon boys and people try and figure out what's the next a hundred X 500 X, like they're often seen in a bad light, but there's a positive to that [00:08:00] because it gives new projects like a huge chance and momentum that you pretty much don't see in any other industry.
Like if someone was trying to replace Google or Facebook, like it wouldn't, it doesn't really get momentum out in the real world. But in blockchain, if you come up with a new project, there's people that are just like nonstop, like what are the new projects? What are they doing? I want to get an early and I've experienced that myself because we, we got the first articles about API3 immediately put us as a competitor.
Chainlink. That wasn't our marketing strategy. That was just how reporters wrote about it. But that actually, it had a negative effect in some ways, but it positively because people are like, what's this new project it's, it's a low cap, whatever. I mean, I shouldn't be talking about price, but I'm just kind of talking about the mechanics of it.
Eric: And you're not, you're not hyping it.
This is not selling anything. We don't tell anybody to buy anything, no investment advice. It is about the tech.
Sasa: So, in some ways like, yeah, the moon boys tend to [00:09:00] irritate builders in the space, but I'm like, it does create this environment where people are so open-minded to new projects other than bag holders.
But like most people are like, what's the new thing, so I can get an early and you don't really see that anywhere else in any other industry.
Eric: We'll put, we'll put, so you've given a little bit about your background. Let's go a little bit further back to tell us a little bit about, uh what you've been working on even before you joined API3 Dow.
Also, I often ask my guests for like one event in your life that helped shape your values or your worldview. So I'll let you run with that.
Sasa: Which one should I answer first?
Eric: Uh, whichever one you want.
Sasa: Okay. I actually, so I actually thought about the second one that you were asking me, just cause I'm like, Oh, I should have something good for this.
Because for the audience, like some of these questions I know beforehand, and I'm going to have to kind of twist the question to answer in a way I'd prefer, cause it's not exactly one event, but it was, it was just a way that I was raised that I now [00:10:00] realize has a lot to do with my mentality, and especially the reason why I'm mentioning it is because it has a lot to do is why I'm interested in blockchain crypto, not to get to too, too many personal details.
But I was born in the early nineties in Bosnia and my family had to flee because of the war at the time. And so I was raised in Canada from the age of five by my parents, of course, but like a large community of Bosnians that had left the same reason. So, I only realized an adult told that I was raised with them much different mentality than a lot of the people that I was raised, a lot of the kids that I went to school with, especially when we moved to the suburbs. I guess the best way I can explain it is like this, no trust in the system. Like whatever you want to call the system, my whole life I've been hearing either implicitly or explicitly, like everyone's lying.
All politicians are liars. Everyone's trying to steal your money. Be very careful who you trust. Always keep an eye on your money because someone might take it. Like, like I said, some of these things were explicitly told to me and some of them were implicit. Like, for example, I don't know if this is a [00:11:00] common thing, but I know growing up, my mother would keep every single receipt.
And like at the end of the month, check with the bill to make sure no one was taking our money. Um, and I guess one way you could say it as like this very
adversarial mindset, like everyone's an adversary, watch your back. And I realized like later in life, like a lot of the kids I went to school with didn't, weren't raised with this mentality and I'm not saying it's a good or healthy mentality to have it just that's how I was raised.
So just very much a distrust of authority systems, existing infrastructure. Uh, so the why I bring that up is when I heard about Bitcoin and I heard about blockchain, like it made immediate sense to me, and it was such an, the value proposition was so profound and immediate for me. So just let me just briefly tie that into something else.
Uh, the types of, I've been paying attention to the types of people that are in crypto. So for one thing, you have to have a good understanding of the technology, which is like a huge steep hill decline, but there's this orthogonal dimension of like [00:12:00] distrusting existing systems or just not having a lot of trust in existing monetary systems and whatnot.
So I feel like the types of people in crypto have kind of both of these dimensions, and I'm not saying everyone was raised the same way I was, but I'm realizing as an adult, that that kind of mentality is definitely why I could see the value proposition and still do of blockchain and cryptocurrency and stuff like that.
Eric: Awesome. I actually did a lot, I worked a lot within the system, and in many ways but I've always found a way to sort of go on a orthogonal path and that's what sort of led me to crypto. So I, different experience, but in many ways drawn to it for the same reason.
Sasa: And the second part to your question was about like my kind of what was, what I was doing before crypto.
Eric: Yeah.
Sasa: I'll try to keep it brief. In school, I studied computer science and statistics. I did a master's in computer science and then I started a PhD. So I was kind of going in the direction of academia. So I took a lot of like [00:13:00] very theoretical courses, did like a research assistant things, but yeah, and then started a PhD.
I quit that, and then I just worked as a software engineer and a data scientist at a couple of different places, mostly in Toronto where I am now, and also worked a year at, in New York with Facebook as a software engineer. How I got into crypto is another thing, but I got really into crypto, like early 2019.
I started just socializing with people in New York who were also into crypto and I kind of found myself consulting. Like it happened very organically because people could tell I knew what I was talking about, and I had like an academic background. Uh, and then I ended up meeting the API3 guys.
So the rest of my team or the rest of the core team, that's kind of a long story, I can get into it if you're interested. I got, I met with them and then I also kind of simultaneously started working at gauntlet networks, which is, I don't know if they describe themselves this way, but for listeners, it's like an auditing firm for DeFi or at least that's a lot of what they do is that, yeah.
I guess if there's any [00:14:00] other kind of details from that short explanation, you can ask.
Eric: Yeah, no, I think even a gauntlet is a impressive organization, it's run by Tarun Chitra, did I pronounced that right, Chitra. He's, he's done a lot with that organization and I'm sure that was also a great way to sort of get some of his knowledge behind you as well.
There's a lot to cover on this episode, so we're going to, we're going to keep blowing through it and, and, and we can cross reference some of the other, other things that kinda got you to this, to where you are as part of that. So what API3 addresses is Oracle connectivity, and one of the things that you have spoken and written about is this three body problem.
Well, we're going to start out cause there's, there's a lot to cover here, so we're gonna start out with Oracle. What is an Oracle?
Sasa: Okay. So I actually wrote notes. This is like the first interview I've ever prepared for that.
Eric: Wow. So [00:15:00] I'm so honored that I was worthy of notes. Wow.
Sasa: You had, I could tell that you were very familiar with the project and like he clearly,
Eric: I can asking you what an Oracle was. You're like I wrote notes to tell people what an Oracle was. Eric, do you want me to tell you what crypto is? Crypto is? I'm just kidding.
Sasa: Well, I can tell you prepared. So I'm like maybe I should also, this is a longer explanation than I usually do. Just in case the audience doesn't have a computer background.
So peer to peer networks existed before blockchain. So before Bitcoin, and one example is Bittorrent, where people could transfer files on a peer to peer network, usually a copyrighted things and whatnot. Um, but blockchain is very different because we're dealing with the transference of money.
And this is a very, the stakes are much higher because everyone has an incentive, no matter how honest they are, everyone has an incentive to say, "Well, yeah, I have a hundred Bitcoin in my account. I can send it to you." Like every single person in the network or [00:16:00] using the network has the incentive to lie.
So the thing that made Bitcoin different and Bitcoin was what introduced this blockchain data structure, is it made sure that the network had a global state. So it wasn't like, like parts of the network could lie. Like there was a global state and that was represented by this immutable blockchain, which is like a record of all transactions.
And since the Bitcoin, but blockchain efforts and networks in general are decentralized. Every single node in the network needs to be able to validate a transaction. Since there's no central point of authority, every single person needs the capability to be able to validate a transaction. And just quickly in case people don't know what validated transaction means.
In the Bitcoin network, in order for you to validate a transaction as a miner, you have to just make sure that person
actually has the money that they say they do in their, in their account. So that they, I mean, in Ethereum, it's different because it's a general blockchain and validation requires a bit more work, but, but it's essentially the same idea.
[00:17:00] Like I want to make a transfer of money. I submit the transaction to Bitcoin. So miners can add it to a block, but they first have to check that it's a valid transaction that I'm not sending you a hundred Bitcoin when I have nothing in my account. So what I said was the reason why I brought that up is every single node in the network needs to be able to do this.
And in order to be able to do this, every single node needs access to the same data. So this means that the native data on the blockchain is for those that do have a computer background, it's basically a mapping of address to data. Yeah. The data on the blockchain natively is just an address and what information is in that address, and that really boils down to in practice, like what token does, does this person have? Essentially that's the date on the blockchain. Like this person has this token. And I think that's the main reason why cryptocurrency is still the, the main use case and application of blockchain is because the native date on blockchain is ownership data. So value transfer.
[00:18:00] So what's, what's commonly known as the Oracle problem is basically every, the note on the blockchain network don't have access to data outside of the network. You can, you can roughly consider that like any, any kind of API, the blockchain doesn't have access to. Yeah. Do you have, do you have any questions?
Cause I have like a part two to this. Did anything I say not make sense so far.
Eric: No, I don't.
Sasa: Okay. So I have a part two because, right, so, so in summary, the Oracle problem is the data that's natively on the blockchain is like blockchain data. Like if you want to write a contract on like a, write a derivatives contract about assets off chain, like corn or gold, you can do that because that information isn't on the blockchain.
If you want to write an insurance contract, if my flight is late, then I get my money back. Like that's a very simple piece of code. That's just an NFL statement. If my flight is late, I get my money back. If not, I don't. Um, [00:19:00] but you don't actually have flight data, so you can't write this really simple.
Relatively elegant insurance contract, because you don't have that data on the block. Um, adding like a part two to this because someone actually, she asks in our API3 telegram after I had explained the Oracle problem in an interview they had, they were still unsure of it. So actually have the question here.
Uh, I still don't fully get why smart contracts need Oracles. Why is it that smart contracts are not able to query APIs the same way regular apps can? Is it purely because smart contracts are completely reactive to data and they can't go out and make API calls themselves like a regular app running on a server.
The person's basically asking, I still don't get why a smart contract. Can't just make an API call. And then the answer I gave is that you could write a protocol. You could write something like a theorem that allows for nodes to make API calls. Like sure you can do that, but that is a bad idea for two main reasons.
How, how would you back to that concept of validation? Like validation on Bitcoin is relatively simple. [00:20:00] Do I have the money that I'm trying to transfer do actually have that money if I'm going to transfer it, but how do you validate an API call, especially if it's data that changes like every second, for example, like price, data how do you, once someone, once a node queries and API and every single node has to validate it what does that even mean?
So the concept of validation is extremely tricky. If not like completely undefinable in this context, let's assume that you can validate an API calls. So, so there's a blockchain protocol. It makes API calls and then all the nodes validate it, whatever that means now if you're making an API call, that's typically to like a central server or a relatively central Computer network.
So, so now you open up the blockchain to being able to be manipulated by other computers outside of the blockchain network. Like if, if an API call gets validated okay, yes, this was the data received from this API. But if it's, if it's data manipulated by that API, now you have computers outside of the blockchain that can money [00:21:00] manipulate the blockchain and how, how transactions are executed.
The Oracle problem. I don't want it to sound like it's a problem with the blockchain. Like the blockchain is faulty. This is actually a security feature. Like the blockchain is isolated. So other computers. And other networks and other people can't mess with it.
It's like, whatever, it's, it's isolated for security, but that, that makes it so that it's, but the flip side of that is it's hard to, to make more interesting blockchain applications with this with this inability to communicate with the outside world.
Right. I might even edit some of this because I also want to kind of make sure I get this right. If you're putting that information on the blockchain, and then it goes to, let's say whether it's proof of work, proof of stake, you have the validators, what now has to be done. Now it changes the nature of what you're proving.
Right? And so, so you're basically, I mean, the whole idea of blockchain is to make it just you're separating these with hashes and it's just basically an ownership record. [00:22:00] And if you're actually now trying to add more into that blockchain, presumably it, it takes more, it takes more gas, right? It requires more, more work.
And thus, it just increases the cost as opposed to trying to make something slim and elegant. You're now bulking it with all these different components of it, which probably could be handled in like a, a side chain or a side.
And not on the main, I'm not on the main net arguably, right? Yeah. Then
there's a lot, there's a lot of problems with it.
That's kind of why I posted it when I wrote this article. It's very short. Um, when I, I pretty much posed it as like a thought experiment, like think about a blockchain protocol that allows for API calls now think about what could possibly go wrong. And it's like, a lot of things could go wrong. Right?
Yeah. Okay, excellent. So the three body problem, what is the three body problem?
Let me get my notes.
We know this because I've heard you answer this a bazillion times. Feel comfortable. You got it,
but there's always like, there's always like a couple of things that I wish I [00:23:00] mentioned. So this is more like, let me just make sure I don't like regret not saying something
so-so so the encrypted economy is getting the fully refined Sasha Milic answer, right?
Is that we're getting, we're getting the best, right?
I'm never fully refined, unfortunately.
Um, always a work in progress and join the co who joined the company. Yeah. So,
um, so one of the things, I think it was almost one of the thesis statements in the API3 white paper was that the, the data connectivity problem is a three body problem.
You have the blockchain, you have the data source, and then you have an Oracle that, that transmits that data. Or at least that, or at least that's how like the Oracle problem is stated. But most, if not all the existing Oracle projects seem to treat it like a two body problem, like there's an Oracle and there's a blockchain and how do we connect them?
And then you kind of ignore where people actually getting their data from like data isn't all equal like a S a [00:24:00] simple example. Um, in the, in the original Chainlink white paper, they model the source of their data with like with SRC. So like all the proofs, all the game, theoretic things, everything is just talking about the data source as like this, this abstract SRC thing.
It's never really addressed what it is, but I mean, if you're getting data from web APIs, Or if you're getting data from like a central server or you're getting crowdsourced data these are all completely different and require like a specific solution depending on where the data actually comes from.
So that that's, that's why we talk about kind of the three body problem in the white paper is that this is a, the Oracle problem is a three body problem. And you can't kind of ignore the, the data source and treat it as a two body problem. And
Eric: with that problem comes a vulnerability risk of civil attack.
It creates a layer of expense and redundancy creates the middleman problem. I know I'm doing some of your work for you, but you're going to, [00:25:00] I'm calling back on you here. It creates a lack of transparency and it creates something that you and I talked about that you thought was underappreciated. But I certainly appreciate is the statistical bias nature of it.
So do you want to,
do you want to touch on those points real quick or
Sasa: just for your audience? We'll have to explain a bit about our project. If I'm going to be kind of,
Eric: all right, there you go. Let's
Sasa: just focus on one, one aspect of the projects. I think we'll probably go into other aspects of it. Um, one of the central ways that we designed API3 was around having data sources themselves.
So in our case web API, so we're focusing on web APIs as data sources to have web API providers running their own Oracles. Um, rather than this architecture that's existed before us and with, with, I, I wanna say most, if not all other Oracle projects is where they have third party nodes. So they'll have this like permission or an permission network of [00:26:00] nodes that get gets data from some data source and then brings it to the blockchain.
So our solution to that was, was kind of like a, let's just. I think Borak wrote a blog post about the Gordian knot. I don't know if you're familiar with that myth or story. Oh,
Eric: certainly familiar with the Gordian knot of lipos. I got to go back and read
Sasa: this now, or the exact like myth. You might be able to remember it, but like basically like the solution instead of untimed this not, this is some mythical story.
Um, the guy that like. One guy was like, we should just like cut it. Like there's no reason to tie this like incredibly complicated, not it's makes more sense just to cut it. And that's kind of our approach to the Oracle problem is like, there's so many additional problems that arise when you actually have a third party layer of nodes.
Getting data from a data source, you're actually making more problems best to just get rid of it and get data sources to transmit data directly to the blockchain.
Eric: We'll include a link to the Gordian knot MIS in the show [00:27:00] notes.
Sasa: Yeah. There's other aspects to our project. It's not that simple, but that's, that's the part that's relevant to what your question was.
Um which is you were listing out the problems with having this additional layer, this layer of third-party Oracles that gets data from a data source and puts it on the blockchain. So one, one huge issue that's that's overlooked a lot in networking is something called well, not in blockchain, but in, in general, outside of blockchain is something called a civil attack problem.
And a lot of in, in permissionless environments, you can't assume that that every node in your network, every computer in your network represents a unique identity people. It's, it's very trivial in a network to run two computers and pretend to be the same person. So the reason why this is an issue with Oracle networks is like, how do you prevent one person pretending they're 10 different Oracles and then manipulating data.
Because the whole idea with these third-party Oracle solutions is you have all these different Oracles getting data from a [00:28:00] certain data source. And if you aggregate that data and
most of them are telling the truth, you're probably fine. But like, how do you, how do you know that one person isn't just pretending to be again, 10 different nodes?
And then it makes it really easy to lie when you control all those notes. And so that's something called the civil attack problem, and it's a, it's a, it's a big issue in networking and stuff like that. And we kind of deal with it. It's what's funny is we weren't even trying to solve this problem, but it kind of naturally gets solved in this architecture because if an API provider is running a node, they have an identity off chain.
And they, it's very simple to announce like, Hey, I'm on Twitter or on your documentation online to be like, Hey, I'm running this node with this address. And now you have an identified and it isn't, and it isn't like Bobby 93, it's like a company it's, so this isn't like a full fledged solution to the civil attack problem, but in minimize a civil attack significantly because basically a civil attack in, in [00:29:00] our architecture would mean that actual API provider businesses were colluding to manipulate a price, which again, anything is possible, but it's just much, much less likely in this architecture than it is with.
Anonymous snowed. So that's one thing, civil attacks expensive. That that's an obvious argument. If you're, if you're asking 10 nodes to get information from one source, you have to pay all of them. So cutting out that layer, obviously it is cheaper and I don't even have to show the math to, to explain what it's an additional attack surface.
Like anytime you add a new architecture to the blockchain stack, it's a new attack surface. So anytime you add something, it really should be for a good reason. And then I don't think anonymous, third party knows is a reason for that. You're just adding an additional attack, vector lack of transparency with a lot of third-party node architectures.
You don't know where people are getting their data from, which is a problem for a lot of reasons. And maybe we'll get into that when we talk about like statistical bias. And I [00:30:00] think those are kinds of the main ones. So it's, so it really is security and cost. Like getting, getting the data provider who you trust implicitly, like the way a lot of these, a third party.
Oracle networks are structured is that you request third parties to get data from an API. So you're already like implicitly trusting the data source. Anyways, might as well get them to run a node. And get the data and give you the data themselves. And another kind of underrated thing, which I'm just glad you're mentioning is the statistical bias thing.
So when we're dealing with real value data, so not just binary, is the transaction valid or no, if we're dealing with aggregating prices, for example, how you do that is actually really tricky because you would think, and this is what I thought. I thought like, well, well, clearly you'll come to consensus because once you aggregate
everything, it'll look like a nice normal distribution and anyone who's lying is outside of a certain standard deviation.
And, and it's a very, it's a [00:31:00] very simple consensus problem, but then it turns out not to be the case at all. Especially after I plotted, for example, a channeling price, feed distributions, and they're like multimodal. Some of them are like completely skewed. Sometimes there's a range of like five, $5 for like E.
Or something like, and this, this has a lot to do with people getting data from different places. So the way that data aggregators like coin gecko, coin market cap, whatever, how they actually aggregate data is totally different. Like they don't look at the same exchanges. Some of them filter data with relatively sophisticated methods like coin market cap, they do something.
They try, they use machine learning to detect volume inflation because exchanges are incentivized to lie about volumes so they can kind of raise in the ranks of exchanges. So what my point is, before I go off on a tangent, is that where you get your data from is extremely important, especially for prices because people don't do the same things with data.
And then you also have people reporting at different times and price changes rapidly. So [00:32:00] these were some of the things when I was actually kind of doing a statistical analysis of channeling price fees. Cause I think they were the only price feeds that that were running. So I could actually just scrape the data off the blockchain.
One great thing about one of the many great things about blockchain is totally transparent. So I don't have to ask you for data. I can just scrape it myself and yeah. So these distributions were very strange. Nothing looked normal and they get a lot, has to do with people, getting data from different places.
So if, if people are getting data from different places, you're not naturally going to converge on one, one, answer, one kind of like shelling point. It's not going to happen. That's that's one issue. I feel like it could go into others, but I'll let you talk
Eric: and for the audience, and again, I'm just sort of reiterating it, but to the extent that you're developing your own statistical models and in, in how you collect this information, the only way that you can truly do it in a pure way is to run it directly to the.
No to the Oracle yourself, [00:33:00] because these weightings and these distributions may not be apparent to you. And you may not, you may be handicapping. You may be attributing certain weightings across different third-party providers that aggregate this information based on what you think the picture is. But in fact, that picture could be completely incorrect because they're not actually th they may have their own waiting and, and some of that may not be readily apparent.
So if you truly want to be able to create your own models based on that data, and you're relying on a third-party provider sitting in the middle, and you
don't have any sense of how they're waiting that information, then your models are inherently going to be less accurate than somebody who's actually going out to them direct.
And it's both obvious and non-obvious, but the impact of it, particularly if you're looking for precision in those models it it's very real. Yeah. That was
Sasa: the other thing I was going to bring up. So thank you. Um, so, and I don't mean to be picking on chain-link it's just that I I was doing this sort of analysis on Oracle responses before [00:34:00] I even started API3, like I was actually curious what are these distributions look like?
And another thing I noticed with the link price feeds is that you can actually tell where people get their data from, by doing like some sort of like a statistical fingerprint. So even if third parties aren't saying where they're getting their data from, you can actually tell by like doing some sort of like aggregated distribution stuff.
This gets into super nitty-gritty like stat stuff that I won't get into, but I have, I can send a link after if you're interested, but it turns out that like, there'll be like four. So in the Eve USD chain price seat, and then might have changed since I've done this analysis. This is about a year and a half ago.
Cause I don't want to like misrepresent their company. But when I did this a year and a half ago, I could tell that like four Oracles were getting it from like coin market cap and like to we're getting it from like Coinbase Cole. And then there's like a couple that were getting it from completely different sources.
So what you're saying about bias is that when you look at like a, one of these price feeds that are like, Oh, we get it. It's a price feed. That's fed by 30 different Oracles. Like, wow, that's so robust statistically [00:35:00] robust, but we actually look at it. It's like the skew is in the bias is hidden because there are certain data sources that are more readily available, cheaper, like P again, we're talking about like financial incentives and blockchain.
Like certain data sources are free, some aren't. So it's, you're going to get data that's skewed towards certain sources. If no, one's, if no one has to report their source, or if it's not built into the protocol reporting where you're getting your data from, you're going to get skewed data because not all data is equally ready, readily available, and equally priced.
It's going to be skewed in some way. Right.
Eric: Excellent. So, and, and the other thing that I think you noted is that it as a benefit is your solution would facilitate much greater scalability. Do you want to touch on that? Uh,
Sasa: scalability in terms of what
Eric: I threw a curve ball at you? I just noted it as an additional benefit was that you would have massive scalability in terms of being able to just integrate so many more data feeds.
Yeah. Yeah.
Sasa: So I think, I think that mostly would relate to our [00:36:00] actual Oracles. That's something
I haven't touched on is the actual, like how is we call it air node? The node that an API provider would run to provide data. So it's been designed to be and let me know if you want to hear more details about this.
Cause I don't know how much.
Eric: No, actually, actually it's a good segue. So I maybe we should talk a bit about the air node of your project. Yeah. The server or the serverless Oracle node designed for API providers. So,
Sasa: yeah. So I think Breck, my, one of my co-founders, he, it was his name and I think it's a good name.
So Aaron node it's to suggest that it's a really easy to run node. And the main reason for that is because it's stainless and it's stateless and serverless. So I ha like, w what is your, is your audience like a technical audience
Eric: or with my audience? Uh typically I do some horizontal and then I do sort of a deep dive, so, yeah.
Sasa: Okay. Yeah. So I'm stateless just, I guess essentially means [00:37:00] it doesn't have a database. Like it's something that it's like a program that only acts. When, when you kind of ping it and it doesn't need any kind of memory or any kind of a database it's, it's, it's just something that kind of sits dormant. And then when it's pinned, it does its job, but it doesn't need any previous information to do its job.
That's sort of like high-level and the reason why it's good is just because it's so it's really like thin it's not like a fat. Program that needs to be like maintained and checked. Like when something's serverless, it's just really easy to run. It's it's much less prone to bugs. Like one of the biggest bugs with or things that node operators deal with, like a node operate on Ethereum is like when their database doesn't sync with the, with the blockchain like that, that's mainly why Ethereum nodes, for example, aren't stateless because you actually need a huge database to maintain like the, the, the history of the blockchain and whatnot.
And sometimes those things get out of sync and it's just a pain in the ass. I haven't dealt with this personally, [00:38:00] but people tell me, and I can imagine that that that's kind of an issue as far as I know other projects that build up Oracle's they sorta like build them on top of, or. Or build them like an Ethereum node, but the thing is an Oracle.
Um, it doesn't need to have this huge history of the blockchain. It doesn't, it essentially doesn't need a database. All it needs to know is, Hey, someone's requesting information. Let me give them that information. So it doesn't need to behave like a regular Ethereum node, for example, or any note in one of these general blockchains, it doesn't need a database.
It can be built very simply specifically for its purpose, which is ping me and I'll give you the data you need. Um, and, and then I don't want to take credit for this. This is mostly Brex design. So BRAC my, my co-founder and yeah, I think it's, I think it's something it's such a simple idea.
Like an Oracle doesn't need to do it in Ethereum. No does. So we can kind of remove all this unnecessary code from, from an Oracle node and that, that was kind of Brex main design idea. Yeah. So it's, [00:39:00] it's it's stateless. So getting back to scalability, we're building something such that an API provider can deploy this in like.
Arguably minutes, depending on how complex their, their API is, but we're also building tools. So, so API providers there, there's becoming this new standard called the open API specifications. And it's a way that like, no matter what your architecture is, no matter what pro what network protocol you're using, you can, right.
Um, you can standardize your API interface and we're building tooling. And we're almost done that basically converts that into like an Oracle specification. So basically if you have an open API specification, you feed it into our converter and you deploy a node on like multiple cloud providers. And, and it's something that should be like, be able to be done sometimes in like 15 minutes.
So then that's when it comes to like scalability. Like we don't have to, if someone, if an API provider wants to [00:40:00] deploy an air node, it's something they can do immediately. And that's something you don't really see unless you've been working with API providers and Oracles, like my co-founders were working on We're working in the Oracle space for like two years, specifically with API providers.
And they realized like this running a node, isn't simple, like running like a standard node in order to provide data as an Oracle is is extremely complicated. And very, unfortunately, very few people actually understand the technology enough to run a node. So that was the inspiration behind Erno.
Because if we're going to have this large ecosystem of API providers for writing data for the blockchain, this needs to be extremely simple and something that doesn't need to be maintained.
Eric: Right. And, and critically anybody who's running the air node doesn't even need to know anything about blockchain, right.
They just need to publish your API and that's it, which is amazing. That's the way that we ended up enriching the ecosystem with data from outside of the ecosystem.
Sasa: Yeah. It's a good point. So that [00:41:00] makes me want to mention that one of the things about our project, it isn't just a technical project. Like it has a lot to do with aligning our business model with the business model of API providers, because it's easy to talk about data sources, theoretically in API providers.
Theoretically, but it's like, what are their actual business models? Why would they want to integrate with us? So a lot of our project is built around like API provider, business models and, and the, my co founders like worked extensively with API providers, like hundreds of them. And so, so a lot of the project and the incentives are built around how do we make this as easy as possible and as, as desirable as possible for an API provider
to join.
So essentially when we sell them this, it's like, Hey, this is no effort on your part, but potentially additional revenue, like it's pretty much upside, pretty much no downside. It's been pretty, relatively easy to sell to, to API providers because we've structured the project to, to appeal to their business model.
Eric: Let's talk about open bank though.
Sasa: Sure, sure. Yeah. So this [00:42:00] is one of our partnerships that we'll, we're excited about all of them, but this one's kind of a recent one that we're really excited about. So open bank has been around for about 10 years and they work on consulting banks for, for building API APIs and also building like API standards for, for banks so that people can interact the bank other than like having to go on a banking website or like going to a physical bank.
So that was a really bad explanation. I guess, if anyone in your audience is familiar with an API open bank, works on making banking services accessible via an API interface, which is huge. We're the first blockchain project they're involved with and involved with. So I think they pride primarily serve.
Actually, I know they prime, they primarily serve FinTech. So all of these apps that want to do things like budget recommendation, or even like money transfers and stuff like that, like they actually need to interface with banks. So open API builds these [00:43:00] things that are mostly used by FinTech apps.
Yeah. So I think they work. I have, I have on my notes, they work with like 40 different banks. I couldn't tell, I don't have listed some examples, but I think some European banks and they also like, they, they have a couple of different wings of their projects. So like some of the work on like open banking legislation to basically make it, make it a legal requirement that some banks have to make their, their information and services interfaceable by an API.
Yeah. I think, I think anyone can probably understand why this is such a big deal. Like imagine like the kinds of things you could enable, if you could access your account via an API and even do it through, through the blockchain. Like one of the, one of the biggest. Issues with the blockchain or what people see as an issue is that again, it's isolated and, and, and they're centralized on-ramps and off-ramps, but it'd be really cool if like you could have an end to end blockchain application that, that takes money from your account.
Does stuff [00:44:00] puts it back in your account or something that can, something that can integrate with, with the actual financial system outside of the blockchain? Like that's, it's, it's such a huge thing. I don't think I can't even comprehend like what, what that would imply. Um, yeah, so we, we set up we have like a ten-year partnership with them, so it's a very long-term thing.
And right now we're just like earlier today, if you want like an example of what we're doing with them, we had a meeting where they were going through our technology. We were going through ours and just understanding like, how are we going to interface? Like, this is the interface of your system. This is ours.
Like, how do we make it? So that air nodes, that air nodes can actually make these API calls with this open banking infrastructure.
Eric: Let's talk about staking I, it was interesting, certainly one of your co-founders I know you've spoken about it as well. We're staking makes sense. And where a doubt makes sense.
And I thought I like the perspective on it because there's just this assumption like, Oh yeah, staking, staking is a good way of getting people to invest in your company. And because they can make a return [00:45:00] without really understanding what it is, or, and also we'll talk about that next, when you want to do a Dow.
And when you actually don't do want to do a Dow in the lawyer community, we talk a lot about this, like this notion of dislike, Dow this notion of decentralization as being sort of this, this thing, people are trying to achieve like, Oh, you're you're fully autonomous or you're fully algorithmically managed, like what is fully algorithmically?
Manager's nothing's fully algorithmic to me. They manage maybe in like 30 years when we're dancing, but. You know, something from Terminator. Okay. But it's not happening anytime soon, but back to staking, where does staking make sense? And where does it not make sense?
Sasa: Big questions.
Eric: What is the meaning of life
Sasa: to go back to the fundamentals?
And it might be because like I took a lot of these theory courses, these computer science theory course. So I just go back to the fundamentals. So staking started off with proof of stake. So a way an alternative for proof of work, pretty much [00:46:00] engineers have skin in the game kind of incentive models. So in a proof of stake network use, instead of providing.
Computational power. You put down money and you say if I make like an invalid transaction or, or I improperly mine a block, my stake gets slashed. And then if you do your job properly, you, you earn like an interest on that stake. So it's like a direct skin in the game thing to, to incentivize good behavior.
So I say that because staking is primarily a security mechanism. The reason why it should exist is if it's providing security for the network or the platform or whatever. Um, but with the bull market, this is something I said in a recent interview or a panel with the bull market, especially some of the questions like in the API, through telegram, I get the sense that people think staking just means infinite amounts of money and zero risk, or like yield farming.
It's just so infinite money and there's no risk involved. It's it's. That's why I go back to staking as [00:47:00] a security mechanism, our security model, what's kind of complex, but one element, one element of it is an insurance pool. So if, if there is a data malfunction you have about like a week or two it's, it's a parameter.
We
might change it, but you have time to. To basically create an insurance claim. And then that that is arbitrated by a decentralized arbitration layer on the blockchain, most likely close. So in order to have an insurance nor to have an insurance product, we have to actually have a pool of money.
So that pool of money is provided by stakers. The incentive for them to stake is because they earn inflationary rewards. There's a floating inflation rate and that inflation is paid out to the staking pool. So basically if you're a staking, the inflation should cancel out because your, your, the steak, the steak and pool earns the inflation.
If that makes sense. So you're incentivized by that, but that state could also get [00:48:00] slashed. So going back to that security staking being a security mechanism, this is our skin in the game security mechanism to ensure good governance and also to have an insurance pool. So the way that you govern we're, we're a Dao.
So we're, decentrally governed project. The way that you get voting power is by staking. So the amount that you stake, you are in a proportional amount of voting power, and that means that anyone that's voting anyone's that that's making proposals, anyone that's working for the Dow. They're their tokens are locked and they're directly participating in the risk and rewards of the system.
Yeah, I think I could get into more details, but that's the high level view of staking and why it's a S it's a security mechanism to provide insurance, but it's also a skin in the game mechanism to ensure good governance.
Eric: Right. And so what are you actually insuring against an API3 DAO. Yeah,
Sasa: that's a good point.
I get into, I get into this pretty detail in an article where I, I, I feel like maybe I should write something more formally, but [00:49:00] I firmly believe that there always exists a data malfunction that just cannot be detected on chain, just because there's no on chain gold standard. Like gold price or something like you're relying on Oracle.
So you really, I, I feel like I'm going off on a tangent, but there there's just cases where, where you can get an Oracle response that's faulty and you can't detect it at, at the moment that it occurs. So we just reasoned that insurance is the right approach. If you can't detect all potential data fault issues at the moment of occurrence, the best thing you can do is allowed detection after an after occurrence and allow for insurance.
And I think you were specifically asking what are examples of this? Um, well, there's a lot of examples of, of defy hacks that had to deal with that dealt with like incorrect. Uh, price data. So this is something that we're actually gonna work out with some of the lawyers and what we call legal engineers on the team is to [00:50:00] actually outline like something, something akin to a legal document that says like, if such and such happens, this, this is a data malfunction and this you can you can request an insurance claim for this.
So the actual details still need to be ironed out. Yeah. It's essentially going to be a legal document that says this is what counts as faulty faulty Oracle output. And this is what you can request some
Eric: insurance. And there was a situation where that happened with a chain link, right there relating to silver prices.
Was it,
Sasa: you mentioned in our white paper. So I haven't, I haven't read about that since I wrote about it in the white paper, but yeah, someone that was managing the, I think gold or silver data feed, like they have a data feed an on chain data feed for either gold or silver, but someone wrote the wrong ticker symbol and actually like the data feed that was supposed to be reporting silver started reporting gold or vice versa, one of those things, and that actually caused it.
Wasn't compared to a lot [00:51:00] of defy hacks. It wasn't that expensive of an error. I think it was like 40,000. Um, but chain link actually ended up paying them that money like afterwards. So we use that in our we use that example in our white paper to show that there's a precedence for this. Like there, there's a precedence for sort of like something like an insurance claim in the space.
And it just makes sense again, because you just can't detect all faulty information when it happens. Yeah.
Eric: Great. So now we'll, we'll, we'll go to the, to the Dow structure. Um, and I know in a recent article you, one of your, co-founders talked about this rush to dowse. Like a lot of people are now just embracing the decentralized autonomous organization model.
And we talked about this on the podcast with Mark boy run with DYD X, we talked about Dows, what's your views on, on, on the rush to create the Dows that doesn't make sense is the constraint it's causing on like even [00:52:00] third-party audit services and the like, is that just a growing pain or do you think it, it reflects some sort of something that's not really necessary in the marketplace?
Sasa: Yeah, a lot of, a lot of good points. Let me see if I can cover everything I want to say regarding that. So I think Dows, I think any project that in the future, whatever that means in crypto I think that every project that's a relatively complex project will, will be governed by doubt. I, I think and, and I also wrote an article about Dow's a little while ago and I had a quote in there, but now I can't pull it up with, with relatively simple protocols.
And I don't want to call Bitcoin simple, but there's a couple of parameters in Bitcoin. Like, all it does is transfer Bitcoin and there are relatively few parameters. Like for example, one parameter is like, um having like how often halvings happened, but there's not a lot of parameters in that protocol.
And it does something relatively simple, which is just transfer money in the form of Bitcoin. But anytime you [00:53:00] start getting more complicated, this is my opinion, but I just feel like it's an it's, it's really hard. The
more complex a protocol, the more parameters that need to be tuned, the harder it is to get that.
Perfect. So like the idea with a protocol is that it's, it's immutable like, especially like for example an application on Ethereum, like it's immutable it's on there. Um, if you release some sort of a lending protocol, whatever on Ethereum it's immutable. And I feel like any time, like a protocol becomes a bit, becomes more complex with more parameters.
Like I mentioned before, you're probably not going to perfectly engineer it and, and you're going to encounter things that you didn't expect to happen unknown unknowns, like the more complex your protocol, the more, the more likely it is that things are gonna happen that it's not ready for. So I feel like every single.
Project that's relatively complex. And nowadays pretty much all blockchain projects are quite complex and involve a lot of different parameters, a lot of different moving pieces. [00:54:00] It's going to have to be governed like P you're going to have to watch how the protocol evolves and how it behaves in the wild.
And you're going to have to tweak a couple of things here and there. Like there's constantly tweaks happen to Ethereum in the form of EIP. So I feel like if, if the project is going to continue evolving in a decentralized way, the tweaks to the protocol have to be governed in a decentralized way. So I think ultimately like anything that's relatively a complex protocol needs to be governed decentrally.
So in that sense, I think that doubts are inevitable. However, it's in the blockchain space, it's always a question of implementation. I'm not suggesting that every Dow is actually useful or does the thing that it should do, whereas. Sufficiently decentralized. So probably a lot of the implementations right now of people rushing to Dows on prob probably aren't very well thought out and are just done kind of like a sugar coating on top of the protocol.
But ultimately I do think Dallas will become an essential, essential, an essential if not central [00:55:00] element of the crypto space.
Eric: And in the context of API Dow API3 Dao, what governance structures does it primarily manage
Sasa: governance structure. So I guess I'll answer it the way, the way I understood it.
But if I don't let me know, there's a, there's a couple of high-level parameters of the system that are directly governable and one of them is how much, how much we need in the insurance pool. So the amount of inflation of the token is directly related to is a function of how much money we want stake.
In the pool and that's, that's a parameter that's governable and, and who knows until we actually start the Dow, how often we'll need to change this, but that's for example, a very major parameter of our system, like how much money is in the insurance pool and that's going to be directly governable. But then we're planning to have like a very, we've been calling it a, a fractal substructure.
So by default, a Dow
isn't very efficient because by default, the way a Dow [00:56:00] works is someone makes a proposal and people vote on it. And as soon as it passes, like whatever code change needs to be made is implemented. So it's proposal voting. Passes or D it doesn't pass. So this is actually can be quite inefficient, a very, very similar analogy to like direct democracy and the main kind of complaints about that by like political scientists that it's just extremely inefficient.
So we're going to have something called like sub dials as well as teams. So essentially works the same way they vote. They make proposals, but they have like The part that they governed is, is limited. So it's going to be like the technical sub Dow marketing, sub Dow, u business development subbed out.
So it's going to kind of feel like a, like a fractal
Eric: thing. I said, it's similar to like when corporate boards get too large, they start to create committees. Right.
There's a lawyer in me. Right. So I interpret everything through [00:57:00] that lens. So I'm going forward. So, first of all, I guess I asked you a lot of questions and you're probably like, Oh my God, he's just going to let up now. And we still haven't gotten to the meaning of life. So I think it's like 42, but that's, we're working at that.
That's that's our neck. We were running out of time, this episode. So we're, we're having Sasha to come back and she's gonna, she's going to tell us the meaning of life, start to finish and you know, and no notes, no notes. Um, so. Um, did I in terms of the project, what, what else did I forget to, or did I not ask you that maybe I should have?
Yeah,
Sasa: it's there's a lot of moving pieces with the project, so it's hard. I'm like, was everything covered? I usually like make sure to mention three points when I tried to cover it shortly. So first party API provider run Oracle's insured data feeds. We just covered that. Uh, and decentralized
Eric: governance check.
We got it. We covered it all. So, and the
Sasa: kind of interplay is interesting, like how these [00:58:00] things, we have a diagram in our white paper, and I also have like a long blog series that I highly recommend. Like if any of this was interesting to anyone listening and they're more interested in the project, I would recommend going to our medium page.
Cause we, we really create these kind of like bite-sized articles that get into like, Concepts and then how they all fit, how it all fits together. So I covered the main three things, but there's implications from those three design choices. And there's also like the way that they play together, there's more to cover, but I feel like the kind of high-level overview and anyone that would be interested in our project, I think has sufficient information to kind of know where to look for further information.
Eric: So we see the API3 Dow medium page. Uh, also it's the blog posts are also published on your site, I think as well, right?
Sasa: Yeah. I have my own medium page, so yeah.
Eric: Yeah. Oh, you have your own medium page. So, so where, if people want to learn more about you where can they find you?
Sasa: I feel like I have kind of a limited internet profile, but I.
I try publishing to [00:59:00] medium relatively often. I'm planning on having something this week or next week. So that's just my name.medium.com. But if you search session village medium, you should find it. And I also have a Twitter account I created a couple months ago. Cause you need a Twitter account for, for working in crypto.
I don't post too often, but if anyone's interested, it's my name and three, three at the end of it. Excellent.
Eric: Okay. Well, listen, it was great to have you on the show. I enjoyed it a lot. I
Sasa: haven't talked this much all week.
Eric: Well, well maybe that'll stay on till the next podcast, right. Or the next webinar. [01:00:00]