Vizor - Sponsor Image Vizor - Vizor lets you hold ZEC in self-custody and spend with stablecoins. Friend & Sponsor Learn more
Podcast

Can Circuit Breakers Make Ethereum DeFi Safer? | Odysseas Lamtzidis & Kubi Mensah

What if DeFi could stop malicious transactions before they settle?

Up next

All episodes

Inside the episode

Odysseas Lamtzidis:
[0:00] They can't afford to lose, not, you know, 10 million, like $1 to North Korea.

Odysseas Lamtzidis:
[0:06] Like if they do that, they get sued. Someone goes to jail. It's as simple as that. They'll just not use Ethereum. And there is no way and no time for anyone to say, hold on guys, like something is off here and maybe we should not allow this.

Kubi Mensah:
[0:20] You know, someone finding an exploit and then you racing to fix it or to stop it. So the default behavior is like, don't allow it.

Odysseas Lamtzidis:
[0:27] Even if your entire signing infrastructure gets infiltrated, as it did, when you have $5 billion, you want redundancies, then the secret breaker is the, I don't want to die as a business.

Kubi Mensah:
[0:37] And you're obviously not censoring the chain, but you're limiting it to your application.

Odysseas Lamtzidis:
[0:43] If Titan misbehaves, a protocol can choose to not use Titan.

Kubi Mensah:
[0:47] As a block builder, you really have to fight every day to stay relevant as a block builder.

David Hoffman:
[0:55] Welcome to Bankless, where we explore the frontier of internet money and internet finance. And today on Bankless, we are exploring the frontier of smart contract circuit breakers to protect your money from getting stolen from malicious smart contract exploits on Ethereum. On the podcast today, we are joined by Odysseus from Phylax, which is a smart contract security startup working with Ethereum Layer 2s and applications to protect users and application funds. We also are joined by Kubi from Gattaca, the company behind Titan Builder, which is Ethereum's largest block builder. It constructs about one out of every two Ethereum blocks added to the blockchain. Recently, a new partnership from Phylax and Titan Builder has brought Phylax's circuit breakers to the Ethereum Layer 1. So some of crypto's largest vaults, you can think Aave, Sky, Morpho, Uniswap Hooks, Pendle vaults, they can now all opt into this service if they so choose. Titan is the first builder to support it, which gives those apps meaningful coverage on the Ethereum layer one from day one. And the system is open to any builder that wants to run it. So the whole goal of Circuit Breakers is to introduce a new security layer for DeFi that is in these days drastically needed and has never existed before. Odysseus and Kubi, welcome to Bankless.

Kubi Mensah:
[2:09] Hey, good to be here.

Odysseas Lamtzidis:
[2:10] Hello. Thank you so much for having us.

David Hoffman:
[2:12] So let's kind of just like just set the table for our listeners here and let's talk about the problem that this entire environment that crypto lives in creates for just the safety and security of user funds. And to really get us kicked off here, immutable, instantly settled transactions are a superpower, a nuclear power for finance, incredibly powerful. There's a lot of pent up energy stored in like nuclear power, but also incredibly dangerous if things go wrong. Odysseus, can you just kind of help illustrate why crypto's greatest strength and its most disruptive features are also its greatest weaknesses?

Odysseas Lamtzidis:
[2:48] Yeah, because, you know, the same thing as you said that excites everyone to come on crypto, which is the instant settlement. So once we have a trade, the trade is immutable, right? It happened. And this adds a lot of capital efficiency to the system, right? And also adds the ability for us to not trust each other. We can just settle immediately our trade. But at the same time, If a transaction has a destructive economic outcome, that means that you have immediately contagion, right? You have an isolated incident, like we had a couple of months ago, and immediately this becomes a systemic issue, right? Because all the trades settle immediately and there is no way and no time for anyone to say, hold on guys, like something is off here and maybe we should not allow this asset to continue moving.

David Hoffman:
[3:35] And Kubi, maybe you could also just talk about Gattaca Titan Builder and your guys' position in the blockchain supply chain, because you guys are the ones writing the transactions into the blocks. Just talk about your perspective in the actual supply chain that your position gives you and the ways that immutable transactions kind of impact your life.

Kubi Mensah:
[3:54] Yeah, so our job essentially is to, from one perspective, allocate block space as efficiently as possible and maximize block rewards for validators. And then on the other side, for transaction originators, basically give them best execution, whatever that means for a specific use case. And being in that position basically makes us a sequencer for the blocks that we actually produce.

Kubi Mensah:
[4:20] And specifically, sequencing influenced the outcomes of how a transaction interacts with a specific application. Now, what we have always been super excited about for a while, and really this year has been taking off is something that's called ACE, so application controlled execution. And the sequencers or block builders specifically on Ethereum are in this unique position to allow applications to have not just control over what happens within the VM, and so on the on-chain layer, but actually give them additional control over their own execution. And that can lead to very interesting outcomes. So for example, earlier I just see a prop EMMs launched on Ethereum for the first time. And again, that's just one example of how one specific application by having control over execution can actually lead to better outcome in that case, specifically better spreads. And so we were super excited when Audiusius came to us with this idea of basically adding an additional security layer on top of, you know, what smart contracts do by default by giving the application basically more power over what happens when transactions execute against them. And so that's roughly where we are coming from. And again, super excited and happy to dig into specifics.

David Hoffman:
[5:39] It's also maybe worth highlighting, Kubi, I think this is true, is that if I, the end user, and maybe I'm also an Ethereum staker, if I wanted to get a transaction into the blockchain, my own transaction into the blockchain, I kind of have to route my transaction through a block builder. I don't think any meaningful amount of blocks are added to the Ethereum blockchain that don't come from somebody like Gattaca, somebody like Titan Builder, that is a block builder. Is that true? And so the implication of that, the point that I want to drive home is that when North Korea exploits a vault, they are putting transactions into Ethereum and a block builder takes those transactions and puts it into the chain. In that moment, they don't know it's North Korea. It just looks like a normal transaction and it's their job to execute their transaction to the best of their ability, best execution, as you kind of stated. It's an important position to say that like there is a role here that all transactions go through and that is you the titan builder that's true right there's no way to get a transaction into ethereum with a kind of not without routing around a block builder is that correct yes

Kubi Mensah:
[6:45] So the block builder role specifically is absolutely the path into getting on chain and that can either be an external block builder like ourselves titan and there are many other builders or basically the validator itself when they do block building. So roughly around five to 10% of blocks actually are locally built. So that's called vanilla building. But given the path to the chain is the block itself, you have to go through a block builder, whether that's an external builder like ourselves or the validator, if they build themselves.

David Hoffman:
[7:18] Yeah. Yeah. And that's going to be useful when we come back to like how these circuit breakers actually get implemented.

David Hoffman:
[7:24] I want to turn back to Odysseus and get this question answered, which is, why do we need circuit breakers? Why can't we just write better smart contracts? Like, why can't we just, if our smart contracts keep getting hacked, why can't we just write better ones? Like, is a perfect smart contract possible? What's wrong with this path?

Odysseas Lamtzidis:
[7:43] Actually, very good question. We get that asked a lot. So the simple answer to that, and then I will drive more into it. The simple answer to that is that the execution environment for the Ethereum, was designed and built in 2015, right? And what that means is that, The system developed a lot of emergent attributes, right? As we further built out financial primitives, we increasingly understand that this very constrained environment that we have for the blockchain cannot serve all the needs, right? Not just because it's insecure, like not because you create a bug that code, but also because the execution environment doesn't give you all the tools as a developer to express all the things you care about, right? So the first need is basically that what the market requires of a blockchain to do and what the blockchain can actually do, there is a delta. And this delta is where Filex comes in and leverages the capability we have with application-specific sequencing. And we say, well, we will provide this additional runtime to express more things, such that you can build a financial application that onboards the next trillions of dollars. Right. You know, coming down to AI, I think with, you know, artificial intelligence, it's increasingly hard to ship.

Odysseas Lamtzidis:
[9:06] Bugs in the smart contracts to ship systems where that are incorrect. They do an accounting error or they have a math vulnerability, right? I think it's increasingly harder. But what cannot be solved through better smart contracts is that a lot of times, the smart contract is correct, but the inputs to your smart contract go from correct to incorrect. An example of that is stolen assets. You receive an asset, as you always do. You process it properly. But actually, this asset is from North Korea, right? And the attacker now tries to exchange this asset, this stolen asset, for ETH. And you end up with a trader now having stolen assets. And then you have to deal with that reality, right? So Phylax, what we are really focusing right now is building these tools such that you can manage this, what we call contagion, right? Which is by definition, we assume the smart contract is correct.

David Hoffman:
[10:06] Is this a critique on solidity? Is this the EVM? Is that kind of what you're saying is, well, there's all these possible outcomes that we would like to code for or code against and solidity can only do so much here? Or is the critique here somewhere else in the transaction supply chain?

Odysseas Lamtzidis:
[10:26] I think it makes sense for the core of the system to be very simple. Simplicity is security. simplicity, stability. And you see now, you know, if this was a critique on the EVM, then you wouldn't see all these other chains adopting the EVM. I see. So there is a critical mass.

David Hoffman:
[10:42] There's not a problem with the EVM. That's not what we're talking about with making sure our money stays in the hands that we want it to somewhere else.

Odysseas Lamtzidis:
[10:50] Probably some of the primitives we offer could be offered natively by the EVM and that would be a net improvement on the EVM. On the blockchain architecture, right? And I think that's part of like why it's so interesting. This is a segue to Kubi. It's like we experiment together, right? And we experiment with these new primitives. Prop A-MEMS is one, Phylex is another. And then the best ideas probably will get enshrined into the protocol.

David Hoffman:
[11:21] Let's get into how a circuit breaker works. What is a smart contract circuit breaker, Odysseus? What does it do? How does one write it? How does it get enforced? Let's get into the basics here.

Odysseas Lamtzidis:
[11:30] So it's actually very simple. So you define some extra conditions about what an economic outcome should or should not do with your smart contract. You post that policy, we call it, you post it on a smart contract on chain, on a registry, and then the block builder pulls that. And then it knows that whenever it sees a transaction that interacts with your protocol, not only the transaction has to be valid as always, but also this extra condition needs to hold.

David Hoffman:
[11:58] Okay, so you're writing further rules to a smart contract that the whole entire like Aave, for example, let's use Aave as an example. We write a rule that there's not, an Aave vault should never decrease by 50% inside of one transaction. And there is further code deployed in a smart contract extra to the Aave protocol, but nonetheless on-chain that the Phylax system processes, checks against the policy, as you said, checks against, and then if it's valid, the transactions go through, and if it's invalid, then it doesn't go through. Doesn't that go back to my original question? It's like, well, then aren't we just writing more smart contracts that are better then? Or how is this different from the original question of like, it seems like we're just upgrading our smart contracts?

Odysseas Lamtzidis:
[12:42] Well, the code doesn't run on-chain. You post it on-chain as a fingerprint, but it's actually executed off-chain by Titan, right? Or another block builder. So that allows us to be very creative. We can ship primitives as quickly as our customers need to, to express whatever is important to them.

David Hoffman:
[13:00] Can you go into a little bit more into what is on-chain and what is off-chain?

Odysseas Lamtzidis:
[13:04] The code lives on-chain, but it can't be executed, right? It's just for transparency reasons. There is no other reason. We could have it off-chain and then the builder would privately pull it. But for transparency reasons, because this code affects how the protocol behaves, We want to put it on chain such that the users, which is the end benefactors of what we do, know that these extra conditions also exist. I see.

David Hoffman:
[13:31] So the fact that you put it on chain is actually optional to the functioning of a circuit breaker. But it is in the ethos of, hey, we're in the blockchain industry. We put things on chain. It would be better if we put this more on chain for the transparency and verifiability of everyone. And so why not just put it on chain?

Odysseas Lamtzidis:
[13:50] Exactly. And it doesn't change the security posture. Like if an attacker knows that these checks exist, doesn't give them any signal on how to bypass it.

David Hoffman:
[14:01] And the way that Kubi and Titan Builder comes in is that you need somebody who can be as fast as a block to enforce the rules. And hey, that's what a block builder does. They are writing the blocks. They are the people enforcing the rules and so it's actually titan builders computation that is reading the rules enforcing the rules and and permitting transactions yeah

Kubi Mensah:
[14:26] So one thing to add here as well is that you can have a lot more complexity here in terms of computational resources that are used versus anything you could do on-chain.

Kubi Mensah:
[14:38] The gas costs will just explode for any transaction. If for any transaction interacting with your application, you would have to run all these checks as part of the on-chain computation itself. But given that block builder, generally that's the game, having a lot of computational resources available, churning through transactions, doing simulations. And so generally how it works is if we ever see that a transaction touches state that is registered for, let's say, the file X checks, we execute the state transitions and we also execute the computational assertions or the truth assertions that were specified in this, we call it like a DA layer, you know, the code that lives on chain on Ethereum is basically a DA layer and a source of truth. And then we match them post execution and make sure like the state changes within the rules. And so if that is true, there's something called a marker, we basically create a marker in the block, and that allows these transactions to execute. And if, let's say, any of those rules are violated, we basically either don't include those transactions or we place them in a block that is outside of the bounds of the marker. And that means they will execute, but they'll just fail. And that generally is how it works specifically as part of the block construction process.

David Hoffman:
[16:08] Can we talk about how a rule becomes a rule? So say I'm a client here of this new product. Again, we'll just go with Aave. Say I'm an Aave and I would like a rule to be placed that will use the rules from before. One of my vaults cannot lose 50% of its TVL inside of a single transaction. How do I write that rule? And when I have that piece of that rule, which is now code, so I'm coding that up somehow, maybe that's in the EVM coding language, maybe it's a different coding language, maybe you guys can answer that question. Who do I give that piece of software to? Do I give that to Phylax? Do I give that to Titan Builder? Who stores that piece of software? How is that piece of software stored? Let's go and do the end-to-end of just like how a rule becomes a rule.

Odysseas Lamtzidis:
[16:54] What's interesting is we have a platform that you can interact with the system, but, and we offer like developer experience tools, right? You can backtest the rule versus the historical, you know, the history of your contract to make sure there is no false positives. But in reality, we're not in the mix. So you go directly to the smart contract, the registry, you add this rule, and then the builder picks it up. It's as simple as that, actually. Of course, you know, it's whitelisted for now, you know, of course, there is a trust assumption, but it doesn't have to.

David Hoffman:
[17:25] Oh, interesting. So this is somewhat permissionless. This is somewhat automatic. It doesn't sound like Kube and Titan Builder really have to do anything after they've already opt into this process. That's the only thing that they had to do. So they said like, hey, I like what you're doing over there at Phylax Odysseus. I will opt into these extra rules and do this extra runtime. But me as an application, me as Aave or Maker or DAO, I don't have to go to Titan Builder and be like, hey, can you add this rule to the list? That sounds like that's not what's happening.

Kubi Mensah:
[17:54] Which is the beauty of having the chain itself being the DA, right? Because it's like source of truth. And it works quite smoothly because, again, as we simulate a transaction, it will tell us, oh, it's touching this specific piece of state. That means it has registered for the FileX rules. We know where the registry is. We'll just load up the rules. We assert the rules, make sure they're enforced. And then we place the marker as I said before. And so it works actually quite nicely. And it probably now also makes more sense why the code actually lives on Ethereum directly.

Odysseas Lamtzidis:
[18:32] No, I just wanted to say on that, like, if it was six years ago, we would probably have a DAO. And like everything would be fully decentralized, you know.

David Hoffman:
[18:41] Well, I'm glad we're not doing that. I'm glad whatever's happening today is the way that it's happening. Are the rules written in smart contract language? It's like these are smart contracts being written. And so the code of just like, don't let more than 50% TVL leave in one transaction. That's the same thing as me writing a smart contract. It's just not actually in a smart contract, correct?

Odysseas Lamtzidis:
[19:03] Yeah, we use Solidity as a translation layer because that's what people know. But we add extra precompiles, which gives you the extra function. Functionality. Otherwise, what would be the point, right?

David Hoffman:
[19:14] Say I'm an attacker and I'm trying to drain Aave for more than 50% of its TVL inside of one transaction. And then I notice that like, oh, that is, there's a circuit breaker there. So my transaction is going to fail. If Titan builder receives this transaction, they're just going to fail it. I'll just wait for a different block builder. I'll do a different block builder that's not Titan. You know, Titan's doing one out of every two blocks, that means I'll just wait for the next block and then my transaction will go in. Why doesn't this work?

Kubi Mensah:
[19:45] The default is basically that a transaction won't execute unless this marker is placed into a block and then unlocks. This basically tries to flip around this idea of this cat and mouse game, right? Of, you know, someone finding an exploit and then you racing to fix it or to stop it so the default behavior is like don't allow it unless post state transition the assertion pass passes and for that matter all assertions that are specified and so basically if this marker is not placed into the block the transaction can't execute by default and that sort of creates this this nice safety layer

Odysseas Lamtzidis:
[20:25] And it's up to the protocol, to put this marker, right? Like we don't control that. We can't tell them to do it. It's up to them to decide, to limit themselves.

David Hoffman:
[20:34] Does this mean that what you're saying, Odysseus, is that like, say again, once again, I am Aave. I'm giving Titan Builder the approval, the authority to make state updates to my application. And I'm not giving that same approval to any other builder. So is it, I'm specifically opting in to builders that check these checks. And so any random, the next builder, you know, end builder in the list actually can't make state updates to applications that opt in on these checks.

Odysseas Lamtzidis:
[21:07] Exactly.

David Hoffman:
[21:08] Hmm. Does this violate some notion of Ethereum's commitment to censorship resistance? Because, you know, unstoppable applications, this is the original commitment of Ethereum. This is the original idea. These applications can't be stopped. But now we are giving the authority for applications that opt into this. So it's not enforced across the protocol, but they opt into this. It's like, actually, maybe it's best that Titan does have the ability to censor me for my own good. Are we violating any sort of like CryptoPunk ethos here?

Kubi Mensah:
[21:42] Yeah, so I think my view on this is, and this is feel free to step in as well, next press yours, is every application already has the authority to decide what executes against its state or not, right? So there are a bunch of on-chain contracts that require whitelisting or KYC or whatever. You can build whatever you want into your smart contract logics.

David Hoffman:
[22:05] You can build censorship into your smart contract. Yeah, exactly.

Kubi Mensah:
[22:08] And you're obviously not censoring the chain, but you're limiting it to your application. And every application should be able to decide, you know, how they determine access to whatever they're trying to achieve. And so there's certainly an extension of the trust layer. But then there are also enough mechanisms in place that at any given point in time if an application that has opted in For some reason, things, you know, Titan in this specific case is doing something malicious, is censoring, is not playing by the rule. It can immediately basically opt out. There can also be like time locked or time triggered, like opt out mechanisms that they don't even need to interact with anything. If we haven't placed a marker in a certain time period and, you know, it just gets disabled. There are a few things that applications can do to not be at the whim of, so to speak, the builders that they have opted into for this service.

Odysseas Lamtzidis:
[23:07] I think if anything, this talks about how Ethereum is really censorship resistant, because it allows people to express whatever conditions they want and they have full control over all these things, which in other blockchains are packaged in opaque ways. While in Ethereum, it's a free market in every layer. If Titan misbehaves, a protocol can choose not use Titan. Or if Phylax produces some, Some primitives that the community thinks they're not appropriate. Right. It's a completely open market about everything.

David Hoffman:
[23:40] Gabe Shapiro, who sits at the intersection of smart contract law and real law, he was articulating this idea of fail open versus fail closed. And I think, Kubi, that's kind of what you were talking about, where as an application, I can define that if Titan Builder or any builder goes down, for example, God forbid, that would cause problems across the theorem for other reasons, but whatever. In addition to that, if like Titan stops doing the transaction processing, an application can code it so that it fails open as if like, if X number of blocks, no transaction has been like made, posted to the chain, then remove all the checks and then just open it up and like remove the censorship. And that's possible for that application to code it that way. Alternatively, they could choose to fail closed, as in if Titan Builder doesn't process its transactions, isn't doing its job, it still stays closed, actually, because that's just what the application wants. And so once again, it's actually inside of the control of the application to code it as it sees fit.

Kubi Mensah:
[24:48] Yeah, exactly.

David Hoffman:
[24:50] I don't really see much downside here.

Kubi Mensah:
[24:52] That's what we think.

Odysseas Lamtzidis:
[24:54] Yeah, that's what we think. That's what, yeah.

David Hoffman:
[24:57] What apps or applications or smart contracts on Ethereum do you think really should adopt this technology first? The growth of crypto has been constrained for a variety of reasons. And one of them, perhaps the biggest reason, is smart contract exploits. People stealing their funds inside of immutable smart contracts. How should we, Now that we have a solution here, if the solution is indeed as good as it's advertised, where should we start in DeFi? So what applications, what types of applications really need to think about the value of this product first? Odysseus, I'll throw this one to you.

Odysseas Lamtzidis:
[25:33] I think there's two interesting, three interesting verticals. Like one is if you have a lot of TVL. So you are a big target for attackers. That's definitely something you have to consider. The second is if you have a lot of complexity in your protocol, that means there's more surfaces for things to go wrong. Complexity could be either because your accounting logic is complicated or because you have a lot of, you know, admin functionalities and like levers that need to be pulled in order for the protocol to work. And the other, I think, something we're seeing now is, as you have regulated, institutional players coming on chain, they can't afford to lose money. You know, 10 million, like $1 North Korea. Like if they do that.

Odysseas Lamtzidis:
[26:23] They get sued and someone goes to jail. So like if, you know, to onboard this kind of people and this kind of players, they need to have these layers of redundancy because otherwise, you know, if in this financial institution, they, you know, they think about participating in a blockchain project to put capital or, you know, use it for lending. If there is the probability that they will have to handle North Korean money, because they receive it, then they'll just not do it because their compliance department will say, we can't, we're not doing that. We're like, you know, we have a century of trust on our backs and, you know, billions of dollars of equity value. Like we just can't risk that. So I think for these players, it's not like, it's not you choose either between MakerDAO, fully decentralized Cyberpunk bank or full dystopia, actually the choice is like these players will not, will just not use crypto, and then we'll go to upgrading their COBOL systems or use private blockchains. It's as simple as that. They'll just not use Ethereum.

David Hoffman:
[27:30] What about, what about other types of smart contracts? Smart contracts is kind of the addressable market here. Any smart contract that holds money, which is like all of them?

Odysseas Lamtzidis:
[27:41] Or holds power. like a safe that has an absolute.

David Hoffman:
[27:44] Functionality which is the rest of them yeah

Odysseas Lamtzidis:
[27:47] Exactly.

David Hoffman:
[27:48] Hmm. Can you talk about, Odysseus, what types of partners you've been working with so far and what kinds of rules they have written to protect their smart contracts?

Odysseas Lamtzidis:
[27:59] Yeah, so we've been super excited about working with Lighter and Derive. They're both ZKVM's venues, exchanges. They're huge in their respective market. And the use case we keep seeing is, admin controls for your upgrade functionality because that's a very clear way for someone to drain you. And also circuit breakers, which means that within a rolling window, within a certain amount of time, not more than X amount of capital should be able to exit the system, which is brilliant because no matter what's the failure scenario, no matter if it's an Oracle failing, admin controls, accounting error, risk engine, everything will result to someone exiting the system to keep the process.

David Hoffman:
[28:46] I see. And so both LiDAR and Derive, these are both layer twos on Ethereum. So these aren't layer one smart contracts. They are layer twos. The bridge. The bridge. The bridge is a layer one smart contract. And so the circuit breaker wraps around the bridge. And if anyone tries to exit with capital, it pops the circuit breaker. And so you're not interfering. You're not in the mix of LiDAR's execution on this layer two. LiDAR is still LiDAR on this layer two. The circuit breaker product just wraps around the bridge and it elegantly protects the bridge.

Odysseas Lamtzidis:
[29:18] Yeah, exactly. Because they're onboarding you know, I think Derive was now onboarding a lot of real WAs. RWAs, they have more and more institutional clients and, When you do that, you need multiple layers of defense, right?

David Hoffman:
[29:33] So you talked about the most common circuit breaker to write is the example we've been using. So X percent of capital doesn't leave the system inside of one block, which is good, as you said, because it covers everything universally. It's like universal coverage by the nature of the rule. It's also blunt. And so, like I say, the rule is maybe we even constrict it even further than the example we've been using so far. so I've been saying 50%, maybe 50% of capital can't leave in a single transaction. Maybe we even go down to 10% so we get even more constricted. You're still losing 10% of your capital, which is still bad, way better than 100%, but you're still losing 10%. So like how precise, how high fidelity can we write these rules? And I guess maybe that's just a function of how many people use this system and kind of contribute to a library of rules. How precise can we really get here?

Odysseas Lamtzidis:
[30:28] Actually, it's super precise because we can get very precise because even with a simple use case, and this is where Phylax comes in. So we give, for example, the ability to inspect why a transaction was not added in the block and maybe you want to bypass it so you can allow it to go through. So this is like the secondary tooling that we offer that allows the protocol to have this coordination with the block builder and say, actually, this is good. You should allow it. Right and this can happen very fast such that the business operations are not impacted.

David Hoffman:
[31:00] So given enough time i think the idea is that we can approach some level of like perfectness in terms of the level of circuits being written we can't write perfect smart contracts but with enough time you know with enough you know developers all working with these circuit breakers we can approach perfect circuit breakers if we can't have perfect smart contracts maybe we can get perfect circuit breakers?

Odysseas Lamtzidis:
[31:25] Actually, we've developed in beta an anomaly detection algorithm, which is fast enough, for Titan to be able to run the inference during block construction, which also adds to, if a protocol wants to use it, it will lower the probability of you hitting the circuit breaker. So you layer all these defenses, right? And the circuit breaker is the, You know, I don't want to die as a business.

David Hoffman:
[31:50] Basically. And also because there's no gatekeeper here for the circuit breakers. The system is online on Ethereum. Like we said earlier, you don't have to ask KUBI permission to put a new circuit breaker into the code. A team can update their circuit breakers as needed on an as needed on even a block by block basis. They can rewrite their circuit breakers as quickly as they want.

Odysseas Lamtzidis:
[32:13] Yeah, I think that was what could be really liked about the system.

David Hoffman:
[32:18] Is that no one has to come ping him on Telegram.

Odysseas Lamtzidis:
[32:21] Yeah, and then they can update.

David Hoffman:
[32:25] Can we talk about a centralized exchange hack as an example here? So we recently had the Binance hack. Before that, we had the Bybit hack. And then, I don't know, we can keep going. I can start talking about all the other centralized exchange hacks that have happened in crypto. Could FileX offer a solution here? Could circuit breakers be used in this case?

Odysseas Lamtzidis:
[32:43] Yeah, so in two ways. So one, you could add all these policies at the wallet level as a, you know, basically a smart contract wallet. And this is what we call last mile defense. So even if your entire signing infrastructure gets infiltrated, as it did, when you have $5 billion, you want redundancies. But also on the receiving side, you could add this system so that you don't accept stolen assets. Because if there is not an easy way for someone to, you know, even if they get 2 billion USDC or USDT, if there is not a simple way to translate that into ETH, then maybe they don't even do the attack in the first place.

David Hoffman:
[33:25] Kubi, does this impact the economics of block building in any particular way? Like, is there an incentive for Titan to do this? Are you guys being like, do you guys get better block execution or is this just like, hey, it would be better for Ethereum if this was in existence, then more people will make more transactions. That's my business model. What's the incentive for a block builder here?

Kubi Mensah:
[33:47] Yeah, so there's certainly computational overhead because we need to run these additional assertions and computational checks. And so we actually work quite a bit with Odysseus to make sure we can get it to a state that from a latency perspective is within a realm that doesn't actually impact like the, let's say, the bread and butter block building business. And once we got there, we did both the simulations and the production tests. And we are super happy with the outcome. And so far, it's looking really good. Then in terms of the actual incentives, there's a commercial incentives here as well. And as I said at the beginning of the pod we generally are always super excited about value add services that we can provide as a sequencer or as a block builder especially things that sort of grow the pie and are beyond what already is possible today and this was an exact such use case and we have basically a commercial agreement that's based on the application that's opt-in and some of the fees that they paid to Filex we also get a small share of that.

David Hoffman:
[34:54] Okay, so like clients come to Phylax saying, hey, I really value circuit breakers. I will pay you for your service. And you guys have like a revenue share agreement.

Kubi Mensah:
[35:01] Yes, exactly.

David Hoffman:
[35:03] Seems, seems, seems great. Seems appropriate.

Odysseas Lamtzidis:
[35:08] Yeah. And that's the beauty of Ethereum. You have market structures everywhere, right? Like blockchain offers some things, the market needs something else, but there is a market structure where FileX was like, we're going to build this. And then there was another market structure where we say, hey, do you want to get some money? And you're going to use this. And then the customers on Ethereum, the users will benefit. And I think that's like the competitive advantage of Ethereum. There is not a blockchain where you can innovate in this way.

David Hoffman:
[35:37] And the reason for that is because of why, Odysseus? Because just Ethereum's blockchain supply chain is just like discernible, accessible in ways that other chains aren't?

Odysseas Lamtzidis:
[35:47] It's more, and, you know, Kubi obviously has here a better view, but in my view is it's a more developed market. As simple as that. We took this supply chain, we broke it into layers, and we created a market on every layer. And the market participants can freely compete for the better solution. So you have a market to choose from on every layer instead of this being a bundled service or component that is a bacon. Is offered to you.

David Hoffman:
[36:16] I see what you're saying. When you're saying we here, you're saying we, Ethereum, Ethereum, the we, has broken down the supply chain of a transaction going into a block into like discrete, narrow services that all talk to each other. This is proposal builder separation. This is like RPC nodes. This is wallets. These are all kind of segregated in their duties. And I think that's why I was using the word like discernible. Like the Ethereum blockchain supply chain is the most transparent supply chain out of any smart contract system. And that allows you as a security startup to come into this market, know who to talk to, know how to inject your code into the correct layer to create the service. And I think things on Solana or any other, especially the high throughput layer ones, which really required bundling all of these same services under the same roof into these big black boxes, you wouldn't have the same ability to penetrate into the market with a new value-added service because Gito on Solana has integrated Lido and block building and MEV transaction ordering into one big black box. And so I would imagine going and taking the same service to Solana would just be a lot more difficult. This is my intuition. Is that correct?

Odysseas Lamtzidis:
[37:35] I would say actually, yes. But probably Solana is the second most developed.

David Hoffman:
[37:40] Sure, sure.

Kubi Mensah:
[37:41] Yeah, I think maybe the one point that it is just made that I want to reiterate was You have a competitive market where the incentive is such that you need to differentiate yourself and you're not just enshrined because of a relationship or something else. But you really, so as a block builder, you really have to fight every day to stay relevant as a block builder. And you are incentivized to do whatever necessary to create value-added services so that you can differentiate yourself. And so it's the fact that you're creating something new that maybe unlocks more value for players in the ecosystem that then allows you to differentiate yourself and that like gives you more of an edge versus just having a relationship or being enshrined for some other reason. So I think that's one of the points this year's risk making, which I wanted to highlight.

David Hoffman:
[38:34] I see. Yeah, the cutthroat capitalism of the Ethereum blockchain supply chain is ruthless and allows for a lot of competition to enter the market.

Kubi Mensah:
[38:43] Exactly.

Odysseas Lamtzidis:
[38:45] Well, as we know it. Innovates, not only because of the EF or like three people, but also because of, you know, Kubi and me and, you know, Blink and other like players in this, right? Because it has all these people innovating and being able to capture and offer value. And that's the competitive advantage. That's how we win, I think, as an ecosystem.

David Hoffman:
[39:07] Well, Odysseus, who do you want to hear from? I mean, I'm a podcaster, but I'm compelled. It would be pretty cool to hear application developers be compelled by this as well. People listening to this podcast, how can they reach out to you? And what types of application developers you really want to talk to first?

Odysseas Lamtzidis:
[39:24] Twitter and Telegram, we're always online 24-7. That's also part of the security profession. You're always online. Yeah, anyone who's protecting a lot of value and they want to sleep better at night, We're happy to help them do that. I went through a hack, so I empathize in a lot of ways.

David Hoffman:
[39:47] This is how you're getting over your own trauma by stopping everyone else's hacks.

Odysseas Lamtzidis:
[39:53] Basically, that events are.

David Hoffman:
[39:57] Kubi, Odysseus, thanks for coming on the show. This has been, I think, one of the most interesting and required, like needed developments in the smart contract security space. I think in the future, we're going to look back at all the times that we were writing smart contracts, raw smart contracts, unprotected smart contracts right into the blockchain and be like, wow, I can't believe we did that. It feels like we should have had this solution a long time ago, but at least we have this solution here today. So I hope the adoption of circuit breakers just happens very, very quickly. And maybe that's what we need to kind of resume the up-only march of adoption in DeFi. So thank you for building the product. Thank you for getting it out there. If any listeners are wanting to learn more, Odysseus, he's always online. He does want to get your Telegram pings. So we'll get his Twitter into the show notes. Odysseus Kubi, thanks for coming on the show.

Kubi Mensah:
[40:48] Thanks, David.

Odysseas Lamtzidis:
[40:48] Thank you so much.

David Hoffman:
[40:49] Bankless Nation, you know the deal, Well, crypto is risky, but hopefully with circuit breakers, we can make it a little bit less risky. This is a frontier. It's not for everyone, but we're glad you're with us on the bankless journey. Thanks a lot.

David Hoffman

1519 posts

Co-owner at Bankless. Optimistic storyteller of frontier technology.

No Responses