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

How NEAR Is Preparing for a Post-Quantum World | Illia Polosukhin

NEAR co-founder Illia Polosukhin joins David Hoffman to break down NEAR’s post-quantum roadmap, Bitcoin’s growing quantum risk, and Ethereum’s migration challenges. They explore how AI is accelerating cryptographic breakthroughs and why adaptability may determine which blockchains survive the quantum era.

Up next

All episodes

Inside the episode

TRANSCRIPT

Illia Polosukhin:

[0:04] Bankless Nation, it's the Friday of a very long week. We've got Illia, co-founder of NIR, on the show.

David Hoffman:

[0:11] As we are watching Bitcoin drop below $50,000 on the charts, it just dropped below $48,000 actually, $49,000 if you zoom in a little bit. And I think this is really just the market waking up, waking up to quantum. This has been a slow crescendoing issue starting around two years ago when I think everyone in the crypto industry realized that quantum is not a long-term threat. It's now firmly a medium-term threat. But that was two years ago. So in two years, a medium-term threat has turned into a short-term threat. And all of a sudden, the market has started to price in the very hastening arrival of apparently a quantum computer along with other AI-enabled mathematical breakthroughs. Usually, in a big crypto bear market, You know, Bitcoin drops 10%, 15%, and the rest of the market drops 20%, 40%, 50%. This time, it's the opposite. There are a few coins flipping the script here. Zcash is up very big on the week. And then also NIR, NIR looking good on the week. Looking good on the week. While Bitcoin is dropping, some coins are showing strength. And that's exactly what I want to get Ilya on the episode today to talk about NIR's plan for getting over the quantum hurdle. Illia, welcome back to Bankless.

Illia Polosukhin:

[1:28] Thanks for having me.

David Hoffman:

[1:30] Ilya, can we talk about all of the ways in which NIR has exposure, like risk, vulnerability to quantum today? What is left for NIR to do to harden itself against quantum?

Illia Polosukhin:

[1:47] For sure, yeah. So there are obviously, you know, cryptography is all over the place in NIR blockchain. And in July, we launched the kind of first step, which was supporting the MLDSA. This is the kind of NIST-approved lattice-based post-quantum cryptography. We launched it as a option to use in your accounts, to hold your accounts with the keys that are post-quantum. So the thought was we wanted to get ahead of it, give everyone an option to start migrating. And by everyone, I mean users, but also all the software ecosystem that exists around blockchain. Right. I was actually just checking Fireblocks, for example, was testing it in October. You know, we have some banks, we have some kind of other entities been testing it. And effectively, it gave an opportunity for everyone to start figuring out how they're going to hold post-quantum crypto in the first place. And then there's a whole plan we have on support in the consensus itself, as well as in our multi-party computation, the chain signatures technology that is used for near and dense and kind of other use cases.

David Hoffman:

[3:03] Before you go on, I want to just double click on something. The NIST MLDSA lattice-based signature. Now, this is not the same part of lattice-based cryptography that Anthropic announced a potential theoretical break this Monday, right? That's correct, right?

Illia Polosukhin:

[3:21] So what Anthropic announced is that they have an algorithm that requires 10 to 300, right? So this is, there is 10 to 80, to the power of 80 items in the universe. So they have an algorithm that requires 10 to the power of 300 of effectively quantum computing to actually recover the lattice key. So it is lattice-based, like they are attacking lattice-based, but this algorithm is extremely, extremely, like it's effectively as unrealistic as we usually have it in elliptic curves, right? You have like, what, 128 bits of security.

David Hoffman:

[4:04] The way I understood it was that there are different subgroups of lattice-based cryptography, and the announcement from Anthropic was pointed towards one of the subgroups, but not other subgroups.

Illia Polosukhin:

[4:15] That's also correct. But generally, the fact that they found something, again, the point is, it's not even like, hey, this is cool. It's not like, hey, we can build a supercomputer to do something here. It's like, hey, look, they're going to be never in universe an ability to do something with this algorithm.

David Hoffman:

[4:32] I see.

Illia Polosukhin:

[4:33] Right. But obviously, you know, they use a very like hyperbolic way of explaining this, right? And kind of use just like weird, you know, cabal release that everybody was speculating. It's a very entropic way to do things, right? They're like, every model they release, they also like, by the way, 10% chance it's going to kill you. And then, you know, six months later, like, oh, we have actually another model that, you know, 10% chance. It's like, what happened to the previous model?

Illia Polosukhin:

[5:04] Or like oh we tested this model and it's like you know 30 cases it blackmailed the user and like okay, how many times you ran it like well we ran it you know 100,000 times and we asked it if it blackmails the user and it did so like I think like there's a little bit of on the iLab side kind of a.

Illia Polosukhin:

[5:24] They use it as a marketing tool, like Doom as a marketing tool, right, to kind of get attention. And so this felt very much similar. But to be clear, like, you know, we are living in a world where the cryptography, the math, everything is moving really quickly.

Illia Polosukhin:

[5:41] And so kind of one of the aspects we, and I just actually put a blog post about this called About Durability, is that I think the world is moving away from kind of the sense that, like that we're kind of how the Bitcoin was approached up until now, which is like, hey, look, there's all this chain. It has the most eyes on it. It has the most kind of bell testing and hence it's most secure. And I think we're moving in a world which is the most secure, the most durable chain is actually the most adaptable one. Like it's like you're living in a kind of active kind of volcano world and you need to like adapt to the environment constantly. And so that's really what NIR has been built for, right? So I was kind of mentioning before, but the reason why we were able to add, the post-quantum cryptography so quickly and kind of easily is because back in 2018, when we were designing original Nier and Nier account model, I actually had a conversation with.

Illia Polosukhin:

[6:49] Quantum computing lead at Google a year before. And I mean, he was obviously pretty optimistic that, you know, within five years, they will be able to do, you know, major breakthroughs. And so we were thinking about it like, okay, well, you know, when quantum computers will come in 2018, What are we going to do? And so we designed this cryptography as effectively an optional, like a plug-in system. And so we, from launch, supported both EC-DSA and ED-DSA, so Adverson Curve.

Illia Polosukhin:

[7:21] And what Bitcoin supports. So you already had two options. And then when effectively NIST standardized ML-DSA and it was clear, like, okay, this is starting to happen, we added it. And it was a pretty straightforward process. And importantly for the users, you can just, with one click, move your keys or add the key. Why is this important is because you're staking, you have, you know, lending positions, you have perps, you have like, you have all of those different actions happening. And so if you need to move your account, which is what all other chains, even when they do add it, will require, because they binded cryptography into the account IDs and everywhere across. Like you will need to unroll all your positions what if you have a soulbound token what if you have an you know nft that like doesn't have a ui anymore or whatever right, oh smart contract doesn't have ui anymore so importantly on near like very uniquely you can actually just rotate the keys you can add a key right now so maybe you don't want to remove your elliptic key, yet you can actually just add mldsa key and so i i tweeted yesterday in meteor wallet it's literally one click you know Go settings, add key, create an LDSI key.

Illia Polosukhin:

[8:36] That's kind of the story up to now. Now, we are also working, I mean, we posted this, I think, in summer with the security roadmap. We are actually accelerating it, and the team is working hard to accelerate, to get to what we call hybrid consensus. So we're going to have post-quantum checkpoints. And so let's say ellipticals do get broken. You only roll back up to maybe a few minutes back in the worst case. We don't expect that, but, you know, this gives like a pretty kind of good guarantees right now. And again, everybody can move to the post-quantum key. And then actually the hardest part is the fact that NeoIntense is, you know, transacting with 40 chains. And most of those chains, you know, outside of Qantas are not post-quantum secure. And so that's actually one of the challenges to deal with on our side. I was like, how do we secure others?

Illia Polosukhin:

[9:35] We just published also a recovery plan for other chains. So for users who, you know, want to be secure, we suggest a way where they checkpoint on Nier their effectively post-quantum keys linked to their identities on other chains. And so if you do that, if there is actual breakages over the chains, there can be a social consensus to recover from this effectively registry for the other chains. So this would enable, again, kind of disaster recovery mode where we will support, effectively any cryptography there that people want for disaster recovery. So we are effectively trying to maximize post-quantum security, disaster recovery, and durability across the whole stack.

David Hoffman:

[10:24] Yeah, you've given me a roadmap for the conversation that I want to kind of go dive down into each one of those lanes just to kind of ground the listener. The three lanes that Ilya pointed out just now is post-quantum for your near wallet, the signature scheme for your near wallet and updating the signature so that your wallet is safe. That's lane one. I want to dive into a little bit more on that because I think there's some really useful things to pull out there. Lane two is getting near consensus post-quantum. So updating the signatures so that the blockchain can keep on, you know, tick tock next block. And so that is post-quantum. And then third, which is kind of the unique thing is post-quantum for NIR's surrounding ecosystem with NIR intents. So kind of like the oxygen masks have come down, NIR is putting it first on, it's putting the oxygen mask over your wallet, then it's putting the oxygen mask over its own consensus. And then it's like, okay, there are some other systems that maybe they need their oxygen mask for them as well in that particular order.

David Hoffman:

[11:28] And so just to trace over what you said, the signature scheme MLDSA, that was already implemented in earlier this year. We had you on the show to talk about that. And that allows users to use a new signature scheme on their existing wallet. Do they have to make a transaction to enable that new signature scheme? It's not just like, you know, there's not an upgrade, a passive upgrade while you sleep kind of upgrade. Users actually have to take an action and make a transaction to make that live, correct?

Illia Polosukhin:

[11:58] Correct. Yes. Yeah. So that's why, again, that's why we were trying to make this as early as possible and broadcast it everywhere because users need to make an action, which means they're, or at least their, whatever software tooling they use. But yes, there needs to be some transaction to do that.

David Hoffman:

[12:15] And that's notable because I know Ethereum is also trying to come to consensus around what it wants to do with this. And one of the problems that I was worried about with Ethereum is like, oh, there's so much TVL and DeFi. There are Uniswap LP positions. What about how are we going to move all these assets around if we are trying to go from old wallets to new wallets? And so, you know, Ethereum is still trying to figure that out. One possible route for Ethereum at the very least is something similar, like they just make a transaction to upgrade the software, it's like a software upgrade transaction. They haven't actually come to a consensus on that part yet, but TBD, they'll figure it out. NIR did the thing where you could just make a transaction and your wallet is now upgraded to this MLDSA new signature scheme, which is post-quantum. And I think this is true, Ilya, but NIR is the only blockchain that I'm aware of where on wallets that enable this, there's a dropdown menu and you can pick your signature scheme?

Illia Polosukhin:

[13:18] As far as I'm aware, yes. I mean, there is few chains that are explicitly post-quantum like Qantas. And I think Algorand supports also, but I haven't seen that experience. But yes, we're, I think, the easiest. And again, importantly, you can do it with your existing account, with all your positions, with all your things. and it's just adding the key to the account. And I actually think, I mean, Ethereum is in a very complicated situation because they either need to migrate their account model to be closer how near it's structured, where you have kind of keys detached from the account. But the account ID, like your address on Ethereum, is a hash of your public key. And so if they change cryptography, right, now it doesn't match. And so now your address will be just a random thing that you now need to remember on top of your key, right? Like right now, if you have a private key, you can derive your, your public key, then you can derive your address. Let's say now they do switch to some post-quantum cryptography, that public key will have nothing to do with your existing accounts, right? It will map to some new account. Oh. And so for your existing account, like either you need to effectively now move everything from your existing account that is with, Sycoped Curve, right, to your post-quantum account derived from post-quantum key, or they need to turn their existing account to be derived.

Illia Polosukhin:

[14:45] From, I mean, not derived, but controlled by a post-quantum key, but then it's like you literally need to remember your address or you will never be like, right? And so that's like only one of the issues, right? There's also a lot of issues just like on how the Ethereum internally works, right? Because that mapping is hard-coded everywhere, right? Like whenever you receive a transaction, there's no publicly attached on the transaction data. So the only way Ethereum client knows who this transaction is from is by deriving it from the signature. Again, that is not possible to do with post-quantum cryptography. And so you need to change transaction data format. And so all of the things that need to be changed. And again, on Nier, we designed for all of this from the start, from 2018. So this is why it was super easy to do. And I'm talking Ethereum, but this is true about effectively most of the network.

David Hoffman:

[15:41] Right. Most of the networks that don't have this like modular wallet set up like NEAR has. Does this mean that, you know, say we get over Q-Day, like Q-Day comes and there's a quantum computer up and running and, you know, doing shenanigans across the Internet. Will NEAR have to deprecate the older transaction types so that they are no longer valid to sign transactions?

Illia Polosukhin:

[16:03] Yeah, so, and again, it's super straightforward. We just disable that specific curve as a valid curve on the transaction verification.

David Hoffman:

[16:09] So there's just a hard fork that happens. And then, you know, it just says like, hey, past this point, the NIR blockchain will never accept an EDCSA signature.

Illia Polosukhin:

[16:17] Correct, yeah. And that's why, ideally, yeah, by that time, we definitely want everyone to migrate to post-quantum. And so, obviously, like, the idea is to ramp up the usage as more tooling gets kind of mature, right? So that's why we released it, we kind of talked about it, but mostly the work was to get the wallets and the ledger and custodians to start adopting it because they are the ones who are actually going to facilitate for the users. And then kind of from there, you can ramp up kind of the move.

Illia Polosukhin:

[16:50] The other kind of side of this is if you are using Nier.com, which now went fully confidential, meaning your account is confidential, your balance is confidential, your transactions are confidential. It also means your public key is not seen anywhere. And so there's also nothing to reverse for quantum computer. So part of this privacy, I mean, this is also Zcash's kind of point, is if you have privacy, you are also kind of benefiting from post-quantum here.

David Hoffman:

[17:22] I see, I see.

Illia Polosukhin:

[17:24] But it's also not just post-quandom, it's like kind of AI protected in a way, right? Because like you don't even broadcast.

David Hoffman:

[17:30] The whole PQAI complex.

Illia Polosukhin:

[17:32] Now, there's caveats, right? There's you still need to use encryption on internet. And if that gets broken, things are still very problematic. And I think that's really like, I mean, we talk a lot of Bitcoin, Ethereum, et cetera, but the main challenge is like, what is the cryptography we use for encrypting traffic on internet? And will it be able to be decrypted? Will it be able to be kind of whatever? Like the certificates can be replaced, et cetera. And so that is where, I mean, at least as of now, there's no reasons to kind of, challenge that, but that was when Entropic was kind of like, let's just say, mudding the water. That was where everybody was kind of freaking out.

David Hoffman:

[18:20] Yeah. It sounds like just a huge social coordination hurdle because the Nier protocol can do everything that it needs to do to enable its users to get over the quantum hurdle, but still nonetheless, the users have to actually get over it. They have to jump themselves. Is there something, is there some like website or metric that we can make like X percent of user wallets have made a post-quantum transaction, have like done the software updates? Is that information that's knowable in advance? Or do we, are we not able to actually know how many wallets are post-quantum or not on the NIR protocol?

Illia Polosukhin:

[18:59] We actually can do this. Yeah, we haven't built a dashboard. I think some analysts have looked at it. I saw it on Twitter. It was a pretty small number at least like a week ago or a few weeks ago. But I think it's a good idea to actually create like a public dashboard that everybody can really.

David Hoffman:

[19:17] Yeah, because this is like a whole, at some point, all the smart cryptographer, you know, protocol specialists can only do so much, right? Once the protocol is upgraded, that's all you can do. You need all the users to do something as well. And that takes a whole, like, I guess it's their loss if they don't do anything, but still, it's kind of like a bad look for the industry. It takes a little bit of, like, social coordination.

Illia Polosukhin:

[19:42] This is a great idea. We'll make, yeah, the graph, and, like, show how much, I mean, effectively how much money and accounts are, those quantum states.

David Hoffman:

[19:57] Right. Okay. Okay, let's move on from Wallace. That's the first swim lane. Let's go into the second swim lane, which is consensus. So quantum safe consensus. Is that a big challenge? What does that take? What does that look like? What's the timeline on that?

Illia Polosukhin:

[20:12] Yeah. So again, implementation wise, it's actually pretty straightforward because, similarly how an account level, we made it an option for cryptography, we made it on a consensus level. We actually, like back when I was, I mean, I was still doing day-to-day engineering. I've added BLS signatures as an option and we were testing it and it was too slow and we removed it. So like we could like literally roll it in, roll it out within like a few days. The challenge right now with consensus is performance. The current kind of cryptography that's available and kind of standardized is too slow for even our current 600 millisecond blocks. And we're actually targeting 200 milliseconds in Q1 kind of next year. And so if you have hundreds of validators and you need to verify all their signatures and they need to sign all of this within a few hundred milliseconds, that's pretty hard to do if the signatures are larger and the.

Illia Polosukhin:

[21:16] Verification times are larger now uh there is different kind of modifications that people are working on to make kind of different trade-offs on performance um of this, the interesting thing compared to your.

Illia Polosukhin:

[21:33] The wallet you're controlling the key uh with your money right that needs to survive you know for decades and and longer, the validators are constantly online and need to and signing and they're like kind of getting reelected every epoch, which is like 12 hours in our case. And so you can actually do a lot more interesting things where you effectively like rotate keys every 12 hours. So like the security kind of of this can be a little bit lower relatively to get better performance. And so the team has really been working on kind of finding the right trade-off. Now, given, you know, all of the current things that are happening, we decided to accelerate this part a bit and so the idea is to have effectively quantum post quantum checkpointing which is uh use post quantum key now and checkpoint every say thousand blocks, such that even if there is some issues with elliptic curves there's only like effectively the you know the last tail of the blockchain that is exposed everything else kind of is checkpointed by the post-quantum key. So then you remove this kind of challenge of performance because, you know, you're doing it like only one thousandth of times.

Illia Polosukhin:

[22:48] So it can be slower and larger and kind of adding this additional parameter. But this we can add, you know, relatively quickly. And so this is kind of something we are working on already right now.

David Hoffman:

[23:03] Can you just educate me about what would happen if NIR or any blockchain never really upgraded consensus in the quantum term? So what does a Q-Day attack on the consensus of a blockchain actually look like? Is it able to just go all the way back in time and rewrite the entire blockchain? What does the actual cost, what does the actual attack vector look like?

Illia Polosukhin:

[23:28] Yeah, so for proof-of-stake blockchains specifically, you can indeed go and derive keys for any validator set at some point in history, right? It can be anything. But, I mean, there's a lot of protections against, like, long-range attacks, so I wouldn't worry about that. But what they would do is get the current set, kind of recover their keys, and then sign an alternative block. An alternative block, which says, you know, send me all the money.

David Hoffman:

[24:01] Right? Oh, they pick the keys.

Illia Polosukhin:

[24:02] You can double spend.

David Hoffman:

[24:04] I see. It's not like the order of the blocks are really jumbled. It's that the validator's keys are compromised and then the quantum entity has those keys.

Illia Polosukhin:

[24:17] Yeah, so they can sign completely malicious blocks, which are, for example, then they go to any exchange and show them the malicious block saying whatever. Right. Like, I send the money to exchange and then the real blockchain doesn't have that transaction, exchange things, they got deposit, allow them to withdraw. And so, I mean, one of the important things, I use this analogy is like the vectors of attack is always the external to blockchain, right? Right. I mean, in this case, things are getting a lot more confusing because, if there is effectively compromised validators, one way or another, right, you can do a lot more damage to the chain. But obviously you cannot like to sign the, I mean, if also the user accounts, were not rotated, then things are completely broken.

David Hoffman:

[25:12] Right.

Illia Polosukhin:

[25:14] But anyway, in this case, yeah, you can effectively attack exchanges with fake blocks. And I mean, this is all the usual double spend issues, but it's way worse because the proof of work here is just recovering, let's say, for whatever, 100 validators, 100 keys on a quantum computer, right? So this will be a proof of work to do, like, double spend.

David Hoffman:

[25:37] Right, right. Okay, so that is pretty consequential. That is as consequential as...

Illia Polosukhin:

[25:43] Yeah, I mean, at that point, the blockchain is broken completely, yeah. And, like, there's no good... I mean, you'll need to, like, restart it from scratch with new validator set, post-quantum cryptography, like, all of that will need to be redone.

David Hoffman:

[25:55] Right. Sounds bad. Okay, so what you said about... There's the post-quantum signatures are chunky, they're beefy, they're slower, near is at 600 millisecond block times, it wants to get down to 200 second millisecond block times. Implementing post-quantum signatures makes that way harder. But we have some amount of time to really tinker with and select the best post-quantum signature. And so because it's not urgent, as in we have months of time, six months of time before Q-Day even comes near, is taking its time to really optimize and make better performance on its selection with post-quantum consensus because we feel comfortable with that amount of time and we're not like Bitcoiners in that we have to come to this weird emergent consensus. We can actually just choose it and implement it and ship it. And so we are going to use the time that we have at our disposal to choose the best signatures and implement it when the time feels right. Is that the right summary?

Illia Polosukhin:

[26:58] So yeah, I think compared to where users need to take action, here when we upgrade the consensus, you need validators to upgrade the nodes. And we're already doing this. Like every six weeks, Nier releases a new version of protocol. And so validators are already doing this. Like this is a constant upgrade now. They need to generate new post-quantum keys, but like I'm assuming everyone who's running proof-of-stake validators realizes this is where things are going. And so this is like a lot easier coordination problem than trying to get, you know, 100 million accounts on near to rotate keys. So that's why there's more time. At the same time, as I said, like we're actually going to accelerate that from the roadmap you're sharing, to get this like checkpointing rolled out earlier.

David Hoffman:

[27:44] So before the upgrade, there's a backstop in place anyways.

Illia Polosukhin:

[27:48] Correct, yeah. So as we just discussed, if something gets broken, even if they get everybody's elliptic curve keys, they cannot do any damage past the checkpoint. And then the checkpoint, effectively, any exchange or whatever can just switch to verify checkpoints, and then it's fine. And this gives enough time, emergency, to upgrade and do everything. So it's just like, in effect, it would slow down. Like if everything breaks, it would just slow down NIR instead of completely breaking it.

David Hoffman:

[28:22] Okay, that's the second swim lane. We've gotten through the first, we've gotten through the second. Individual wallet signatures and now blockchain consensus. But NIR has this extra third thing with NIR Intense because NIR wants to connect all the blockchains. A lot of blockchains are connected to NIR Intense. Even some of the newer blockchains coming online are getting their liquidity through NIR Intense first and foremost. One of the interesting things I saw yesterday, yesterday near intent volume was just absolutely insane. Almost $500 million of volume across near intents. A lot of Bitcoin volume, $100 million of Bitcoin volume. And then the next most, the most highest volume was USDT and USDC and then Zcash. So you could imagine there was a lot of Bitcoin selling using Near Intense for dollars and then also Zcash. What additional complication does this add to the whole Near post-quantum initiative due to Near Intense? How does this just complicate the story for you?

Illia Polosukhin:

[29:22] Yeah, so there's kind of pros and cons of this. The pro is, and we recommend everyone, just deposit all the crypto to NIR, including a Bitcoin, Ethereum, etc. And instead of worrying what's going to happen to Bitcoin, And effectively, you moved it to the near kind of ecosystem, like development teams need to figure this out. Right. So you kind of like don't need to monitor this. The near kind of intense and like chain signatures and protocol team will be will be monitoring and figuring it out for you. So that's kind of the...

David Hoffman:

[30:01] Saying how that works, like say I own self-custody Bitcoin on the Bitcoin blockchain and I'm like looking at the Bitcoin developers not doing anything and I'm like, well, now I don't feel great about my self-custody Bitcoin because there's not progress here. So let me deposit my self-custody Bitcoin to the Bitcoin address that the near intense protocol operates and that makes it post-quantum?

Illia Polosukhin:

[30:23] It does not make it post-quantum. It makes it that you don't need to worry about it And from perspective of like, whenever they do launch post-quantum, you need to scramble and figure out how to migrate to this.

David Hoffman:

[30:35] I see. I see.

Illia Polosukhin:

[30:37] So, yeah. So importantly, like, obviously, if Bitcoin gets completely broken, we cannot do anything. It's still broken.

David Hoffman:

[30:43] Yeah, yeah, yeah.

Illia Polosukhin:

[30:43] Yeah, it's still broken. I mean, we'll have your broken Bitcoin.

David Hoffman:

[30:48] Nir, we'll have your broken Bitcoin. Congrats.

Illia Polosukhin:

[30:50] Yeah, yeah. But... Most likely, they'll figure something out. It might be that the timing of this is rough, right? And so, like, maybe emergency upgrades, all those things. And so, let's imagine you have cold storage or something. You probably don't want to, like, you know, sit on it all the time to figure out how you're going to do things last minute. And so, that's kind of why we're saying, like, hey, look, you can deposit it to us, then our multi-party completion network will need to upgrade into whatever they support anyway, right, to continue working across all these things. And so we're going to upgrade and we're going to support it and we're going to do this kind of for all the users who are kind of using it through Nier. And you can then hold your post-quantum secure key on Nier and, you know, put it into call storage, put it on the pillow and kind of, you know, delegate this worry, right? But yeah, obviously we're not going to be able to solve other networks, you know, not doing it on time. But again, I don't think it's going to be like, and everything broken, it's going to be post-quantum computer, let's say, of the right size achieved to maybe to give some idea of the numbers. The latest post-quantum algorithm is now down, I think, to 900 logical qubits.

Illia Polosukhin:

[32:14] The biggest quantum computer we have is about like 32 logical qubits, right? So there is like a pretty, you know, big gap on what we physically have and what the algorithm kind of requires to execute.

David Hoffman:

[32:31] Yeah, but the previous threshold for a viable quantum computer used to be like 10,000 physical qubits or something like that.

Illia Polosukhin:

[32:37] Correct, yeah. So that algorithm went down pretty dramatically between all the research from Google, then Eigenlayer launched this open research. And so now at the same time, there's been rumors about quantum computers are, like there's this mathematical equivalence of like areas of quantum algorithms and classical algorithms. And so people are speculating that those may be proven to, like there is a way to effectively implement quantum algorithms in a classical way. In effectively.

Illia Polosukhin:

[33:15] Some form of polynomial time. And so that would be like you can actually execute that algorithm on classical computer. You don't need to wait for post-quantum. That's where all of the rumors are coming. Now, to be clear, this is all rumors. We have no proof. There's some people saying they believe into it. Some people say, no way, this is possible. We kind of currently don't know. And I think if this was a real, like, realistic problem, then I think the reaction would have been different, not just publicly tweeting, saying, hey, guys, you should switch immediately. It would have been, like, you know, a lot more different, right? Because a lot of staff still uses elliptic curves everywhere. Cloudflare is a good example who just moved their timeline to launch it by end of 27. They're not like, hey, like, we're stopping everything, and they're like, okay, now we're going to do it not by 29, but by 27. So most realistically, we're just like indeed on accelerated timeline, between those things. So that's why, like, I think, you know, we are also accelerating our timeline because we want to be way ahead of this.

Illia Polosukhin:

[34:24] Now, going back to the other chains, indeed, because we're connected to so many chains.

Illia Polosukhin:

[34:33] We have no guarantee that all of them will do the things in time. And so what we want to offer users is ability to also effectively set up a software recovery system What does this mean? Let's say something like we get into the state where indeed you cannot trust, that elliptic curve signature is indeed coming from the user who had the original private key. Well, there's actually a few different ways to prove that you have something.

Illia Polosukhin:

[35:10] That was private key that is mapped to this public key. And so the specific method is through a seed phrase. So seed phrase is using hash function to generate private key to then use elliptic curve to get public key signatures. And so because of this, like even if somebody recovers private key, they don't know your seed phrase. And so there's a way to then prove with zero knowledge that indeed you have this, the... The seed phrase that is hashed to this private key that is this public key. And so you can, instead of sending a signature, you can send this zero knowledge proof and then rotate this. So this is a suggestion for recovery for Bitcoin and some other chains in case things don't work or people don't rotate their keys in time. So that is kind of an option now. What we're suggesting to add is that for people who are already using Near Intense and other products, they can, while using it, checkpoint their post-quantum keys as well on Near, right? You'll have effectively post-quantum checkpointed consensus locking this in. And so now you can say, by the way, if something gets broken, look at this post-quantum secure chain that says that this key was mapping to this post-quantum key. And so please upgrade me like in consensus into this right so this kind of creates like a registry a ledger um.

Illia Polosukhin:

[36:38] For recovery later if things don't kind of move in time, uh on desert chains and so we kind of offer like we're going to be launching this more broadly and and offering this to embed into like wallets and other functionality uh such that, again we kind of remove some of this panic and like give just more optionality to everyone uh to migrate in time.

David Hoffman:

[37:02] Say, with regards to NIR's risk surface area to all of the blockchains that are plugged into NIR Intense, say, for example, there was a blockchain that had quantum exposure, was quantum vulnerable, and it didn't upgrade in time, and then a quantum computer comes online and starts theoretically stealing some of these coins of this blockchain that NIR Intense is hooked into. Would that be a risk for the near intense system to still like connect to said blockchain that is not post-quantum?

Illia Polosukhin:

[37:43] I mean, of course, yes. And so the way already near intents work, right, we have effectively an active AI-based monitoring for all chains, right? Actually, this is the least of the worries. The biggest worry is somebody just hacks it, plain and square into the current code base of this client, right? Like we've seen this with Litecoin, right? They had like, you know, attackers stacked effectively two hacks on top of each other, managed to DDoS the network, and then we did a double spend effectively from a private pool of Litecoin. And they then tried to launder money through Neuron Tense. And so our system detected that something is going wrong, right? Now we found it is dropped. There's like weird movement of like full balance, like more money than there was a balance of the private pool is moving, things like that. And it's like, okay, let's disconnect this network for now, you know, code red on this thing, you know, and then not let any flow for now from there until it recovers. So we already have monitoring for all those things. And obviously, yeah, if there's kind of.

Illia Polosukhin:

[38:54] Like kind of post like quantum computing type of threat coming, then like that going to be becoming also like, okay, well, we should like disable this network until they address it. And that's why I'm like, okay, well, let's make sure everything's checkpointed such that we can also do that and then turn it back online when they addressed it.

David Hoffman:

[39:15] And this is because Near Intense and, you know, the listeners should remember that Near Intense and the Near Protocol are separate. They are, there are no technical dependencies does the Near Protocol have upon Near Intense. Near Intense is dependent on the Near Protocol because that's, you know, the layer of the cake of technology. But like Near Intense is like an exchange. It's like an exchange that's built on top of the Near Protocol. And so in the same way that like you just described a Litecoin exploit, that could have happened to an exchange. It did happen to an exchange.

Illia Polosukhin:

[39:49] Yeah, I mean, they were doing, so we were informing Binance actually when this happened because our system protected this first. And then, so we have like a channel to tell. So our Shield program allows exchanges now to consume information from this detection system. So yeah, I mean, so Nier Protocol and any other blockchain for that matter, I call it like self-consistence from itself. But then whenever you go one layer up, right, you look from it externally as a person, as an app, as an exchange, as anyone else, right? Then you need to decide on what's true, like what you're seeing from the blockchain, right? And so that decision is, I mean, we do it as people, there's social consensus or something, but for intents, we need some AI system that can decide what is true effectively about this blockchain. Because, I mean, I use this example and then somebody was shitting on my math on Twitter, because I didn't do the math, but, you know, Google can be mining alternative Bitcoin right now and present a completely, you know, a one year worth of a chain right now. And that's a completely valid Bitcoin. Like every transaction for last year will disappear.

Illia Polosukhin:

[41:05] And new longest chain will be selected and everybody will start mining on top of it. Now, the math is it takes like whatever, 10 to 20 gigawatts of power and probably like people would spend it on AI instead of on mining Bitcoin. But like principle is there, right? Like somebody could be mining longest chain right now that's completely alternative to what's happening. That is a completely valid Bitcoin. It will wipe out all transactions because Bitcoin doesn't have finality. Bitcoin, like, is...

David Hoffman:

[41:35] Probabilistic finality, right.

Illia Polosukhin:

[41:38] Now, there's, like, again, there's checks on, like, every normal client will check that, like, some number of hours they're not going to accept longer chain, et cetera, but that's not actually part of the true protocol.

Illia Polosukhin:

[41:51] And, but, like, anyone who is external to Bitcoin needs to decide what is true, right? Like, if, you know, if somebody sent Bitcoin, you need to decide when you can accept it. Like you can't wait for infinite amount of time, right? So there is effective number of confirmations that are used as like, okay, on average, nobody makes forks longer than this time.

Illia Polosukhin:

[42:14] Um, and usually for something like near intense, there's actually now volumetric, uh, kind of, um, system where, you know, if somebody sent $1, okay, cool, we can accept it right away. If somebody sent, you know, $2 million, that's actually, you know, how much it costs to do like a, you know, three, four block fork. If somebody would send a billion dollars, you probably want to wait longer because you could actually run a sufficiently long alternative chain. And again, Bitcoin obviously has a lot of hash power, but there's other chains and other systems. So generally, that's kind of the logic is you need to make a decision when you consider the kind of funds deposited chain kind of reasonably final. And that decision making includes now also, is this chain broken? Hasn't been hacked? Did, you know, quantum computing started rewriting signatures, right? And so that decision making indeed lives kind of in this like shield service that using this. And then Near blockchain, indeed, is kind of like another blockchain, processing transactions and self-consistent from its own way and settles all of those decisions effectively on itself.

David Hoffman:

[43:31] Okay, and that's the third of the three swim lanes. So just to kind of wrap up, if I was to ask the broad question, when will Near be post-quantum? The answer is, well, users already have the ability to migrate. And so the answer is like, well, when users get over the quantum hurdle of their own accord, but the duty is on them. And then B, the quantum safe consensus upgrade, which will happen halfway through next year, halfway through 2027, about. So six months, because we have that amount of time, we feel comfortable about amount of that time. And so the answer is like halfway through 2027, nearest post-quantum. Is that right?

Illia Polosukhin:

[44:10] That's a target, yes.

David Hoffman:

[44:12] That's a target. But then, of course, users need to make that transaction to actually get over the hurdle, which is always going to be true no matter what blockchain you're on anyways.

Illia Polosukhin:

[44:22] Correct, yeah.

David Hoffman:

[44:24] Well, that doesn't seem so complicated. It's really, I'm reminded of Dave from the Zcash ecosystem, what he said when I was talking with him yesterday. It's like, man, everyone from Zcash, Ethereum, Nier, Solana, they're going to be fine. It's really all about Bitcoin. It's like, is Bitcoin going to get over the hurdle? So all eyes are on Bitcoin. Nier's eyes specifically because of the near intent system that we talked about.

Illia Polosukhin:

[44:50] I mean, the other option is you can sell your Bitcoin for Nier on Nier that's coming near intent, and then, you know.

David Hoffman:

[44:58] Go about it. And then you'll be good to go. I do, I do, I know we just kind of said like, oh, everyone's going to be fine, but there is something elegant about the Nier modular wallet design scheme that feels very future-proof. I asked this question to Justin Drake when I had him on. It's like, okay, say Bitcoin gets over the quantum hurdle, but we just found AI-accelerated mathematical breakthroughs. And what if that threatens the signature scheme that Bitcoiners just spent a year trying to come to consensus over? Now they have to do it again and again, and potentially again, as AI gets even more and more super intelligent. And the elegant thing about what I see in Nier is like, okay, we'll just find either all of cryptography breaks and we're all fucked or you just use the most recent signature scheme and you just initialize it into the wallet because Nier is built like that, which I find very elegant.

Illia Polosukhin:

[45:52] I mean, that's exactly right. Yeah, we can keep, I mean, that's why, like, it's about crypto agility, right? We can keep adding cryptography. We can, you know, obviously wallets will need to guide users to doing this. We're actually working, I mean, like at some point you need to authenticate in some way with the system, right? So like if you, depending on what way you want to authenticate, then it can take it from there and rotate it to the latest cryptography. And yeah, from there, like we can continue to roll it to whatever. I mean, to some extent, I expect we're going to have.

Illia Polosukhin:

[46:30] Also just the proof that, you know, some scheme has the lower bound is secure enough. And so now that scheme may be super complicated, large, you know, requires a ton of like cryptography needs to be very long, et cetera. And so that's why we like one option I recommend right now is like you add MLTSA to your account, but still use elliptic curves. If you're using your wallet normally, like day to day, week to week, that's fine. Just add it. Like if elliptic curves get disabled, like you're good, but you can day to day use elliptic curves. Now, if you want to be really secure, you can say like, hey, I actually want both signatures on every transaction. Hey, I need a multi-SA and elliptic curve signature because, hey, I don't, yeah, two of two. And so you just effectively roll your account into becoming a multi-sig. And I mean, in general, near any account can become a smart contract. And so you can make your account to be a multi-sig contract while still having all the same assets, positions, everything without needing to move anything, right? So that's another, you know, tidbit of nice account model. And so, and you can keep adding, like, you know, we'll add hash-based cryptography as well. So you'll say, cool, now I need three of three, right? So like, I don't know about lattices, let me add hash and elliptic. And so now I'm like super productive. So all of this is our options on Nier now.

Illia Polosukhin:

[47:56] And we're going to just make it a bit easier for people to actually configure this right now. So, I mean, right now you need to ask your agent to deploy this, so we'll make a UI for that.

David Hoffman:

[48:07] Ilya, do you take the opinion that the golden age of cryptography is over? And I heard this opinion articulated by Nick Carter, who said on his podcast this morning, you know, we had these super efficient, super performant EDSA signature schemes. And a lot of just the really, really cool cryptography that we've had over the last two decades is now coming to be deprecated. And the idea that we have to have two of two separate signature schemes is way more cumbersome. It's like we're kind of going into a very difficult time when it comes to security in cryptography. Do you take that opinion or do you have a different one?

Illia Polosukhin:

[48:51] I mean, I actually think right now, I mean, like, I'll be honest, right? I'm a machine learning guy and a systems engineer, right? I'm not like cryptographer, cryptographer.

David Hoffman:

[49:00] Right, so it's your golden age.

Illia Polosukhin:

[49:03] So, yeah, for me, it's like, okay, cool. I can use machine learning and AI to actually do cryptography, right? Do math with Lean. And, like, I don't need to figure out, you know, all the, like, I don't need to study, like, all the fields of math anymore. Or if I have lean proofs, you know, and like we have like additional checks, then like you can actually rely on those things. And so I actually think this is the golden age of math and cryptography because we actually, instead of before relying on like, okay, cool, smart people looked at it and hopefully it's right. Now we're like, okay, let's go and actually try to have lower bounds, try to like figure out algorithms. All this like curve smash, hash smash, like a really cool experience is obviously like, you know, the frontier labs are running their own versions of this. But the reality is like we are at the golden age of like the velocity of, you know, what you can do now is huge. Anyone individually with a subscription can like try to come up with a new scheme and prove and lean that it is indeed correct down to like a specific, you know, set of assumptions. And then the question is like, are we willing to take the assumptions or not? And so, yeah, I don't know. It feels actually like there is a golden age of math, like because it's like so much more available now to people to do. Obviously, mathematicians may be not happy about that, right? That's kind of.

Illia Polosukhin:

[50:26] But I think like the fact that we have like this combination of AI plus lean that works really well is amazing.

David Hoffman:

[50:34] Well, Ilya, it's also amazing that we have many pockets of the crypto industry ready to get over the quantum hurdle. NIR especially, NIR seems to be one of the first ones. Hopefully, we can all support Bitcoin getting over that quantum hurdle as well, because it sounds like they're going to need our help and your help. But Ilya, thanks for coming on and helping me and the Bankless Nation kind of understand a little bit with what's going on in NIR today.

Illia Polosukhin:

[50:55] Thank you for having me.

David Hoffman:

[50:57] Bankless Nation, you guys know the deal. Crypto is risky. You can lose what you put in. We are headed west. This is the frontier. it's not for everyone and we're glad you're with us on the bankless journey thanks a lot

Bankless

2878 posts

It’s time to break up with your bank, and join the movement for a better world.

No Responses