Unchained - Can Solana Seize Marketshare From Ethereum With Serum? - Ep.193

Episode Date: October 6, 2020

Sam Bankman-Fried, the CEO of FTX and Alameda Research,  and Anatoly Yakovenko,  the co-founder and CEO of Solana Labs, discuss the Project Serum ecosystem that they are building on the Solana block...chain, and the unique approach to scaling the Solana blockchain is taking. In this episode, they talk about: their backgrounds, and how they became involved in crypto why Solana takes a different approach to scaling and how it is implemented why they think a relatively lower number of nodes is sufficient to protect from attacks or collusion what the vision for Solana is, who they see using it, and how Serum fits into that vision why they think there haven’t been more crypto projects migrating to Solana yet Solana’s proof-of-history algorithm and how it works how Solana plans to attract DeFi developers why Serum was made interoperable with Ethereum the types of traders they are hoping to attract with Serum, and what their experience will be like on the platform why Project Serum is an ecosystem and not just an order book exchange how high-frequency trading firm Jump Trading came to adopt Serum how Serum will manage trading tokens from different chains the purpose of Serum’s two tokens, SRM and MSRM and what’s in store for Project Serum in the future   Thank you to our sponsors!  Crypto.Com: https://www.crypto.com Gods Unchained: https://playgu.co/unchainedpod   Episode links:  Anatoly Yakovenko: https://twitter.com/aeyakovenko Solana: Solana.com Sam Bankman-Fried: https://twitter.com/SBF_Alameda Project Serum: https://www.projectserum.com Project Serum on Twitter: https://twitter.com/projectserum   Solana CoinList auction in March: https://www.theblockcrypto.com/linked/59952/blockchain-project-solana-raises-1-76m-from-its-launch-auction-on-coinlist   Solana network stats: https://explorer.solana.com   The Block Research on Solana: https://www.theblockcrypto.com/genesis/76615/solana-blockchain-overview   Proof of history:  https://medium.com/solana-labs/proof-of-history-a-clock-for-blockchain-cf47a61a9274   Serum: https://www.theblockcrypto.com/daily/72924/ftx-dex-serum-solana-blockchain   Tether: https://medium.com/solana-labs/tether-to-bring-usdt-to-the-solana-network-77864184b20 Jump Capital: https://www.theblockcrypto.com/post/76826/veteran-market-maker-jump-trading-forays-into-defi-to-provide-liquidity-for-ftxs-solana-based-dex Learn more about your ad choices. Visit megaphone.fm/adchoices

Transcript
Discussion (0)
Starting point is 00:00:00 Hi everyone. Welcome to Unchained, your no-hype resource for all things Crypto. I'm your host, Laura Shin, a journalist with over two decades of experience. I started covering crypto five years ago and as a senior editor at Forbes was the first mainstream media reporter to cover cryptocurrency full-time. Subscribe to Unchained on YouTube, where you can watch the shows of me and my guests. Go to YouTube.com slash C-unshamed podcast and subscribe today. crypto.com, the crypto super app that lets you buy, earn and spend crypto, all in one place. Earn up to 8.5% per year on your BTC and more than 20 other coins. Download thecropto.com app now to find out how much you could be earning. This show is sponsored by God's Unchained, the digital card game that offers true ownership to players. It's fun, engaging, competitive, and has more NFTs than any other Ethereum game on the market. You can try the game out at PlayGU.C.O.C.O.L.Chained Pod.
Starting point is 00:01:02 Today's guests are Sam Bankman-Fried, CEO of FTX and Alameda Research and advisor to Project Serum, and Anatoly, co-founder and CEO of Salana Labs. Welcome, Sam and Anatoly. Thanks for having us. Yeah, thank you. Let's start with each of your backgrounds. Sam, you have your hands in a number of different things in crypto, plus you're famous for your tweet threads. And I have often seen a lot of people on Twitter wondering when you sleep. So why don't you tell us how you came to be involved in crypto and what are all the things that you're working on? Yeah. So I, you know, I guess my background,
Starting point is 00:01:42 I went to MIT, sort of had no idea what I was doing there. Stumbled into finance, ended up being a quant trader at Jane Street Capital. And partially because it was an operational. And I'm opportunity for me to potentially be able to donate a lot of money and partially because it was just a really good environment and I really liked it. And they're very good to me and it was sort of an exciting job. So I was there for a bit over three years and then 2017 happened and I sort of had an itch to start something, an itch to go go on my own and try building something. So I left and ended up starting Alameda Research, which is a crypto-quant trading firm. And so it does, you know, arbitrage, quantitative trading, OTC, trading, market making, things like that across the
Starting point is 00:02:34 crypto ecosystem, you know, trading something like a billion dollars a day notionally. And I, you know, that's sort of like chapter one in crypto for me. And then later on in 20, uh, yes, spring 2019, I started up FtX, which is a, uh, you know, global crypto derivatives exchange. Um, and, and you know, kind of been growing that out, um, to, uh, it's also you know, somewhere around a billion dollars a day of Notional. And then, uh, you know, more recently I started up Project Serum, which is a, uh, decentralized ecosystem built on Solana. Um, and then to sort of like get to your point about doing a lot of things. And, and, you know, how I managed. I mean, I think part of this is that, you know, I get, I have this itching and I get
Starting point is 00:03:21 super impatient if I feel like I don't have enough on my plate. If I feel like I have more slack, then I sort of feel like, oh, boy, there's something I can do with that. And so it's sort of, you know, the things I do naturally expand to fit that. And I, you know, I think a lot of this, I think really a huge part of this is having a team that I trust. I think that's something which, like, there are a lot of really good teams in crypto, but even there's a lot of really bad ones, even a lot of the good teams don't have trust. And so it's like you don't have the ability to grow beyond yourself in some ways. And so anyway, that sort of helped a lot.
Starting point is 00:04:00 So I nap now and then I have beanbags under my desk as has been voted to bed in a side room at the office. And I'll often just like get a few four-hour naps in and go back to shipposts. on Twitter in between. And Anatoly, how about you? How did you come into the space and what do you do with Salana Labs? I guess I'll start with my background too. I went to school in Urbana Champagne, like 99, 2003. So I was there through the dot-com crash.
Starting point is 00:04:35 And I remember my advisors telling me that computer science might not be a good career choice. But I had actually one of the Salana Labs co-founders, Greg, and I and a couple other folks at a startup doing voice of repeat stuff. They didn't pan out because of the dot-com crash, but we ended up at Qualcomm. I spent most of my career working in optimizations, like kind of trying to make this, like, you know, this was at like, you know, before iPhones, right? Like we're trying to take all this desktop, complicated software and stuff it into
Starting point is 00:05:08 effectively like a, you know, microcontroller embedded system that people were calling a phone and try to make it work. So that was like kind of where I cut my teeth as an engineer, and it was a ton of fun and always like kind of a constant challenge. And Salana actually comes from that like period. Salana Beach is a town in San Diego where we used to kind of, we like, you know, wake up, surf, bike to work, bike home, surf again. That was a fun decade. I ended up in San Francisco in 2017 and he kind of saw this like crazy boom for crypto during that time. And at a startup with another one of the Qualcomm co-founder, Stephen, we were trying to,
Starting point is 00:05:51 this was like a side gig. We were trying to buy deep learning hardware and offset the capital cost of this with crypto mining, right? Like, I'm sure there's people pitching the stuff still, but like, this was purely for fun, right? Like, how do we, like, get a bunch of GPU cards together and do something fun with it? But both of us started really, like, thinking about, like, what is proof of work? why does it work? Why is it interesting? And I had this light bulb moment. Literally had like two
Starting point is 00:06:20 coffees and a beer. It was up to four in the morning. And I realized that you can use the same, you know, pretty much resistant hash function. But instead of measuring how much entropy goes into the puzzle, you can measure how much time goes into the puzzle that it solves. So, and like once the light bulb went off, I had this, you know, like I realized that all this stuff we worked on at Qualcomm, like this decade of like working in wireless protocols, like optimizing stuff for communication. It's all applicable in blockchain because all you really need is a source of time outside of the system like before consensus. And that was really kind of the foundation of the company. I was kind of lucky in the timing too.
Starting point is 00:07:03 Qualcomm was being taken over by or there was an attempt to buy Qualcomm by Broadcom and like a bunch of people who aren't happy and were kind of scattering to like the Googles and Facebooks of the world. And I knew a lot of the super senior like operating systems, like network people, and got them on board to join up and build this thing. And philosophically, we kind of took everything that we learned from optimizing mobile platforms, mobile operating systems, and port it into a layer one. I think we kind of have this unique perspective that you should always be building for hardware that's going to come out two years from now, which a lot of folks, I think, don't have in the space.
Starting point is 00:07:42 So for listeners who are maybe wondering why they're on the same show, hopefully you've figured out if you don't know about Project Serum that it is being developed on Salana. And so there's a lot of interesting things to mine around this issue of, you know, stuff that Anatole mentioned and, yeah, just around scaling and different layer ones and where things are going to go. But let's actually maybe just dive into the main problem that, well, as far as I can understand that, I think you are trying to solve with Solana, which is around scaling. Here we have a lot of layer one chains that are attempting to solve this with a technique that's called sharding, which spreads validation across the blockchain into smaller pieces. But that essentially makes each shard its own blockchain, which then makes it harder for decentralized applications to interact with each other across the shards. And Solonda takes a different approach to scaling. How do you do it and why did you take a different approach? Well, I'm actually curious why people didn't take our approach,
Starting point is 00:08:54 but basically this comes down to like the foundation to limits of communication is like the Shannon Hartley theorem, right? You have noise, you have power and you can stuff as many bits as you can and you can increase power to overcome noise, but the bandwidth of the channel, like how much? much bandwidth you have is the limiting factor. And this is true for like complicated systems like layer ones or like radio towers as well. So like when you see, you know, like what is like 4G to 5G, it's literally just using a wider set of frequency bands.
Starting point is 00:09:29 Like just more bandwidth, right, to stuff more information through these pipes. And the way we approach this and like mobile is to use more hardware, use more cores, more silicon. because this stuff is improving at an exponential pace. Every two years, somebody's going to double capacity. Like we just saw Nvidia release a card 30, 90 or whatever, that's got 10,000 cores. So from our perspective, like, when you have something like a blockchain, which is limited by, you know, like how many participants you can concurrently keep track of and how many packets per second you can send across the network and how many folks you can talk to,
Starting point is 00:10:10 they're fundamental limits to these algorithms, right? Folks have R&D has been done already, right, since the 80s and 90s. And our approach is then, okay, well, how do we increase the bandwidth of this thing? Just horizontally scale it on as much hardware as we can. And two years from now, it'll be doubled up. Right? And like, this is an exponential curve that you just really can't fight. Like, if you're fighting against this curve, you're going to lose.
Starting point is 00:10:38 So fundamentally, this has been our approach to scaling this, but the reason why I think another kind of philosophical reason why we went for this path is that I think if you get rid of this store of value as a use case, and I'm not sure you can argue that proof of stake networks are fundamentally store of value. Where you're left with in a smart contracts platform is price discovery. You have a single like kind of engine for state transitions. those state transitions have financial value, and everybody in the world is trying to extract free money out of it.
Starting point is 00:11:13 It is by definition like an exchange, right? It's not like a spot exchange where you have bids and ass and things are kind of simple, right? You have these really complicated programs that can do arbitrary things, but you look at this giant Mondeau state machine and you do your best to figure out, hey, is there any free money here? If there is, I'm going to send a transaction to get it, right? And everybody in the world is doing this. So if that's the case, right, if our only use case is price discovery,
Starting point is 00:11:40 then what we need to build is something that is moving as fast as the news, that a state transition occurs somewhere. Like, I mean, meteor strikes some cornfield, right? And we need to change the price of corn. That should reflect across the world as fast as, you know, information travels for fiber, right? And our job is to like get those state transitions replicated across the entire world as fast as we can. So this is kind of like be used.
Starting point is 00:12:05 case that we've been building for and how we've been approaching this problem. And I think kind of, like, it was awesome to meet Sam because I think he kind of, like, I remember him actually saying this, like in our conversation that we only really need to be as fast as as the news. And this was like the first person actually talked to that realized, like, I think had the same intuition about the world that like stuff that's faster than the news is just trading statistical noise. It's not actually important. This is so fascinating. I love the way that you described that about how a blockchain is almost like an exchange and people send transactions to try to extract value. I love that description. Yeah, and I just actually
Starting point is 00:12:47 also wanted to quote from Kyle Simani of Multi-Coin Capital, who has invested in Solana. And he just described, you know, something about the layer two issue, which the way he expressed it was so fascinating to me, mainly because so many developers are working on layer two solutions. He wrote, quote, developers building smart contracts don't want to deal with layer two in shard, or cross-shard application state and logic, or cross-shard latency, or security models and side chains, or liquidity routing and stage channel networks, or how they might run computations off-chain using zero knowledge proofs. The entire point of having a smart contract chain is that the chain itself abstracts all of the lower-level complexities and economic system necessary to deliver trust
Starting point is 00:13:33 to minimize computation, allowing developers to focus on application logic. So yeah, that was really interesting the way he expressed that because, like I said, everybody is working on layer two. But something else I wanted to ask you was that you've said that Salana can handle 60,000 transactions per second. And right now I think you have about, or Solana has about 130, nodes. So, you know, on the other hand, Bitcoin has over 10,000 nodes. Ethereum has about 9,000. Do you think that 130 nodes is sufficiently decentralized to not be vulnerable to attacks or even collusion, as some people have surmised, has happened with EOS, which also has a limited number of nodes? So all, I mean, I'm interested in what you say. I'll say, like,
Starting point is 00:14:19 one thing that I've noticed here is like, I, you know, what does, what exactly do you mean by decentralization because, you know, one sort of interesting thing worth noting is that like, if you look at, for instance, Ethereum as it is right now, and you look at the miners who control the security effectively of this, you know, the distribution of hash power by minors, it's the top three of more than half the hash power. And it's in fact, like, I think like a little bit less decentralized than like this Lana validizers are right now. It's also the case, obviously that Salana like launched recently and that number is sort of like growing. exponentially. But it's just like one thing that strikes me whenever people ask about the sort of like
Starting point is 00:15:00 number of nodes on it is like, you know, what's the goalpost here? I think this is like a key question. And this isn't like a question about like us versus Ethereum. Because I think this is a question for like the chief security officer like Visa who is going to take a bet on running stuff on these networks. And how do they analyze security and censorship? How do they actually, like, how are they going to approach this problem? Assuming like everything we say is meaningless, right? Like from their perspective, wars are meaningless. What is my risk that I'm taking by using anyone in one of these networks?
Starting point is 00:15:40 And the way I think you can analyze this is you can look at whatever algorithm you're using, Nakamoto, PBFT. There's some threshold to where the network breaks, right? And then what is the minimum number of machines that I need to. physical entry to get to that threshold. It's with proof of work, it's actually like 51% will get you there, right? That's lower than that, but like it's without arguing with anybody, with any professors, 51% is clearly that. With proof of stake, it's low, it's 33%.
Starting point is 00:16:13 In some cases, it's a little higher depending how you tweak things. So then the job of like, like when we ask what is decentralization, it's that minimum set. in Ethereum, it's pretty low, and so in Bitcoin as well. We kind of run in this world where we don't have any, like, attackers on these main networks because the reputational cost is just too high. But you see stuff all over on Ethereum Classic. So, like, if CSO of Bitcoin or, like, a chief security officer of Visa is going to look at, how do I deploy money on Ethereum, they're going to sandbox that risk assuming the network
Starting point is 00:16:52 can easily be taken over. So, like, they do things like Circle and UCTT where they effectively control the funds and they honor the redemptions when they feel like it, right? And they can freeze your accounts and things like that. But at the end of the day, the funds are at like BitFinex or Circle, right? And that's, this is how like, I think where these networks are still immature, even what we consider mature ones like Bitcoin or Ethereum. When you look at proof of stake, Tesos, Cosmos, every proof of stake network right now up there have about less than eight entities that control 33% of the network.
Starting point is 00:17:35 So those numbers are still pretty small. Our test net called Tour to Soul, it's about 90. So it's like 10 times bigger than that. Our main net is about eight as well. And that's simply because of stake distribution, right? Like capital, when it's lazy, it just kind of goes to a. single spot. And it's got this Pareto distribution where most of the top tier validators attract the most capital, right? Most of the top tier mining pools attract the most hash power.
Starting point is 00:18:02 And this is what's keeping these networks centralized. And it's not really a question of how many copies of the ledger you have, how many full nodes you have. That's a meaningless number. It doesn't add to the security. It's not going to make like the chief security officer visa and he like feel any better if there's 10,000 copies of the ledger. If three mining pools, can basically break all their assumptions about security. Okay, so I don't know if I like really understood every last thing that you said, but essentially what you're saying is that the way I frame the question is not, like the comparison doesn't really make sense because of the fact that there are these concentrations
Starting point is 00:18:42 of power where if you do know the three people who when you add them up together, they can collude, then you can target a small number. So in a way, it doesn't matter that Solana has a small number. Is that what you're saying? We actually, well, we won, so one point is our main net is about 180 full notes, validators. Our distribution on test net is about 480. So it's much, much, much higher than just like three or five. But the number of full nodes in any network.
Starting point is 00:19:14 Right. But you were saying it's three for Ethereum. So the number of note, the number of full nodes that add up to. some meaningful threshold in the consensus is what matters, not the total number of full notes, because the copies of the ledger are meaningless. Right, okay. Yeah, that's what I thought you were saying. Okay.
Starting point is 00:19:33 I mean, sometimes just like actually a lot of chains could probably use quite a bit more decentralization in, you know, the effective weight of who's validating these or producing these blocks. And I think that includes almost every chain in the world. If you're not willing to rely on things like reputation, and people, you know, not wanting to nuke and get fully slashed in order to try and attack a chain. But another thing I think worth noting, and I think this is almost just like commonly misunderstood,
Starting point is 00:20:04 and I had this much misunderstanding until I thought about it, is that you can scale up the number of validators on Solana. You can scale up a lot. And like, you know, it sort of has been growing and probably will keep growing if the network keeps growing, you know, if the number of users do. And the key things, it doesn't like really hurt performance. that much. So it's not like this is the only way you can get this number of blocks through is by having this number of validators. Now, I don't know until I knew is way more about this than I do, but it's not a fundamental limitation, you know, in any way. Okay. So it's not like EOS where like they had to have a small number of validators to keep that high throughput.
Starting point is 00:20:40 So when we say like, and this really surprised me in the industry, like that people weren't measuring TPS this way. Like for us, TPS is a meaning. number because our consensus messages are smart contract transactions. So our capacity to process like transactions, like serum transactions or payments, is the same as the number of consensus messages we can use. And that what's limits the validator set. So like to mean like doubling TPS, but not doubling the number of validators that can participate in consensus is like almost like a joke.
Starting point is 00:21:17 right like that that's not like a meaningful doubling of anything interesting right like it's kind of like you're cheating right like you're stuffing more like kind of fake transactions into a single meaningful one and and batching a bunch of them and delegating that decision to somebody else so um kind of like for us right like the way i see it is like for this space to succeed we need to get to a point where we have like 3,000 machines that are required for somebody to get physical entry to stop the network. And at this point, somebody that's like at Visa or MasterCard
Starting point is 00:21:51 are going to look at this network and be like, well, it's probably mathematically impossible to go do this, right? To do this attack unless there's like a bug in the technology itself, right? But like actually physically go find these like 3,000 people and break into their like setups and get a hold of their private keys and then sign invalid state, right?
Starting point is 00:22:12 That's kind of an insurmountable problem. And at that point, start being competitive with real regulated financial networks. So for us, like, every time like Nvidia doubles their cores, right, we double our capacity for TPS, which doubles a number of validators that can participate in consensus, which allows us to get to that meaningful number where somebody that's at Visa or MasterCard just kind of gives up. They're like, oh, okay, this thing is just impenetrable. Like, let's go use it because it's cheaper. It's less of a headache, right?
Starting point is 00:22:45 like to actually go use this versus deal with the red tape and like all the other stuff that they do. And this is like to me like kind of what we're striving for as fast as we can. So on our test net, we're running this like autonomous staking agents that people are running instead of staking directly. And this is what allows us to evenly distribute the stake across like almost all 500 validators. And this is why it takes like overall, you know, around 100 or so to get up to that 33%. number. And when the validator set doubles, we can like keep increasing this kind of like meaningful decentralization threshold. You keep mentioning Visa and MasterCard. And I have to say this
Starting point is 00:23:27 has thrown me for a loop. So you're envisioning the likes of Visa and MasterCard wanting to use Solana. Is that it? I think Sam is like, you know, like an entrepreneur that's way ahead of his time, right? Because he has visioned that like all finance is going to, a good chunk of finance is going to run in these systems because they're just better, right? They're like, they don't require any people, right? You build a software. It runs on the thing that cannot be broken into, right? There's no, like, all the, all the croft is taking care of. There's other people like that that want to take down Visa and MasterCard, right? And they're out there, right? But you're like target, like, who do you, what's your vision for Solana? Like, who will use it and what it will be used for? Because
Starting point is 00:24:12 for you to keep talking about Pisa Masterhood was not what I was thinking. I think like I guess the way I see it is if we get to like a number like we meaningfully have meaningful censorship resistance. Like it takes one to three thousand machines
Starting point is 00:24:31 to be breaking into to censor the network. We can start moving real finance over right from like traditional finance down to these systems. And the early adopter are going to be folks like Steerum because they're cryptocurrency traders already get it.
Starting point is 00:24:47 But like, who knows? Maybe like Sam starts a large scale credit card company next. Like, and starts competing directly with Visa and MasterCard because he sees the tech is there and it's super easy for like a million people in Malaysia to aggregate funds to lend to a mortgage in San Francisco. Like, I don't know, right?
Starting point is 00:25:07 Oh. So, but it would be decentralized. Yes, of course. This is what I was confused about. Right. Okay. So you were, yeah.
Starting point is 00:25:15 I think it's like the business model of Visa and MasterCard, like the companies, but you've replaced their internal ledgers with a public decentralized ledger. And so it's like you actually take, you know, the technology of the company and you get it on chain. Okay. Now I get it. Okay. Now I get it. Yeah.
Starting point is 00:25:34 Yes. You're talking about a decentralized version of Visa or MasterCard, not the actual. Yes. Okay. Well, for now. Maybe there's some visionary product manager there. I don't know, right? Like, I don't know the organization.
Starting point is 00:25:47 All right. And this is like getting super speculative. But, you know, right now you do have this ability. I believe I've seen that you have claimed in other articles that Solana can handle 60,000 transactions per second. But I was checking the stats. And right now it's about 450 or 500. So why do you think Solana hasn't yet seen more crypto projects? or users migrating to slana?
Starting point is 00:26:13 I mean, TPS is kind of like, it's capacity, right? That capacity is there, but people need to have like a meaningful reason to go use it. It's like, why would I switch operating systems or why would I go from Ethereum to anything? Right? Like this is kind of a build it and they will come
Starting point is 00:26:34 is a really bad way to get product market fit, right? We have to have a meaningful reason for somebody to go do this. And with serum, they just couldn't do it anywhere else. Okay. So we are going to talk about serum in a bit, but I actually first just want to dive a little bit more into Solana because you use an algorithm called proof of history, which you sort of alluded to in the abstract earlier. Can you explain what that is and how it works?
Starting point is 00:27:05 Yeah. So there's folks building these things called Verify. delay functions. And there's some very sophisticated implementations of these that have all these complicated cryptographic tradeoffs. Our approach is what a bunch of hardware Qualcomm folks would do, which is shout to 56 in a loop that you sample. So recursive shot to 56.
Starting point is 00:27:29 Because it's recursive, it's a thing that has to run on a single core, single thread. And because it's running in this kind of single thread environment, it is the speed of which can run is bound by the fabrication process at our modern-day fab, like DSMC or Intel or Global Foundries. Because that process is kind of so fine-tuned and exact at this point in our state of technology, right, we have a very somewhat granular, but a very good approximation of how much time it takes to generate any number of these hashes. So we can effectively approximate time based on the number of hash is produced by this process. And for an attacker to increase that number meaningfully, they have to build a better
Starting point is 00:28:15 fab. And that's a $40 billion investment. So that's kind of a very, very expensive proposition for somebody to try to, you know, get something that's, you know, 10 times faster, something like that. So from our perspective, this is kind of like, you know, you think of proof of work in Bitcoin and A6 as kind of this physical bound that secures the. network. Proof of history is not, it doesn't secure the network. It allows us to schedule things in a very kind of compact way where there's no gaps. And this is what allows us to kind of scale
Starting point is 00:28:51 throughput, scale the number of block producers per second, like increase censorship resistance and, you know, process more transactions. It's not a security thing, but without it to maintain a high level of security, we would have to reduce throughput. And your block times are counted in milliseconds, right? Yeah. So right now the block time is 400 milliseconds. I would like to get them down to like 80 milliseconds, which is the round,
Starting point is 00:29:21 how long it takes for speed of life to go around the world through fiber. Okay. Yeah. Well, I mean, I can understand for trading on a global market that, yeah, that would be the goal. But yeah, yeah, I mean, this is obviously a huge. leap in terms of block time because, you know, we start with Bitcoin. It's roughly every 10 minutes. Ethereum's like kind of every 12 to 15 seconds. Yeah. So this is definitely much faster.
Starting point is 00:29:52 But one other thing that I just wondered is when I was learning about this proof of history and this like clock problem, as I guess it's called, I was kind of like, how is the time of a block different from a block height, right? You know, because like if you're, if you're thinking of time as like just every single. So obviously the way we do time is like, you know, it's like year, month, day, hour, minute, right? Second. But you can, you can create like a unique number from that. And so in that regard, you can think of a block height as also like being a unique number. So then I sort of didn't understand, like, what, how is proof of history different? I just sort of seemed like a different way to describe the same thing. Do you know what I mean?
Starting point is 00:30:36 Which is a way to put blocks in chronological order. So people think of proof of work, the Bitcoin blockchain, right? You can estimate how much time it took to build it, right? But that estimation is using, interpreting the chain as a source of time after consensus. So to give you an idea why that matters is like, you know, first radio towers went up, two towers transmit at the same time over the same frequency, you get noise, right? because those waves interfere and information can't propagate through, right?
Starting point is 00:31:08 You don't know what's being transmitted. So really the first optimization people tried is they gave everybody a clock that's synchronized and they can alternate by time. So how well that clock is synchronized, how low the air is between like the drift and the clocks is how fast they can alternate. So modern day like cellular networks are like roughly every,
Starting point is 00:31:30 I think the slice is like five milliseconds at this point. because the clocks are so well-timed and so well-synchronized. So that allows you to increase the number of participants that can transmit per second. And that is exactly the same as the number of block producers that can transmit per second. Because if you look at Bitcoin, right, it's got this puzzle that's designed to be solved once every 10 minutes, no matter how big the network gets. Because if two people solve it at the same time, you get effectively an undecided state, of the chain, right? We don't know which is the actual final block, right? So then that's noise.
Starting point is 00:32:09 That's kind of similar problem to the electromagnetic interference. So with Bitcoin, the way they try to solve it is by the increased difficulties such that it's really extremely rare that two blocks occur at the same time. Ethereum is probably the fastest possible implementation of proof of work. This is like once every 10 seconds kind of thing. Our approach is to use this external point of reference as a source of time, which is the number of has hashes that somebody has computed. Not the actual value of the hashes. It's just like, give me a data structure that shows that you spent like 400 milliseconds somewhere spitting in a single core. Like, prove to me that you waited, right? And because you have to prove for like
Starting point is 00:32:57 400 milliseconds and Samus to prove for 800 milliseconds, that gives you a slice of time to transmit your block and Sam is forced to delay until your block is done. And then that reduces the number of concurrent blocks in the network and we can effectively kind of start stuffing more block producers in the same second. Oh, so then, because I was going to ask you what happens if two blocks are mined at the same time, but you're just sort of saying like, it's not, that doesn't really happen? Because everyone synchronize. Yeah. So it does happen and that consensus takes over just like it doesn't proof of work or PBFT or any other chain. It's just where, like, all of it, all of engineering is taking the best case and
Starting point is 00:33:41 doing your best, making it the average case most of the time. Okay. And so then, so if there are two blocks that are mine at the same time, that's where your proof of stake part comes in. Is that? Yep. Okay. So, okay, so we're going to discuss a little bit more about that in a moment, but first a
Starting point is 00:33:57 quick word from the sponsors who make this show possible. This episode is sponsored. are by God's Unchained, the digital card game that offers true ownership to players. Cards are minted on Ethereum, meaning users can trade, sell, and program their assets however they like. A new expansion set has just released, with limited edition cards and ERC 20 chests available for sale. If you miss out, you can hunt these down or previously sold out chests on third-party sites like Uniswap. This game is the real deal. Helmed by experienced TCG legend Chris Clay of Magic the Gathering, Arena
Starting point is 00:34:34 Fame. It's fun, engaging, competitive, and has more NFTs than any other Ethereum game on the market. You can try out the game at PlayGU. co slash Unchained Pod. For the Defy heads out there looking for a new opportunity,
Starting point is 00:34:50 why not go grab some chests. The ScoreBet app here with trusted stats and real-time sports news. Yeah, hey, who should I take in the Boston game? Well, statistically speaking. Nah, no more Statistically speaking, I want hot takes. I want knee-jerk reactions. That's not really what I do.
Starting point is 00:35:08 Is that because you don't have any knees? Or? The score bet. Trusted sports content, seamless sports betting. Download today. 19 plus Ontario only. If you have questions or concerns about your gambling or the gambling of someone close to you,
Starting point is 00:35:20 please go to conicsonterio.ca. With Amex Platinum, $400 in annual credits for travel and dining means you not only satisfy your travel bug, but your taste buds too. That's the powerful backing of Amex. Conditions apply. Crypto.com, the crypto super app that lets you buy, earn, and spend crypto, all in one place.
Starting point is 00:35:44 Earn up to 8.5% per year on your BTC. Download the crypto.com app now to see the interest rates you could be earning on BTC and more than 20 other coins. Once in the app, you can apply for the crypto.com metal card, which pays you up to 8% cash back instantly on all purchases. reserve years now in the crypto.com app. Back to my conversation with Sam and Anatoly. Okay, so yeah, so this is because I was, you know, doing all this research and I was like, wait, there's proof of history plus also proof of steak. I was like, what is going on? But that is the answer is that if two blocks are mine, then the staking comes into play.
Starting point is 00:36:23 Is that what happened? Yeah, so staking is the civil resistant portion that is kind of like proof of work. solve civil resistance with electricity because you can't use the same electricity twice. And we use proof of stake to solve the same problem. But the actual consensus algorithm is based on PBFT, which is practical Byzantine fault tolerance. Okay, which I don't know what that means. Do you want to give a really quick description?
Starting point is 00:36:53 That's basically the, I think, I mean, Edmund will argue that Avalanche is not PBFT in its own thing. But I think every proof of stake network at the end of the day is PBFD, if it comes to any kind of finality. So it's an algorithm that was discovered by Barbara Laskoff in 99, I believe. So it's fairly recent if you think about research. And it's a way to solve the end general's Byzantine general's problem. Nakamoto, the proof of work algorithm that the consensus algorithm used with proof of work in Bitcoin is an other solution to this famous and general's problem. So PBFT is a way to do it with cryptography and some way to do, you know, if you have cryptography and some civil
Starting point is 00:37:41 resistance, you can kind of build these things on top of something that has, you know, good enough communication like the internet. And the general problem is, or the, the, way to describe it is basically how to create cooperation amongst different people who don't know each other and do it in a way where they can kind of communicate effectively. That's sort of like my very general way of describing it. It's a way for, well, like it's based on this famous problem, which is called the Byzantine general or the end general's problem, where, you know, you have some number of generals and Constantinople, and if all of them attack at the same time, then they win, but if some of them don't, then they lose. And they're trying to send messengers between
Starting point is 00:38:27 each other to coordinate when they attack. And the problem is that Constantinople can, you know, depending how the problem is set up, they can, you know, stop the messengers or they can create their own spies at some fake messages and things like that. So how do you solve this problem under
Starting point is 00:38:43 different kind of modes of attack vectors? So PBFT's one such solution. There's other solutions that have other assumptions. And Nakamoto is probably like, you know, that's the most famous one. All right. So you have this blockchain, which as we discussed, has the potential to process orders of magnitude more transactions than existing blockchains by right now, or at least the most recent number I could find was that there's only six daps currently on Solana. Or maybe it's a little bit more than that. And I know, so I know we haven't talked about serum yet, but we will in a second. But I do know that serum is interoperable with Ethereum. And I wondered in general, you know, and this was sort of something that came up earlier in conversation
Starting point is 00:39:31 with Sam, like, is that your strategy for getting more activity on, on your chain to try to attract defy developers from Ethereum? Like, what is your playbook for getting activity? I mean, like, are so like, I think the space is still really small. Like, if you, if you look at the number of, you know, guess how many GitHub users have coded in solidity? Like, take a wild gas. It's 840. Oh, really? If you just do a query on GitHub, like how many like users have like have code that they submitted in solidity? It's pretty small. It's really small. But that that's not to say that like 840 engineers is like a huge engineering company, right? That's like 200 million a year in Ingeburn or something absurd, right? That's like a lot of people, right, that are building stuff.
Starting point is 00:40:31 So it's both small and large enough to where it's kind of, it's dumped to ignore Ethereum, right? Dump to bet that something is going to grow bigger than it. And my view on the space is that with proof of stake networks and smart contract platforms, you kind of end up in this like kind of fungible block space world where it doesn't matter where the transactions run, right? It doesn't matter if, like, users with some issue token and Ethereum, whether they do the exchanges on Uniswap or do it through serum, they don't really care. All they care about is that they have token A, they got token B at some price, right?
Starting point is 00:41:11 Or they have like both token A and token B, and now they're providing liquidity, right, and earning a yield or something like that. They just want to interface with crypto systems, right? They don't really care about Ethereum. unless they're maximilus, which is fine because you've got to build your tribe, right? But at the end of the day, right, you got the users that want to trade, it's not going to be really important to them where those orders execute. So all we need to do is kind of build some cryptographic certainty about that execution
Starting point is 00:41:42 and route it through, you know, from Ethereum to serum and somewhere else and back to Ethereum. Huh. Okay. So you are, it sounds. So it sounds like I was right that But the reason that you made serum interoperable is like, that's kind of your, your strategy of forgetting activity. It's a big on-roading thing. Like right now, everyone has metamask and no one has soul flare. Soul flare is like the, you know, one of the most common salonawallets or solid or one of these. But not everyone has it obviously, but in defy, at least everyone has metamask.
Starting point is 00:42:14 And so a lot of this question is like, you know, what does interoperable mean? There's a lot of different layers of this. But like step one is you start. with some Ethereum in your Metamask wallet, and somehow you have to end up using this new chain and like, or you know, making use of it somehow. And maybe eventually everyone's got Solana and everyone's got SPL tokens in their wallet.
Starting point is 00:42:37 And then this is like no longer like a crucial step. But like at step zero, no one has them. And wait. And are you trying to get SPL tokens used in Metamask? Well, there's a lot of different approaches. And, like, you know, we would certainly be super thrilled for MetaMask to support it. Like, that'd be really amazing. There are other things you can do, too, though, where you can build your own applications
Starting point is 00:43:00 that can, you know, interface with MetaMask and can, you know, utilize the Ethereum that you have on it, which is what it's doing right now. So, like, right now the kind of first bridge that came out, it's a Salon of Baseball at Solid, but that you can hook up to your MetaMask account and have them talk to each other. Okay. Yeah. So why don't we just talk a little bit more? more about serum. So when people go on there, what will their experience be? And like,
Starting point is 00:43:28 who are you trying to to target? Because serum is like a more like a central order book type of experience rather than these automated market makers that have become very popular in defy. So does that mean that you'll attract a different type of trader? Or are you trying to attract the defy traders or, you know, tell me. Yeah. It's a good question. question. And the long answer, like the sort of like long, long, uh, long vision for this, like ultimately is sort of everything. Like, like sort of ultimately the answer, as I had only said, is like, can you get a significant fraction of like defy and, and crypto and like the world's financial ecosystem, maybe the world's technological ecosystem happening on, on chain? Like it's
Starting point is 00:44:13 sort of, you can think pretty big here. But if you sort of then zoom in and say, all right, well, sure, like, what are the first steps? You know, I think that, like, the first thing that I sort of launched on CERM was a central limit order book. So, you know, it sort of looks like a centralized exchange, except that it's not. It's on chain. And I do think that that does attract a slightly different crowd of people, you know, tends to attract people who trade significant volume and are looking for significant liquidity as opposed to people who are looking to stake or to get yield or to, like, you know, put seed liquidity for their, like, illiquid token. and not have to think about it.
Starting point is 00:44:52 And so I think it's like, it is like a different crowd. And I think the reason we started with that is that it was like, A, I think it's one of the most powerful things. Like if you look at where volume is encrypted, like 90% of it's on central limit order books. But B, it's sort of a proof of like a, you know, a proof that this can do cool things. It's like here's a thing that you can't do on most other chains. And it's done. It's here.
Starting point is 00:45:18 and it works. And it's sort of like, you know, a really good first product from that stance of being valuable, useful, and really demonstrating what can be done. But sort of going forward, the next things that are going to be released, I mean, a lot of people are working on things, but the ones that I'm aware of that are like, you know, the closest to coming out are going to be a lot of things that allow you to build the pieces that are in the current Ethereum defy ecosystem on Solana and on serum. And so the answer is pretty soon, it'll have both. It'll have central limit order books. It'll have AMMs. It'll borrow lending. It'll sort of span both the things you would see on a centralized exchange and the things
Starting point is 00:46:00 you see in Ethereum-based defy. But they're all on chain, which means they're also all composable and interoperable. And so you can do things like take your AMM and have it, you know, instead of trading against it directly, you could trade against it through an order book if you wanted. The AMM can literally itself go provide on an orderbook, or you can take your borrow lending protocol and give either the orderbook or the AMM or both at once leverage by composing them on top of each other. And so all of these things grow even more powerful for having the other ones there. And I think like over the next month, most of the things I just talked about are going to be, you know, live in the ecosystem. And so, okay, so now I understand because I guess I thought that Project theorem was just this one,
Starting point is 00:46:46 order book exchange. But then earlier, in the beginning of the show, you called it an ecosystem. And I thought, why is he calling an ecosystem? But now I see, because you're launching like these AMMs or a lending protocol or whatever, these other kind of defy like things, but in, oh, within serum. Oh, interesting. Well, so one thing, you know, just to go back to what I was asking in terms of like the type of person who would use Project Serum, you know, I saw that high frequency trading firm Jump Trading is going to do market making on Project Serum. And I'm I wonder how did that deal come together? They're, first of all, a veteran of market making, but they also have this investment arm that's active in crypto. And I just wondered, you know,
Starting point is 00:47:25 did you reach out to them or did they reach out to you? And like, what was the appeal for them? Yeah. I mean, you know, we sort of had conversations about things, you know, related to crypto for the last couple of years, we got, you know, got back in contact around this. And I think basically we had a similar vision. And I think we both had the vision of like thinking about, what's the biggest thing and the highest upside thing you can build as opposed to what's the next step from where we are. And that that just like really, that points you in a very different direction. Because if your goal is to get like, you know, lower cost AMMs, right? Then you're like, we just need another factor of 20 in throughput or in lower cost.
Starting point is 00:48:09 And, and that'll be fine, you know. Whereas if you're saying like, all right, so step like three out of five is going to to be trying to get like capacity for, you know, a third of the world's financial ecosystem potentially to be on the ecosystem. All of a sudden, that factor of 30 isn't looking so good. Like, it's like a factor of three million, you know. It's like like just orders of magnitude upon orders of magnitude bigger, what you're demanding here.
Starting point is 00:48:36 And like, sure, that's sort of like a ridiculously lofty goal, although I think it is a real reach goal. But you don't have to have that lofty of a goal if literally your entire goal is to have a well-functioning efficient order book with a matching engine on-chain, that alone prices out almost every chain in crypto. A single serum order book right now is using way more throughput than the entire Ethereum network is. And so, you know, we sort of like had both had the same thought of like, you can't go moderately big and still expect this to be scalable. You need to go really big. You need to really care about scalability. And you need to have the
Starting point is 00:49:15 product vision to get there, and you need to have the, like, resources and wherewithal and knowledge and partners to have a plausible shot at building out so much of this. And then to go to one something both you and Anatolia have echoed almost every chain other than Ethereum's a ghost town right now. I mean, sort of like a relative statement. Except for Bitcoin. Except for Bitcoin. Well, it's interesting. Bitcoin itself is superacting. There's sort of nothing, not much built on top of Bitcoin, but Bitcoin itself, the chain is obviously, like, the biggest by far. Yeah. Yeah. But in terms like smart contract platforms,
Starting point is 00:49:51 in terms of platforms are the goals for other people to build applications that run on it, everything's on Ethereum. You know, Tron is number two with like probably 1% of Ethereum, or 5% maybe. And then the one after that's going to have like, you know, 5% of that. And it's just like, there's just nothing. And so team after team has failed. And it sort of has demonstrated that doing something isn't enough, you need to build something so cool and so impressive and powerful without requiring first having everyone move over that you can create a compelling enough pitch that someone's going to bother trying it in the first place.
Starting point is 00:50:24 You know, that's a high bar. Yeah, well, a couple of things that I wanted to ask, first of all, because I wasn't totally sure about this. So I'm assuming that your decks will handle non-Etherium assets as well. And so I just wondered, like, when people trade tokens from different chains that have, you know, different consensus mechanisms, different block times, different levels of finality.
Starting point is 00:50:49 How do you guys handle that? And like I also wanted to try to place this in the kind of world of like Pocodot versus Cosmos. Like is this, it sounds like this is also a potential solution to that interoperability issue that they're trying to tackle. Right. So it's a really good question. And there's basically two ways that you can try and think of this. and two sort of paradigms.
Starting point is 00:51:14 And one paradigm is a cross-chain swap, where the order book is literally listing a Bitcoin. Or let's get like Bitcoin's a little funky, but it's listing, you know, USDC against dot, you know, like two totally, you know, a token on Ethereum versus like, you know, Pocod. And it needs to, you know, to transact those two when two people trade. And there's a lot of ways to try and settle this. But as you say, it's a little bit nasty, right? Like, you have to deeply understand both consensus protocols. It's only going to be as fast as the slower of them, certainly. Like, you're not going to be able to settle this until both have settled.
Starting point is 00:51:56 So if one side's Bitcoin, then, like, it's going to take half an hour to settle anything here. And you need to build in these really complicated processes to deal with, like, the fact that none of these things can natively talk to each other. And so like how does how do you know if someone delivered? Like what's it, you know, how do you make sure that's not like one person sends their funds and the other one just never does? And you can do it, but it is nasty. This is sort of what layers to do. Like this is a lot of building a layer two is sort of solving this problem in a very specific instance of like your kind of customized semi centralized layer two versus Ethereum, often only in one direction. But you can generalize that.
Starting point is 00:52:35 It is doable. it's extremely finicky. Like the pseudocode specs for this, it's like a 10-page document. And we didn't even cover all the, like, there's some cases we're like, this edge case we solved it. We're not going to write it down here.
Starting point is 00:52:49 It's too annoying. And like, it's just because you often think of everything, right? You're like, every edge case of every chain. And you can do it. You can do it, but it is like really annoying. I know. I was thinking, how are they going to? I was just like, it just sounds like so much work.
Starting point is 00:53:04 exchanges do this exchanges do this like every day right they accept dots and they issue Bitcoin and people are able they run right most of the time well and the whole that most of the time is the whole thing right it's actually really easy to do this if it only needs to work like
Starting point is 00:53:20 98% of the time right because you just like build a note on both chains the problem of course is like what do like what's it mean if one fucks up or lies like how do you deal with that in like a decentralized permission and that's with centralized exchanges, there's just like, you know, kind of wildcard you can play,
Starting point is 00:53:38 which is like, all right, no longer decentralized. We're going to have a human go look at it and figure out what happened and fix it. And like with FTX, we have to do this every day, like 20 times a day. Like, you know, some transaction will run into some weird error, like halfway through a ran out of gas in like some non-usual way. And so it gets canceled, but in a way that like our automated systems didn't predict. And we just get this alert, like something's weird here. I can try and take guess, but I might not get it right. Like, humans, go look at this and make sure the right thing happens.
Starting point is 00:54:08 And, like, that's the thing that's really hard to do with a Dex. Like, the whole point of a Dex is not to have that. So you can do it, but you have to automate every single edge case. So, okay, taking a step back, this is something we're aiming for, but this is like a many months project for, and many months just to get two specific chains to work with each other. And every time you need to add a new chain, there's like another month of ironing out that chain, there's another way to do this, though, which is more modularized, where instead of having
Starting point is 00:54:38 the orderbook trade an ERC20 USDC against a polka dot token, you can have bridges. And so one thing you can match at this instead is there's this, you know, Salana ecosystem, you know, serum ecosystem, on Salon, you draw a circle around it. And in order to enter it, there's like a wrapping process that happens there where, you know, you send in your ERC20 token and you wrap it into an SPL tokens, just a Salon a token, that's like fungible one-to-one with it. And then the decks itself is just trading all these wrappers against each other. Right. Yeah.
Starting point is 00:55:11 It lets you kind of separate these processes. And it means that like the entire match engine is independent each step on like understanding three blockchains. And this takes a lot of the pressure off of the system. So the thing that we have right now is just like there's one bridge which is live and there's more which are going to be coming live soon, which are just like a way to to wrap and unwrap tokens on them. And okay.
Starting point is 00:55:35 And so you keep saying wrap, but like for wrapped Bitcoin on Ethereum, that's using a trusted third party provider to do that. But are you saying this will be done via smart contract in a trustless manner? Yeah. And now you get to what exactly trustless means. And sort of the real answer here is that it's not a binary. It's sort of a spectrum. And a lot of the things that sort of present themselves as such, there, there's,
Starting point is 00:56:00 is somewhere on the spectrum, right? And WBTC is sort of like generally known to be on the centralized end of this, where like it's just a custodian. You know, it's BCO. Then you have things like, you know, RenBTC, TBT, which are various sort of like more decentralized ways of doing this. You can imagine close to one end, if you have all of the validators of a blockchain, validating these cross-chain transactions, then they're sort of validated with the full weight of the consensus. And so one other thing you can do, right, is if you take two chains and you get every validate or a block producer or whatever they use on each side to be with sort of the
Starting point is 00:56:41 same consensus thresholds, to be validating that these, that this swapping is happening, then that's like pretty decentralized, you know, that's like even more decentralized than just getting like 10,000 friends and strangers together and having them vote, which is what a lot of these things, you know, it's sort of a lot of magic in the middle, but basically it's like decentralized but not trustless. Like you have to trust, you just, you don't rely on one person. You have to trust that like, you know, most of 10,000 people are sort of honest. On the far end, there's something even stronger you can do, which is sort of the like
Starting point is 00:57:12 fully the most trustless version where you're actually running like clients, which is to say you pre-program into each blockchain exactly how the other blockchain works. So you can feed them raw blockchain data and they can figure out what's going on. on, you know, the on-chain program does. And so you don't have to have people voting on what happened in the blockchain. It's a free program. But then, again, you have to think very hard about what happens if there's, like, a fork that, like, this program didn't anticipate. And so that's sort of, like, as far as you can get here.
Starting point is 00:57:42 And, yeah, there's just sort of the spectrum of these bridges. And I think that, like, the sort of, like, standard first place to start is, like, a multi-sake. You know, you have, like, rather than, like, a Bitcoin custodian, you have, like, you know, a group of people. or a multi-sig that, you know, that are sort of like validating, you know, each running nodes and validating that like these swabs are happening correctly. Okay. And that's like one version of a thing that you can do. Anatoly also actually has like more information, I think, on the most recent state of some
Starting point is 00:58:11 of these bridges than I do. So I'm going off of like two-month-old information about what was going to be rolled out when. Sam basically nailed it. Like the, like the way I think about it is effectively like custody. and you have a spectrum of centralized custody like RAPBTC, right, or what you deposit into an exchange and it gives you a virtual token on their exchange to trade with, right, to something that's like in the middle where like it's like TBTC, like run. And then you have something farther to the right of decentralization, like proof of stake
Starting point is 00:58:46 networks where you have, you know, you have finality, right, that's controlled by some set of validators that are signing things. So, you know, imagine these validators all colluded and, like, manufactured fake headers. That's no different than, like, a decentralized or any custodian, right, kind of, like, running away with the funds that you've trusted them. So this kind of spectrum of decentralized custody goes all the way to full blockchains, like clients running inside each other. And Cosmos, like, as you mentioned, their spec, IBC kind of covers all the corner cases of, like, what happens? happens of chain one forks, or both forks at the same time, right? Like, who actually gets what?
Starting point is 00:59:31 And fundamentally, like, I think the interesting thing there is that many, like, the combination of these methods are probably what's going to be used by consumers. Like, when a user deposits something like, hey, I want to, I want to bridge, you know, yarn from Ethereum to Solana and trade out on serum, they can, do the deposit against the light client and somebody could basically run it through a multi-sig issue them the token and take the slow path for a fee right they basically okay i'll i'll wait for full finality for like you know point zero zero one percent for you but you can go trade you're in right now right right like because as soon as you have like risk right if you have like opportunity
Starting point is 01:00:20 for risk and speed right and and unfortunately finance, there's opportunity to make yield there, and somebody will take the other side of that. So users actually will probably be able to always kind of see a fast path and underneath behind all this is like, how do we reduce settlement risk? How do we make this more decentralized, more censorship resistant? That's almost like all backend work that users are really unlikely at the end of the day to deal with. Okay. This is really interesting. So something else that I wanted it asked about was Syram has two tokens, SRM and MSRM. And why don't you just describe what the purpose is for each? Yeah. So serum is sort of the fundamental one. And like for most things,
Starting point is 01:01:04 you can sort of ignore MSRM. So serum is, you know, what does it do? It does, I mean, the first answer is it's a governance token. And so it can vote itself to do more things. But I, you know, currently what's it do? So first of all, 100% of all the revenue from serum, you know, the, the, from, you know, all the projects on serum, they go to the serum token. And so, you know, what this means like exchange fees, you know, go to, go to serum, whether it's through a buy and burn, whether it's through yield. And that's, again, it's sort of like up to the serum tokens to decide how they want that. So they sort of control all of that.
Starting point is 01:01:40 And gain from all of that, they also are the governance and so they can vote to, you know, change fee rates and things like that. And then the other thing that they do is there's a staking system and a node system, And the nodes basically manage a lot of the processes that go on on serum. And so in particular, you can get some extra oomph out of on-chain stuff if you're able to have people staring at it and poking at it. And what does that mean? You know, I'll give an example. So all of the borrow lending protocols on Ethereum, how do they deal with liquidations? Let's say someone's about to go bankrupt. What happens?
Starting point is 01:02:17 There's like keepers that kind of find something that's something that's, looks like it's kind of running under the collateralization ratio or something? Is that what you're talking about? It's like, yeah, it's sort of like that. It's, blockchains aren't very good at like, you know, they sort of just like keep sitting there doing what they're doing. The natural way to have mechanics, something like liquidation, which is what most people do is at any point, anyone can try and liquidate someone. So I could see your account and I'd be like, oh man, there's Laura account, Laura's account. I'm going to try and liquidate her. So like, you know, type in, you know, I send a command, she's like, liquidate Laura. And the borrullending
Starting point is 01:02:51 pro-call's like, no, fuck you, Sam. She's nowhere near her margin limits. Like, obviously, she can't be liquidated. And she's like, whenever I send that command, it goes in tests. But if you are, in fact, below your margin limits, and I send the liquidate command, then it liquidates you. And what's it mean to liquidate you? Well, somehow it has to deal with this fact that you've got all these positions and assets and stuff. And I got to go somewhere. So what actually means to liquidate someone is you volunteer to take them. And so actually happens to like, I claim Laura's like below margin limits and I'm going to take her portfolio. on, and I send that to the blockchain it validates it.
Starting point is 01:03:24 And that's sort of like an example of like an external actor who comes in to help the system in a way where like they can't sort of do anything terrible because the code, you know, the blockchain coaches won't let them liquidate someone if they're not below margin. But there's a function that needs to be filled and relies on someone like that. That in particular is actually quite an intense and scary thing to find someone's shoulders because they might be taken on a huge position. But there's a lot of sort of like less scary versions of that that are, important for maintenance of stuff on certain. So to give some examples, one of them is there are certain
Starting point is 01:03:57 times when like some sort of queue is filling up. Like, you know, all, you know, some, there's some like, data structure is like, you know, a queue of all the trades that have happened recently or something. And you need to clear that out periodically or else, like, the decks just holds. It's like, we're out of space. Like, there's nowhere for me to write this. I just like sitting there, like, pleading with someone to like realize that happened and like clear out this buffer. And as soon as someone does just starts running again. And so that's like sort of an example of a node duty on serum is like watching for all these things and like taking care of them when they need to be taking care of. And what they share in common is that you can't like steal anyone's money.
Starting point is 01:04:36 This way it's not like giving a superpower to these nodes that lets them like screw anything up. It's just like a task that needs to be done and like waiting for someone to do it. So that's one example of it. And basically it's, you know, serum holders who are are staking to these nodes, which are then performing these on-chain duties. And another thing you could think about is like validating cross-chain transactions. So, you know, for a lot of these bridges, like who are natural people to be validating that swap having correctly? One, like the Salana validators is one answer and the, you know, serum nodes is another. So, okay, set sort of serum. It's basically like economic gain from everything that happens on serum, governance of it, and then staking for
Starting point is 01:05:16 maintenance of it. Plus, you know, whatever else people do with it. I haven't yet gotten to Megas serum. That's sort of like, you know, that's background. So, okay, what is mega serum? So MSRM, which is mega serum, is I think, a super, super cute thing. I'm really happy with it. It's a wrapper on a million serum. So you can take a megac serum and just crack it open, get a million serum out. And take a million serum, you can wrap them together and get a mega serum.
Starting point is 01:05:42 So far, it seems kind of stupid, like, who cares? Oh, here's why you care. First of all, it's a little bit better than a million serum. So you get like, you know, to get fee discounts for holding serum when you trade, you get like bigger fee discounts for having a mega serum than you do for a million serum. And like in all of these various ways, you get like little bonuses for having a mega serum. And in addition, each of the nodes, which is like, you know, voting and managing these processes, in order to form it, it has to have a mega serum staking to it.
Starting point is 01:06:11 So you can have, you can stick to it with just serum. Like you can collect a lot of people with that, but at least one person has to activate it with like by staking their mega serum to it. So now you're like, okay, it's still stupid because everyone just obviously creates mega serum, because it's better. And now it gets the second core part of a megacerm, which is that they're scarce. So there can only be a thousand megacerm in the world ever, which is only 10, which could only soak up 10% of the serum. And so basically what they are, they're almost like NFT like in a way. I think they're fungible within the thousand of them. But, you know, it's like a sort of, you know, wrap around a million serum.
Starting point is 01:06:48 that's like a bit better and allows you to activate a node, but they're scarce. It's not that everyone can do them. And you know, you can trade these. And so if you're just looking to like have some serum in your wallet, because you're, you know, buying it and selling a lot, like, you know, you just stick with serum. And if you ever got to make a serum, you'd probably sell it.
Starting point is 01:07:08 And the reason you'd sell it is you'd sell it is you'd probably be willing to pay more than a million serum for it because they really want to be able to activate their node. And you can only do that with one of these. the world's out of them. So that's basically what a mega serum is. Yeah, it's like flying business class or something. It's like limited number of seats, but you get these extra perks and yeah, or I don't play video games, but I imagine like some kind of special video game level that, you know, you can achieve. Yeah, exactly. And it's like in practice, this sort of thing where for like a really core member of the serum ecosystem and like want to do a lot of stuff there,
Starting point is 01:07:43 like most of them are like very excited to have a mega serum because it like allows you do more stuff, whereas they're just sort of like coming in and out and doing some trades sometimes and like buying, you know, trading for serum for profit back and forth. Like, you know, you sort of wouldn't bother getting the like, you know, long-term gold chart or whatever. All right. So we've covered, I think pretty much most of the aspects of Salana and serum. But I just did wonder, you know, going forward, like what are kind of the next milestones and what are some of the new things that we should be watching you guys for in terms of what you'll be rolling out. Yeah, so on the serum end, I mean, a lot of people are building things and we'll see what comes
Starting point is 01:08:25 here. I'm super excited for a lot of them. There are also some which I can't say yet, but I'm super excited about. The two things that I'm most excited about that are going to be coming out soon, which are going to just unlock so much. One of them is a borrow lending protocol. And a bunch of people are working on those and sometime in the next month. One's going to go live. And that's going to enable borrowing and lending, but also margin and futures and leverage and everything like that, because you can just compose it with anything. The other thing, which is a more unique thing is a thing called pools, which are going to be coming out in the next week. And a pool is a really, really cool kind of primitive structure. And it's sort of the common
Starting point is 01:09:04 element between an AMM wrapping, staking, borrow lending, and a ton of other things in Defy. what it is is a fully customizable way to have like this pool of assets and these tokens that represent ownership. Is it like balancer? It sounds like balancer. Yep. That's like another example. It's like a more customized example where, you know, with balancer you have these balancer token, you know, balancer pool tokens, which represent ownership of the pool of assets
Starting point is 01:09:30 in the balancer pool. And you can kind of like create and redeem them. And then separately there's this other thing where you can like trade against these balancer pools using the sort of AMM curve like thing. And so that's like a more generalized version of uniswap. Uniswap is also a pool, but it's like a, you know, more restricted ones are only two assets in it. The fully generalized pool, so you can specify everything from, you can sort of do whatever you want with them. And so you could just write a program to control each piece of it.
Starting point is 01:09:58 And what that means is that you could take a pool. And with the address that controls the assets, you could write it such that it took the assets and provided liquidity on a decks with them. And so if you wanted to, you could have a tool. this pool that like instead of AMMing, it sort of like replicated that that that curve, but did it by providing on a Dex or you could build a pool with where it's just an AMM with any arbitrary curve of like, you know, you know, instead of this X times Y equals K, then it could be any function of the world. You just write it down on chain and put it in, in the address. And then that's, that's what it'll do. And you can control what you need to,
Starting point is 01:10:38 to put in to create chairs in the. the pool, you control what you get out for redeeming them. You can customize both of those. And so in it's a very simplest form, it's just a staking thing or like an ETF or something that you put assets in and you get ownership out and then you can't crack that open. But you can customize what happens with each piece of it. And it just makes it super like clean and straightforward to roll out a really large number of protocols. And so I'm really excited for that to unlock a lot of projects at once, and that's going to be coming out in the next week.
Starting point is 01:11:13 All right. Well, this has been super interesting. Where can people learn more about each of you and Solana and Project Serum? Well, salana.com. Just go there. Or if you've, there's a ton of documentation about like just kind of design and as well as developer docs, but jump into our Discord.
Starting point is 01:11:31 Like, we're friendly people. And Sam? Yeah. Oh, God. There are so many places. So you go to, and they all link to, to each other, which is good. But you know, project serum.com to see sort of an ecosystem website, you can go to our Discord, you can go to our telegram channel, you go to our Twitter account,
Starting point is 01:11:49 follow me on Twitter. All of those, like all words lead to serum, so to speak. Okay, great. Well, thank you both so much for coming on Unchained. Of course. Thanks for having us. Yeah, thank you. Thanks so much for joining us today to learn more about Sam, Anatoly, Solana, and Syram. Check out the show notes for this episode. Don't forget, you can now watch video recordings of the episodes on the Unchained YouTube channel. Go to YouTube.com slash C slash Unchained podcast and subscribe today. Unchained is produced by me, Laura Shin, with help from Anthony Yun, Daniel Ness, Bossie Baker, and the team at CLK transcription. Thanks for listening.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.