The Complete Zcash Roadmap | Sean Bowe and Dev Ojha
What would it take for private money to work at global scale?
Up next
All episodesInside the $6 Billion Binance Hack | Ari Redbord
ROLLUP: Bitcoin to $57K? | Wall Street Bets on Hyperliquid | The Tokenization War | Zcash Drama
Wall Street, Regulation, and the Future of Money | J. Christopher Giancarlo
What Is Bitcoin Telling Us? | Michael Howell, Macro Analyst
Black October: AI Is Turning the Internet Into a Dark Forest
ROLLUP: Black October | Uptober Lasted 4 Hours | JPMorgan's Bitcoin Forecast | Gold Alchemyst
PREMIUM - Zcash Names: ENS for Zcash
The CFTC’s Proposed Rules to Reshape US Crypto Markets | CFTC Chair Mike Selig
Inside the episode
Dev Ojha:
[0:00] Every time Zcash made a technical decision, the rest of the industry copied
Dev Ojha:
[0:02] it. This was namely Ethereum.
Sean Bowe:
[0:04] When you use a transparent ledger now, you should be actually really nervous.
Dev Ojha:
[0:08] Do you have better anonymity in a system that has a thousand payments per second or one payment a week? Obviously a thousand payments per second.
David Hoffman:
[0:16] There's a difference between something being like 99.9% private and 100% private.
Sean Bowe:
[0:21] We don't want to bend the knee on the privacy stuff. It would compromise our values.
David Hoffman:
[0:26] What parts of Zcash are still quantum vulnerable today? and what's the plan for fixing it?
Sean Bowe:
[0:30] There were three big pillars of this. The first one is quantum recoverability.
Dev Ojha:
[0:35] There's this element of the tachyon privacy design that was shippable today for Near Intense. It's now shipped today in some of the wallets.
David Hoffman:
[0:42] Yeah, I don't know who the whales are because it's private.
Dev Ojha:
[0:45] Privacy gives you a lot. You cannot fish someone's wallet without a viewing key so easily.
Sean Bowe:
[0:49] It really matters what the Zek holders think. Zek holders are the lifeblood of the project.
David Hoffman:
[0:57] Bankless Nation, I'm joined here with Sean Bowe and Dave Oja. Sean is a Zcash co-founder. He's been working in Zcash since 2015 and is the lead developer at Tachyon, which is an effort to overhaul how Zcash works. Something we'll get into shortly. Sean, welcome to Bankless.
Sean Bowe:
[1:12] Yeah, thanks for having me. It's awesome.
David Hoffman:
[1:14] Dev is a longtime ZK researcher, co-founded Osmosis, the biggest DEX in the Cosmos ecosystem that works on Zcash, trying to scale private transactions and quantum resistance. Also something that we'll get into shortly. Dave, welcome to Bankless.
Dev Ojha:
[1:26] Thanks for having me.
David Hoffman:
[1:27] You two have come recommended to me as two of the smartest people in crypto who have both gotten nerd sniped by Zcash. So maybe let's talk, let's start there. Why work on Zcash? Why is Zcash important to you? Sean, maybe I'll just start with you.
Sean Bowe:
[1:42] Well, I've, yeah, I guess I was nerd sniped like a decade ago. So I've been working on Zcash since the beginning. I was like a huge Bitcoin guy in my teenage years. And I always knew that Bitcoin had major privacy flaws that were going to be eventually fixed with cryptography. And so I wanted to make that a reality in Bitcoin and then gradually saw that that was never going to happen in Bitcoin. And then when a lot of interesting new cryptography papers came out, which actually made it possible for this to happen in blockchains in general, I was really excited about it. I was kind of waiting for it and I accidentally got a job working on Zcash. So I was really lucky.
Sean Bowe:
[2:24] And so I guess in the beginning, my obsession was with the cryptography. And I also have like a philosophical attachment to privacy, like a moral attachment to it. So that's important to me. So over the years, it's been fascinating that the cryptography has remained really interesting. Despite the fact that in cryptography, like the fact that we can go a decade and there's still like new papers coming out every month or every couple of weeks. That make things a little bit better or kind of surprise you a little bit is actually really exciting and awesome. So I really like the math. Also, just the project has become incredibly important for privacy for many years. It was the only real project in the entire blockchain world that was actually trying to do privacy and doing it at a great personal risk for some of our developers. There's always this like crushing threat of regulatory escalation, everything else. And so the fact that we kind of persevered through that and now we're doing really well, that's also really exciting and awesome. And we're growing as a project. People like Dave, for example, it's just it's a really exciting time for Zcash.
David Hoffman:
[3:40] Yeah, Dave, I'd love to hear from you as well about what motivates you to work on Zcash so strongly. Again, like I said, you guys have come highly recommended to me as people who are relentlessly mission-driven and zeroed in, locked in on Zcash and privacy. So Dave, what motivates you so hard?
Dev Ojha:
[3:58] Yeah, I actually joined, what got me into cryptocurrencies, like this space that's really worth assessing over, was first actually learning that, oh, we can have, well, I did my first bank check. I was like, what the fuck? If you just know these numbers, you can strain my ballots. And that's how I know cryptography. I'm like, we have this whole cryptography system. Oh, that's what Bitcoin's doing. Bitcoin's using digital signatures to go protect all this stuff. Well, okay, that's cool, except that you know my public identity. That's kind of crazy. I deeply care about privacy. So once I learned about Zcash, I'm like, it's actually the first crypto coin I ever hold.
Dev Ojha:
[4:36] This matters for solving privacy for the world. Then I learned about proof of stake and all these other problems for how we make blockchains usable, like in IVC and Cosmos land. Like, okay, we need to have, in order for this to go anywhere, we need to start having chains be able to communicate, et cetera. So I spent a lot of time doing Stark work with one of the Zcash scientists, Salisandre Queza. I learned a ton from him. And then work on tenement to scale proof of stake and make cross-chain communication happen and possible. It's like, I don't think stuff's going anywhere if you can't. Talk across chains. There's not going to have one monolith that solves it all. Well, and fast forward a few years, and it's kind of DeFi summer, and we realized that, hey, one of the big problems, we have three big problems in crypto in 2020-ish. Scaling, proof of stake is mostly solved, and privacy. So I found this chain that's actually trying to tackle privacy for MEV. And the initial roadmap and goalpost is actually quite like of do private holding things and do threshold decryption to solve a bunch of MV risk. And then things start to get carried away, get caught up in DeFi land. Turns out the whole privacy side roadmap was never really fulfilled on. But except that was the part that got me excited. That was like, well, I woke up every day to work on the thing. Things then come last year, I was like, okay, we're going to repivot everything to fully privacy early last year.
Dev Ojha:
[6:02] And then there's this big problem how are you going to make a privacy system that like scales and goes anywhere and I've always like followed and loved Zcash the whole time first coin held, friends with many people from like the era of four or five years ago and all the research I end up meeting Sean and it's like oh whoa okay this is a concerted effort to like make this win and make this succeed let's join forces and like make it happen I think it's like the best shot we have for privacy winning. Also, I was really inspired by every time Zcash made a technical decision, the rest of the industry copied it, even though when they're copying, if you're alert for what's going on, you'd obviously do something different. So it's like, oh, okay, Zcash sets the way. This was namely Ethereum. When Ethereum was doing its first pairing stuff, Zcash had switched from one curve to Southern one called B12381. Who cares? When Ethereum was going to go do stuff, They should have obviously done 12377. Now, they didn't just because Zcached it. Oh, it's kind of inspiring. Then... Then you suddenly see a bunch of people start saying they care about privacy who I was on calls with six months ago pitching stuff like, well, we're doing it. No, no one cares. No one, this will never matter. I was like, oh, wow. Okay, so Zcash succeeding is also inspiring for the rest
Dev Ojha:
[7:19] of the world to care about privacy in a way that other things aren't.
David Hoffman:
[7:22] Yeah, I don't think any bankless listener is naive to why privacy is important. We've covered the topic of the importance of privacy a handful of times, probably primarily with Zuko, but a number of other guests. But I want to ask you guys about why privacy might be urgent in 2026. Because if you asked me when I first got into crypto in 2017, we'd be like, oh yeah, privacy is going to become a core pillar of the industry and we are all going to have financial privacy very quickly, soon after proof of stake. And not only did proof of stake not really come very quickly, but neither did privacy, with the exception of NZ Cash. So Sean, I'll ask you guys about this, but I'll start with you, Sean. I'm like, what's your case for why privacy is urgent these days?
Sean Bowe:
[8:07] Yeah, so, you know, it used to be that when you used a transparent blockchain ledger to transact, you know, if you're just a normal person, you weren't really worried about the fact that these, you know, chain analytics firms existed who could basically track everything that you do, associate all your transactions together, figure out your online activity based on that, for example, because you weren't really a real target. I was worried, but most normal people weren't. And hackers and thieves were all in. Because you're not normal people. Right.
Sean Bowe:
[8:41] So hackers and thieves were, you know, always really nervous and careful about using these things. But now with AI, obviously, a teenager just with access to an LLM basically can can identify and track everybody using these things. So everyone using crypto. So when you use a transparent ledger now, even if you're not a thief or a hacker or a criminal or any of that, you should be actually really nervous. So like in the coming years i think it's going to get much worse it's going to get so bad in my view that you will have these just public databases these free public databases that will that have completely mined the blockchain of of of information where every single individual who's been transacting on public ledgers has been quantified and tracked in every in every possible way and that i think with this sort of ai resurgence i think that's why privacy is like exploded it didn't just like gradually get better it kind of exploded over the last year and and that's why because i think a lot of people paying attention actually uh realize that this is this is serious we need to get away from these transparent ledgers like right away
Dev Ojha:
[9:56] Yeah the problem problem is it's not just like your blockchain transactions it's also every other data leak that in the world compounds like each Coinbase exchange leak. Oh, that's your address that gets tied to all this. It's not just like your physical address. It's not just like they're worthy. There's one human in the world who has this much of a balance. So I think the problem's always been bad. It's just not many people had friends at Chainalysis to see how bad it was. And now you don't need a friend. You just go type one sentence into Claude or
Dev Ojha:
[10:31] just see the breach of the day to understand.
David Hoffman:
[10:34] So in myself and also a lot of listeners probably are very familiar with Ethereum's swim lane roadmap. I'm wondering if there's something like that as scaffolding for knowledge for understanding the rest of the zcash roadmap because that's really what i'm looking to understand here with you two having the opportunity to talk with you guys how would you guys categorize the work left to do on zcash like what are the broad categories that all the work kind of fits into.
Sean Bowe:
[11:02] Well i'd be curious to see how dave would categorize it but i would i guess there's in my mind i think there's three camps or three like categories. There's the cryptography side. So there's trying to make the cryptography more secure and more efficient. There's the kind of the consensus protocol. So the networking side of things, making that scale. And then there's the wallet side of stuff. So making wallet scale and giving them good UX. I think those are probably, and then Dave can speak to the last problem. I think it's actually the most challenging problem And he's actually, that's kind of why I'm really bullish on Zcash is because he's actually most likely to solve those problems.
Dev Ojha:
[11:46] I kind of think of it in high level goals of get scale, harden the chain, and then ensure full like economic sustainability. Where the latter is almost a minor detail, but I feel it's like it's not one of the other two actually. Now scale in my head encompasses several things, which is like, this is maybe a user facing map of like, these are three properties to expect. But to hit scale, you need a ton of stuff for wallets. And then you need a ton of like stuff in consensus, like make high throughput proof of work for the first time ever. And you need cryptography advancements like recursion and Tachyon and all sorts of like fee market updates, getting this into making an aggregated mempool, et cetera. Then the second one is hardening is a bunch of privacy improvements, getting increasing security numbers, It's numbers, post-quantum, do you go multi-assumption, formal verification, supply chain, et cetera. And the last one is economics. Well, today there's a bunch of services that you expect people to run for you.
Dev Ojha:
[12:52] If you take Ethereum or a Solana wallet, RPCs are paid for by the wallet, like by Phantom Company or MetaMask Company. And they do some stuff to ensure you're not spamming a bajillion wallets. And they expect to make money off you when you go swap one day. In Zcash, there's no tracking of the users. So then there's a couple of entities who provide these services for free for requesting data. It turns out that in order to make Zcash scale, those guys have to do a lot more work over time. So...
Dev Ojha:
[13:24] But then we also don't want to have them able to track you. So we want to have a way for the user to pay our perceived providers, but break any sort of tracking link. So we need to build some sort of private subscription service so that we're not relying on altruism. Or I think the most altruism is that it ends up being a centralized foundation or nation states. So we don't want that. So the user has to pay properly to get a proper market and have no identities. You can spitball some answers for us, but there's a difference for,
Dev Ojha:
[13:56] it hasn't actually been deployed and real.
David Hoffman:
[13:58] So as I'm kind of like learning about this, hearing you guys, a lot of this stuff feels very familiar to me. Like we need to scale the chain. We need to get over the quantum hurdle. The thing that feels uniquely different about Zcash is the relationship with the Zcash protocol and the wallets that use Zcash for privacy. That doesn't seem like it has any corollary to Ethereum or Bitcoin or any other project that I'm familiar with. Because, and I think it's the privacy variable that really makes this true. Whereas if you want to use a wallet while also maintaining privacy, there's just some extra things, considerations that need to be made to preserve the notion of privacy. And that creates new engineering challenges that is unique to Zcash. Is my understanding correct here?
Dev Ojha:
[14:44] Yeah, absolutely. I put it in two buckets as well. Scaling privacy for vaults is a fully unique challenge. And actually, it's actually harder than scaling a chain. And then scaling the, and then yeah, how do you architect the chain to be more privacy aware? It's actually, I think that's a little bit easier of the two. Like, actually, one of the brilliant things of Tachyon is, early in Zcash, these are really coupled. A lot of the things you need to be private, make the wallets private and wallets standards, was baked into the protocol. One of the cool things of Tachyon is actually these get unbundled. And it's a lot of, like, just, I don't know how you frame it, Sean, but in my head, it's like, we learned how to make ZK way faster, so we didn't have to bundle these things for the last 5% of efficiency.
Sean Bowe:
[15:27] Yeah, I think that we also bundled them for weird reasons. Like, for example... Addresses we early on in zcash we were we wanted to address this to be as small as we could and so certain keys that were in the addresses needed to be used both for the the wallet facing side of the the stack so for like the private transfers of information over the chain and then the others just for the custody and and spend authority stuff and and so those got But those got merged together just to make these addresses small. But of course, now we live in the kind of post-quantum world where the addresses are going to get really large. And so we need to solve that problem anyway. So it's kind of just, it turned out to be a pointless engineering architecture that we learned from that.
David Hoffman:
[16:18] So I want to drill down into each of these three different categories. Both of you gave me three categories. And while doing my best to make sure the layman can kind of, you two are both very technical. I'm trying to do my best to get technical answers out of you that are still accessible to the layman. Before we start down those paths, those three different paths, are there any like overarching principles or philosophies that guide Zcash development broadly? Like something like in Bitcoin, for example, all Bitcoiners will say like everything about Bitcoin is a means to an end to preserving 21 million units. That's an architectural philosophy that Bitcoiners have. Is there anything, is there any lesson like that in Zcash? Sean, I know you've used this phrase, ledger indistinguishability before. Maybe that is something to talk about. But as developers who are writing code, and as all cypherpunks know, code is imbued with values. What philosophy can you share as just like lessons for me and the listeners about how Zcash is built?
Sean Bowe:
[17:19] So definitely the one philosophy that I think is ingrained throughout Zcash, if you wanted to pick one, is kind of a maximalism on privacy. So... In our shielded pools, we go as far as possible when it comes to privacy. And that's the thing that you were mentioning about ledger indistinguishability.
Sean Bowe:
[17:41] So ledger indistinguishability is basically this academic term. So it's just a way to, like, if you say that something's private, like, say blockchain transactions are private, what does it actually mean to say that? Like, ledger indistinguishability is a way to quantify or study that. So the way cryptographers do that is they kind of create this game where your adversary is trying to distinguish two transactions from one another. So they'll have a transaction from you and have one from Dave and want to tell them apart. And if they can, then it's game over. And so that's actually a really, really strong property because it means that the transactions have to look like just random data, basically, in order to win that game. So all this privacy tech that exists in every project, like stealth addresses and ring signatures and stuff like that throughout the crypto world, those can help in certain situations, but fail that game easily. And so we've kind of been really hardcore about making sure that we've proven and now formally proven to some extent
Sean Bowe:
[18:55] These security properties like ledger and distinguishability for these shielded pools that are in Zcash. Now, do we... Is it like a hard and fast rule for Zcash? No, because we have transparent addresses. And there's other kinds of considerations. And so we do like, we take like a practical approach to it. But I guess the other part of that is that we also don't want to add any sort of concept of like a backdoor or any kind of like viewing capability for a regulator or any kind of anything like that. Had a lot of projects that have dabbled in privacy over the years of like entertained these goofy little
David Hoffman:
[19:36] Entertain bending the knee.
Sean Bowe:
[19:38] Yeah bending the knee we don't want to bend the knee on the privacy stuff we don't we don't need to we it would compromise our our values and so we don't even we yeah we don't even entertain it
David Hoffman:
[19:51] Yeah i think that's what a lot of people get excited about zcash about going back to the first thing you said with like the ledger indistinguishability and just a full commitment to privacy. Just to illustrate that point a little bit more, there's like a difference. I think another way to say what you were saying is like there's a difference between something being like 99.9% private and 100% private. And if you go back and just look through the arms race between cryptography and cryptography breakers, like cipher, cryptanalysis, I believe is the word, is that the all weaknesses of any sort of cipher ever is that it leaves traces. It leaves a trace somewhere. And if you leave enough traces, then somebody can Sudoku puzzle their way back into breaking into cryptography and the arms race continues. So maybe, Sean, is maybe another way that what you were saying is that we're not going for 99% privacy. We're going for 100% privacy.
Sean Bowe:
[20:47] Yeah, in cryptography, there's always these known unknowns and unknown unknowns when it comes to whether if you leak a couple bits here, you can kind of just gesticulate, say, oh, well, whatever. It doesn't matter. We can't think of an attack. Cryptographers know better. They say, okay, well, that's probably going to come back and haunt us. Even if we can't think of an attack now. But actually, when it comes to blockchain privacy, we actually know about all of the attacks or most of the attacks that you can perform if you only have this like really good privacy, but not 100%. Like there are these attacks, for example, called set intersection attacks, where if you're trying to identify the source of money and you have somebody using a protocol which anonymizes them amongst a large group of people, even a very large group of people, in each transaction, then all you need is two transactions from your target in order to very quickly eliminate anyone except the actual target as being the source of those transactions. Simply because you leak way too, leaking anything at all in one of the transactions immediately breaks everything in the other one. And we've known about this for a long time. Cryptographers have known about this. In fact, like this notion of ledger and distinguishability comes from
Sean Bowe:
[22:10] I don't know, 12 years ago or something like that in the zero cash paper or zero coin paper or whatever it came from, where they were actually trying to be more rigorous about what does it actually mean for an adversary to be able to break your privacy. You needed that in order to actually eliminate these kinds of set intersection attacks and stuff. So we actually know about the problems that are going to come back to haunt us. Most of them, not all of them.
David Hoffman:
[22:34] And knowing about them is the first step, I think, to just pruning them away, from Zcash, which is what your chop is, Sean, right? Yeah. Dave, anything to add about the philosophy behind Zcash?
Dev Ojha:
[22:44] Yeah, maybe I just restate a little bit simply of maximize privacy of don't take a shortcut. And so on the chain side, you went for the best known, the best you can get since day one. And now the principles only expand it further and further where, hey, it turned out the RPC side was always hard. So now we're bringing in solutions to keep improving that. So don't settle for any known distinguisher. There's one pre-core one. Another one is we inherit a bunch from Bitcoin. 21 million hard cap, that shouldn't change. Proof of work. Is proof of
David Hoffman:
[23:19] Work built into the Zcash culture?
Dev Ojha:
[23:22] Yeah, so there were some moves to push back and change it or add more to it. I think it's pretty solidified that the proof of work is, for the block of words, is pretty central. I haven't seen any... If you want to change it, you'd have to get miners on board and like coin holders on board.
David Hoffman:
[23:40] Interesting. That's something that we'll go into the long term security plan
David Hoffman:
[23:43] for Zcash towards the end. Let's get into scale. Let's go into this first swim lane scale and Tachyon. First, just again at a high level, why is it important to scale Zcash at all? Why can't it just be like Bitcoin, which is to be a very decentralized, slow, constrained blockchain? Like, why doesn't that work, Sean?
Sean Bowe:
[24:01] We need it to scale because, so like Bitcoin succeeded over the years because it got institutionally ingrained because like millions of people started using it. And, you know, it would upset a lot of people if you did something to harm it. So it was sort of a foregone conclusion. We want Zcash, I think, I want Zcash to end up in that same position where just like as many people hold it as possible. And use it as possible so that it becomes ingrained like this and becomes harder to attack. And so that's one reason. I mean, there's many reasons, but it needs to scale. The private payments need to scale in order to make that work at all. Otherwise, people would just use some other tech. That's really the simple answer for me. It's not going to succeed if people can't use it to transact. If people were just going to use it to hold it, They could do something like that with Bitcoin.
Dev Ojha:
[25:00] Another way to think about it is like, do you have better anonymity in a system that has a thousand payments per second or one payment a week? Obviously a thousand payments per second. And so the limiting principle is, yeah, go get this to be as usable as cash.
David Hoffman:
[25:15] So there's a one-two punch that I'm seeing here is that A, the job of being private is easier if more people are using it. The anonymity set there is larger. But also inside of Zcash philosophy, it's not just good enough to be a private store of value. It must also be a private way to do commerce too.
Dev Ojha:
[25:32] One of the most inspiring moments I had when meeting a lot of the Zcash team members for the last 10 years is we meet folks in some city. There's this dinner bill and a split of 11 people. And we have some very incredible people trying to split this by hand and calculate taxes or whatever. But then it was a bit silly. But then it was perfect peer-to-peer splitting using ZEC payments to each other or ZEC OTCs to USD to pay. Because there could be no credit card used. And he has to use Zek with the Zek wallets. But it was awesome. I've been going to crypto events, I don't know, 10 years now. I've never seen people actually split up payments and using the real wallets at an event. Using this as currency is actually in the culture. Kind of awesome.
David Hoffman:
[26:21] That is cool. That is cool. And going into just like the human rights and individual rights like element, to me, this is like kind of encoding, hard coding in cryptography, the right to assembly, if you will, because of these 11 people with this payment, had you guys use credit cards, some authoritarian nation say could have said like, oh, look at you guys assembled these 11 people assembled. And in this dark authoritarian imaginary world that I'm creating, that's not allowed according to this oppressive nation state. And so removing the traces of data of people coordinating with each other and,
David Hoffman:
[26:59] grouping with each other, that's the practical application here. Let's get into Tachyon, which I think is the first step into the world of scale for scaling Zcash. Sean, how do you explain simply Tachyon, what it does and how it scales.
Sean Bowe:
[27:13] Zcash so over the years zcash has had these different shielded pools and like every few years we've added a new one and they've always like tried to improve something like the efficiency or or add features or whatever people people kind of gravitate toward the most recent pool like the most recent one was ironwood which we launched earlier this year and the reason to gravitate toward that is that it was formally verified the one before that orchard was created because we wanted to remove the trusted setup so we made it more secure in that sense the one before that was sapling which we which we made because the zero knowledge proofs that we originally shipped in zcash were really really slow and you couldn't even use it on phones and so we needed to use like bleeding edge zk tech in order to make it possible so we've been making these incremental advances in the cryptography and that's what tachyon is.
Sean Bowe:
[28:10] Basically, we're tackling the last areas where the cryptography holds scale back. And there's a couple places where it does this. So the first place is that proofs are large. And so if you want to put them in transactions, if you want to put more shielded transactions in a block, you have to deal with these zero knowledge proofs. You have to aggregate them. So like in Bitcoin today, we're having all these conversations about scaling Bitcoin in a post-quantum world where you have post-quantum signatures that are much larger. So you have to think, not just in Bitcoin, but in like Ethereum and everything else. So we're thinking, how do we aggregate these signatures together or these objects together so that we can actually strip them out of the transaction and replace them with like a bigger one per block? That's basically what we're doing, except we have that problem. We have that scale problem already, even in the pre-quantum world,
Sean Bowe:
[29:09] And it applies to our zero-knowledge proofs, not signatures, but zero-knowledge proofs. And so Tachyon kind of addresses that and it uses this thing called a recursive snark to do it, which is this like fancy cryptography. And there's this other technical thing that doesn't scale very well in Zcash today where basically every transaction that takes place, every shielded transaction adds or grows this set called the nullifier set it grows it perpetually and you can't get rid of any of the data in it because you need it to prevent double spending
David Hoffman:
[29:45] And is this state bloat in the in the ethereum world this is state bloat.
Sean Bowe:
[29:49] Yeah so this is state bloat like in in bitcoin or ethereum or whatever you you don't really have this problem because you can go back through and just remove the old data i mean you can keep the old chain data as like an archive node of course but the the data you need to actually validate new transactions only has to sort of scale linearly with the number of users you have usually, something like that, in most transparent blockchains. But in ones like ours that take the privacy seriously, you're basically screwed a little bit. You need the set that grows perpetually. And Tachyon addresses that also with the recursive SNARKs. So we also use this cryptography to sort of compress these things. And we're basically tackling these two parts of the scale problem for the cryptography so that the remaining scaling challenges that exist in Zcash are, I don't want to say just engineering challenges because they're really, really daunting engineering challenges, but it becomes like the lower layer of Zcash, the cryptography, is out of the way. We don't have to worry about that part of the architecture anymore. Everything above it needs to solve. The scaling challenges need to be solved above that, like on the consensus protocol or at the wallet user-facing side of things. And that's sort of the direction that we're going with Tachyon,
David Hoffman:
[31:17] Enabling that. Of the part of Zcash that Tachyon addresses, this isn't like block speeds or block sizes, is, which is like kind of the traditional thing to talk about when we talk about scaling. This is talking about reducing the size and therefore increasing the scale of, the shielded transactions part of Zcash. Is that correct?
Sean Bowe:
[31:38] The actual cryptography, the private payment cryptography that takes place on chain just falls apart with too many transactions, quite frankly. And so we need to fix that so that we can talk about, you know, increasing TPS blocks and massive TPS. Yeah, it's not even a conversation until we address those problems.
David Hoffman:
[31:57] Right. Yeah. So the goal is high TPS, high big blocks. First, we need to solve some dominoes earlier in the stack that allows us to have the resources to do the high TPS thing.
Dev Ojha:
[32:11] Yeah, Tachyon on its own is a scale upgrade of, it changes the equation if you're a full node, of today, let's say you want to process a million transactions in a block, you have to go and verify a million ZKPs. With Tachyon, your job as a full node is now to verify one ZKP. That's pretty cool. Second is that, oh, a million transactions would cause a million units of state forever. Okay, the state is now gone with Tachyon. Now it's literally, if people are familiar with like a lot of the 2017, 2020 discussions of stateless blockchains, Zcash is like achieve what they're all talking about with the stateless blockchain. You've got some state for the last like month or so in the live full node. And everything else is like this historic state that you can trustlessly query, need to go use, but it's not in the full node itself. So Tachyon brings both of these and the first one is already like a 5X plus scale improvement like on day one.
David Hoffman:
[33:11] This is starting to remind me of like just ZK, ZK rollups in Ethereum land. You have a bunch of transactions, you roll them up once with a ZK circuit and then you roll it up again with another ZK circuit and you post the proof to the Ethereum layer one in the blob space, the pattern sounds pretty similar. Is that about right?
Dev Ojha:
[33:28] Yeah, credit to Ethereum for doing a bunch on pioneering deployment of recursive CKPs. It's the same thing. The same thing is going on for the first part. And the second part of going stateless is like a net new for the first time ever thing that Sean came up with.
Sean Bowe:
[33:43] Yeah, so there was this paper that I wrote with Ian Myers last year where we detailed this technique that I don't want to take all the credit for it, But where we detailed this technique that's kind of novel where you, that allows you to combine the recursive proofs with this other trick to make it possible to do this.
David Hoffman:
[34:01] And then also with statelessness and just reducing the size of bloat, minimizing, eliminating the size of bloat on the ZK blockchain, doesn't that just also make it, the blockchain itself just more permeable across the internet in the sense that smaller devices can manage and take part in the ZK, in the Zcash blockchain, is that right?
Dev Ojha:
[34:20] Yeah, this depends on what's your goal on, are you building a blockchain where you want a Raspberry Pi to be a full node? That, I think the Solana folks were actually entirely correct on this side of the trade-off of, look, If you want a Raspberry Pi, you're not getting scale. You're not going to be the, in Solana's case, you're not going to be decentralized NASDAQ. That doesn't make any sense. In Zcash's case, no, you can't shove 50k TPS to a Raspberry Pi, even if you want it. Because at some limit, there is like a bandwidth problem. Like how much can you process in a Raspberry Pi? 10 megs, 100 megs, et cetera. But it does drop the requirement of, okay, maybe you don't need a petabyte of SSD. You just need a couple hundred megs, I'm sorry, a couple hundred gigs of SSD. So Zcash isn't on the side of the spectrum of Raspberry Pi full notes. I think everyone's on board with like, look, you want to be a payment system
Dev Ojha:
[35:13] that's not going to work, but okay, let's do a bunch to maximize it under like being reasonable.
David Hoffman:
[35:19] Is the Tachyon conversation the entire conversation around scaling around Zcash or what else is there that's not included in Tachyon with how to scale the blockchain?
Dev Ojha:
[35:29] So Tachyon changes the cryptography side to make the scaling equation. As far as the blockchain is concerned, hey, every transaction's two kilobytes. Okay, you want 50,000 transactions per second? Go build me a blockchain with 100 megabytes of throughput. So then you have one whole new branch of how do you build a blockchain under proof of work that can achieve 100 megabytes per second of throughput. Then you have a second part of the equation, which is unique to privacy, which is how do you build a private wallet that can discover when it gets paid without downloading all data on the blockchain? I think what people, people often spend a lot of energy in trying to understand Zcash on how the zero knowledge proof works, which is really cool. But the second question I think that people should understand, which is why has Zcash UX taken as long as it has to deliver or be usable, is that... The hard problem is, how do you figure out you got paid? An anonymous payment is one where no one knows who it's from, who it's to, or how much is in it. So then, how can your wallet can't go ask a server, hey, what's my balance?
David Hoffman:
[36:45] Right, because it's a private blockchain. How does a wallet know if the blockchain is private?
Dev Ojha:
[36:49] So the solution that's been done in Zcash up until very recently is you're going to go download every single transaction history and test, was this a transaction, a payment to me? Yes, no. Can't scale. Because if the blockchain is doing 100 megs a second, you'd have to go download 100 megs a second. That doesn't work. So there's this really cool new line of cryptography that's basically a breakthrough, 2024-ish. Sorry, 2022-ish. But it's only really usable now. Oh, I call it private information retrieval. And it's this huge work to say, it's an awful lot to say instead of phone, go download a terabyte of data. Instead, go do a query to a server. The server will operate over a terabyte of data and give you back an answer, but the server won't learn anything. This should feel a bit like FHE. Somehow I can encrypt some data, go talk to a server, the server does some stuff on the data, gives me back an answer, and the answer is useful for me. And it should feel like FHE because it literally uses Homework. under the hood.
David Hoffman:
[38:05] Because it is S-H-E. Yes.
Dev Ojha:
[38:06] Yeah. So it turns out for this precise use case, there were breakthroughs and tricks that makes it very fast to do on a server. It turns out you can transform this problem into just a big matrix vector multiplication. And it turns out that, hey, our friends in the AI world have made big matrix vector multiplications very cheap and usable for us. Just go have someone buy an H100 and go service for all of us. So these two things have come together and the cryptography side invented this and like AI land has really optimized GPUs to make this a viable world. And so that's where we're going with the wallet side to make that scale.
Sean Bowe:
[38:48] And Zcash has already deployed this PIR stuff. Like we just had a coin holder vote. Where we used it for the first time, I think, in any cryptocurrency project that's ever used PIR. We used it less than a couple months ago.
David Hoffman:
[39:02] How does this not introduce a centralized third party, however? If we are querying a server, okay, I get that with FHE and the advancements in GPUs and processing power and all of that stuff, that I will be able to remain anonymous because that's what the math does. It keeps me anonymous. But nonetheless, I'm querying a centralized server. And so how does that not turn into a trusted intermediary that kind of arbitrates my relationship to Zcash?
Dev Ojha:
[39:30] So there's two parts. One is kind of like RPCs, where take Ethereum, right? You have to go talk to one RPC provider. Now, it's permissionless to go make a new RPC provider. Just go download a new copy of the chain and go index it yourself. And there's multiple providers already there. There's Alchemies, there's Infuras, et cetera. Apologies to all the other dozen plus.
David Hoffman:
[39:53] The ones that you're missing, yeah, sure. Yeah.
Dev Ojha:
[39:56] But there's a lot of options. So same thing as eCash, there'll be a ton of options. And there should be a market incentive where you can pay the providers so you have anonymously. So you can anonymously pay the providers so that you can access it. And if there's, for some reason, you're being disenfranchised, whatever, there's not a reachable one, okay, go spin up a new node at the blockchain with admittedly a lot of bandwidth capacity. Sync it up and start serving.
David Hoffman:
[40:22] Okay, okay. I would suppose that the paying of the Alchemy, the Inferior, the RPC provider is also a privacy engineering challenge that is somewhat difficult, but you, I would assume, thinks it's overcomable.
Dev Ojha:
[40:36] Yeah, I can even sketch how you overcome it. Sure. And the verbal sketch is basically... Okay, in Zcash, we've got this trick for preventing double spends. If I want to go pay an RPC provider, I basically need to prove to you that when I go do a query, hey, I've got an active subscription to you, and my subscription has given me, let's call it, 10 requests per second.
Dev Ojha:
[41:01] And then, hey, look, I'm not using more than my 10 requests per second. So what I could do is I could make 10 one-time tokens for every different second. And then, or maybe let's be more practical. Let's say I get 1,000 requests a month. So I can make 1,000 different one-time tokens. Every time I do a payment to you, I use the same technology I use for my private payments for proving no double spend to prove, hey, I'm burning a new token each time. And it's a valid token that you, the server, have authorized. Now, you, the server, don't know which of your million users is using the subscription, but you can authenticate that, hey, it's a real subscription. The engineering problems, there's two engineering problems. One is how you do this for the first time if you're onboarding a user. Like if I'm giving you your first sec, well, okay, you've got a wallet, you've got to go pay the wallet. So am I the one paying for your subscription? This looks a little, you can imagine a world that looks a little bit like Solana's estate rent, if you're familiar or not, which is that every unit of estate you have requires a minimum sole balance. You don't get deducted, but like it must be some minimum. Maybe you can imagine the world where we architect the wall UX like that. The second problem is just that when you go to do it engineering wise,
Dev Ojha:
[42:22] Hey, if I'm doing one payment, I might need to have done like 10 queries in the background. Okay, am I doing 10 Zcash grade ZKPs in the background? That's kind of a lot. That's the verbal sketch I just gave. There's tons of engineering tricks to improve that. but just look, someone's got to go dedicate a couple months to like, bring that to reality, which, great, there's a buy, that's a solvable problem.
David Hoffman:
[42:46] Okay, so this is the two halves of Zcash scaling. There's the actual cryptography that's in the protocol on the blockchain that leans up the blockchain, makes it seem super sleek. I'm getting that image of the SpaceX engines. They start kind of complicated with wires everywhere. They end up pretty simple with very few moving parts, kind of feels like that. Makes the Zcash blockchain, the cryptography, very efficient, very fast. That creates a problem. It makes the wallets need to be really smart with how they keep up with all of the data going through the blockchain. But that's what Dave said with the FHE on the server, with the RPC that we just covered. You put those two things together and you have a very fast scaled Zcash.
Dev Ojha:
[43:28] One more ingredient, which is scalable proof of work.
David Hoffman:
[43:31] I was worried about that.
Dev Ojha:
[43:32] Yeah. Those are three ingredients. You have two perfectly. The third one is just that Zcash is a blockchain today. Processes about 60 kilobytes a second. In order to do a 50K TPS with the glorious Tachyon feature, we need 100 megs a second. Okay, well, we're going to have to do a bunch of engineering stuff to go get us from 60 kilobytes to 100 megs. Well, step one is happening in like two weeks of just drop block times and keep the same block size that, you know, 3X is the bandwidth. So 60 kilobytes to 180. But then just do a lot more of that. start erasure encoding blocks just like everyone was talking about 2017 and Solana does right now and Ethereum does for the blobs about the rest of it.
Dev Ojha:
[44:16] Start doing that. Start just using more sophisticated gossip methods similar to how Celestia does it. Celestia does it as well for their fiber stuff. And you start seeing that, hey, 100 megabytes is actually really viable. There's one other problem, one other aspect to it, which is that proof of work block times are super variable. I don't know if, I think a lot of people have really forgotten this problem since ETH merge, which when Zcash goes to a 25 second average block time, 1% of blocks are going to be super fast. 250 milliseconds, so 100x faster. And then 1% of blocks are going to be super slow, like over 110 seconds. So 4x slower than normal. So the trick is going to be over the next two years,