What does it take to build the next generation of DeFi on Solana? In this special episode of the Solana Startup Series, we sit down with Tristan Frizza, Founder of Zeta Markets, to explore the future of crypto trading. Tristan shares his journey from AI to blockchain, participating in Solana’s early hackathons, and the inspiration behind creating Zeta Markets - one of DeFi’s most compelling exchanges. Tristan takes us through the ins and outs of perpetual futures trading and explains why these instruments are game-changers for traders seeking flexible, non-expiring positions. However, this flexibility comes with risks, especially with high leverage. Tristan provides insights into how volatility can be an advantage, maximizing exchange profitability and offering a deeper understanding of the mechanisms behind crypto revenue models. We also dive into the technical complexities of building on Solana, one of the fastest-growing ecosystems in crypto. Tristan discusses the necessity of Layer 2 solutions to address network congestion and cost management and breaks down advanced concepts like optimistic roll-ups and ZK bridges. Tune in to learn how Zeta Markets plans to overcome these challenges and build a comprehensive, builder-friendly ecosystem for the next wave of DeFi innovation on Solana. Zeta Markets: https://www.zeta.markets/ Show Links The Index X Channel YouTube
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Speaker 1Welcome to the Index Podcast hosted by Alex Cahaya. Plug in as we explore new frontiers with entrepreneurs, builders and investors shaping the future of the internet hey everybody and welcome to the Index.
Speaker 2I'm your host, alex Kahaya, and today I'm excited to welcome Tristan Friza, founder of ZetaMarkets, which is a decentralized exchange, otherwise known as a DEX, on the Solana blockchain, offering fast and secure perpetual futures trading. Thanks for coming on the show.
Speaker 3Thanks for having me on, alex, excited to be here.
Speaker 2So yeah, lots of really cool, exciting things going on with ZetaMarkets. You've been around for a really long time but before we get into like the weeds on ZetaMarkets, can you just talk about who you are and how you got into the space? Like, why are you here building in crypto in the first place?
Speaker 3Yeah, good question. I'll try and give you the kind of long and the short. But I started probably in crypto in 2017, more just getting in on the trading side and playing around with the technology and seeing what it was all about. That was like one of the big kind of waves of adoption, I guess, for crypto. Got given my first crypto by one of my friends and that was when I was like learning to to code and kind of understanding what was happening. Unfortunately, like made a bit of money, lost it all when the market crashed and I think that like that kind of burned me a bit from crypto at that time, but it gave me that passion and that flair for understanding what was actually going on.
Speaker 3You know, I was taking a degree in computer science and I took a bunch of majors around distributed systems because I was like, hey, I was just using all these kind of blockchain technologies. I didn't really understand how they worked, but now I actually want to dig in and kind of see what's happening under the hood. So I learned about proof of work, built my own kind of little proof of work concept, you know, learned about a lot about like Ethereum and it's kind of proof of stake mechanisms and that got me really interested. And so when I kind of came back after graduating and working for a couple of years, more on the kind of AI side is what I did for like a number of years I wanted to do a startup and crypto seemed really exciting in that.
Speaker 3You know, I read the Uniswap contract and I was like, wow, this thing literally trades billions of dollars a day with 70 lines of solidity code. That's just like insanity to me, it's crazy. So I thought that was really cool and then just wanted to kind of get back in seeing what had happened to DeFi in the kind of two years that I was away, this whole DeFi smart contract thing had just blossomed and I'd completely missed out on it. So I basically just started learning Solidity while I was bored over Christmas and not spending time with my family. I was just kind of coding, which is kind of sad, yeah. And then very quickly just kind of came across Solana, you know, got introduced to Anatoly in the very early days, started chatting to him and I was just blown away with the amount of expertise and the brains that guy has and I was like this is a very cool space and I want to be involved and basically signed up for a hackathon, won it I think the second ever Solana hackathon and then just been building ever since.
Speaker 2Tell me more about the hackathon. Did you come into it with the idea for ZetaMarkets or did you develop that as you went along? Did youers you know when you started? How did that take shape? What did that look like for you?
Speaker 3Yeah, good questions. It was a bit of a throwback. I was working as a data scientist in kind of big tech, so I was doing my main job and then nights we would basically just go hang out and we work down the road, me and a couple of my kind of university friends who are more working in the kind of Hft side, and we were just kind of we were all crypto curious and we were talking about, you know, different trading strategies and things that we could build, um, and then we got the idea of, well, at least me personally, I'm not the world's best trader, I'm more of a engineer and a builder. And so I thought like, can we actually build a platform and do something cool there?
Speaker 3That's maybe more my skill set and my strength. And so we thought what hasn't been done yet? Well, we wanted to do lending first, realize that that's kind of already been done with, with rv and compound and a bunch of other stuff out there. And then we came across derivatives, which we thought was really interesting, and we're like hey, a lot of this like perps, option stuff still feels pretty nascent. People haven't figured out how to offer leverage on chain. Is there something that we can do there and so we're looking through some of the designs. We actually started off as an options platform. That was our kind of early idea and that's what we ended up enrolling into.
Speaker 3The hackathon was like a full-blown options platform, which is like the most complicated end of the spectrum you could possibly go. But yeah, we kind of made something. Put it on devnet. It barely worked. Like all the you know, we were like one of the first pith customers. I think we just had to like crank all the stuff on chain in terms of the pricing ourselves. We didn't really understand how the rpcs worked. So we were hitting, getting hit by all the kind of rate limits because we didn't pay for like a private node. So we just had to do some hacks where we just got everyone to hotspot their phones on different ips and then all kind of like send and route user transactions through that.
Speaker 3So it was like an incredibly like like hacked together back end that we got ready in two or three weeks and I just basically worked with my co-founders, slept on one of their couches. Essentially we were just all in their apartment for three weeks, just took break from our job and just basically worked like 12 plus hours a day and got this thing out. You know, by some miracle got a full exchange out. It was pretty unusable but it worked enough for a kind of demo. And then we basically just pitched on twitter, just showed it around. A bunch of like vcs and other people in the ecosystem were like, wow, this is pretty cool.
Speaker 3You guys built a whole thing in like three weeks. That's. That's pretty nuts like end to end. And then we got a bunch of votes because people were kind of hyped and then, yeah, that was great, like you just kind of build a reputation from there. Coming in to crypto, I guess without that background and without that kind of network, was really nice. People like, okay, your work speaks for itself. And then we just basically took that, rewrote the entire thing, scrapped it, you know, rebuilt it from scratch and that's kind of built the foundation of the platform that we have today well, there's one thing, I think, one lesson there for anybody listening who's thinking about maybe getting into the space, the Solana culture is to ship and that's how you get respect.
Speaker 2Like you don't get respect for, like asking for money or trying to sell people stuff, you get respect for shipping product that's a good product, or innovative ideas, especially things like the harder the better. That's the thing I love about about it. I mean, one of the other things that I think is really cool is it that I really liked about Raj and when I met them is like they balanced that like hardcore ship it mentality with great business acumen, you know, good execution on the business strategy side of things. It's kind of been amazing. One of the things I've been thinking about a lot lately is it's been amazing how that the, the culture they seeded, really spread across the entire ecosystem as it grew and it attracted a lot of like-minded entrepreneurs, which is, I think, incredible to see and you're like a direct reflection of that.
Speaker 2That story and the attitude that's why there was so much hype is because you guys were shipping. What's happened since then?
Speaker 3A lot has happened since then. A lot has happened since then. So we've been building for almost three years, or probably actually more than three years, on Solana now, which is pretty cool to say. It makes me feel like a bit of a boomer on Solana. But we've been around for a long time, which is nice, and we've got quite a lot of experience building stuff. So Zeta to date we kind of pivoted to perps somewhere along that journey. Around the time that FTX collapsed we just realized like liquidity on chain is going to dry up big time and options are just like a very expensive and difficult endeavor to kind of procure liquidity for. So we went down the perps route and that was actually a really good pivot because I think just trying to find product market fit with that has just been so much easier.
Speaker 3It's just like a much simpler product and more and more I'm just kind of realizing that the DeFi audience people are looking for simple things that work. They're not looking for, like you know, throw the kitchen sink at it, make something, some really complicated financial product. I think maybe we'll see that in five years, but I think we're just so early now that you don't need to over-engineer the problems. So Pur so Purpose has been great. It's made our life easier. It's something that people have loved, and doing that in like a fully on-chain way. Something that is basically unique about our exchange is we do everything on-chain at the moment. So everything runs the order books, the margin system, the liquidations, everything is permissionless and on-chain.
Speaker 3You self-custody your own funds. The order book matching logic is not running on some centralized server. This thing is running on a smart contract that is, you know, basically replicated across a thousand validators around the world on solana and they're all kind of running the same stuff. So it's it's pretty cool and that was something that had never been done before. So we kind of built this out, you know, trying to see if it was possible. Essentially, a lot of people were just like you can never do an order book on chain. You know this thing's impossible. You can never build a fully on-chain exchange. But we built it. It works. It's done probably on the order of millions or tens of millions of trades on it.
Speaker 3It's done like 10 or 12 billion dollars worth of volume at the moment, which is which is pretty that's crazy like a fully on-chain exchange. Over the last kind of six months we grew it up to kind of a hundred thousand over a hundred thousand users, which is really so. With the Solana big wave of adoption coming, I guess, post Breakpoint last year, it was really cool to see a lot of people just jumping into Solana ecosystem and they're like, wow, transactions are so fast, things are so cheap. You know, the product experiences that people have built is just kind of like, you know, like miles better than what we've seen on Ethereum or some of these other chains.
Speaker 3So I think that was a real eye opener as to what's possible. And now there's a bunch more capital and TV on the chain. People are willing to trade. Defi is kind of popping and yeah, we're kind of in that position now where we have a product that's pretty mature, it's got a bunch of adoption and usage and we're just kind of trying to go and scale that more, add more markets, rejig some of our infrastructure, which kind of dovetails into this kind of L2 thing that we can chat about, and that's basically where we are.
Speaker 2Before we get to that, can you talk about what perps are for people who might not be traders? I don't trade anything. I literally only own one asset you can probably guess what it is and I just hold it. Ever since I've been in crypto, that's been my entire strategy is buy and hold. But I know there are other people who make a lot of money trading. So, anyway, explain perps and we can kind of go from there.
Speaker 3Sounds good. So everyone's probably familiar with spot trading. So if you own Bitcoin, you own Solana, you're kind of owning what's called the spot asset, and so there are very popular ways to trade that, namely AMMs such as Uniswap, radium, for example. And now we see with spot aggregators like jupiter, they can kind of route all these orders and get you the best prices. But you're trading the underlying crypto asset, which is great. Derivatives are a little bit different, so you're not actually trading the asset itself. You're basically trading some kind of derivative of that.
Speaker 3So we can kind of uh, for example, with with a PERP, which is basically like a futures product. If you're familiar with that in traditional finance, perp is basically a future, but it never expires. Futures basically say at some point in the future this thing will settle at a certain kind of a strike price, and then you have the obligation to go and buy that. People use it in traditional markets to do stuff like hedging. If you're a farmer or something other and you want to lock in the price of your crop later in the year, you can kind of buy futures and kind of manage the price to avoid price spikes or kind of changes down the line.
Speaker 3So why do people care about it in crypto? So you have these perpetual futures, which are really nice, and they kind of roll indefinitely. They don't expire at the end of the month. You have to rebuy the futures and you have them kind of physically settled. This thing just basically rolls in perpetuity and to me in my mind it almost feels like a synthetic spot. Essentially, you can basically get a long position or a short position, which is really cool on an asset like Solana. So this is something that's not possible with traditional spot. If I want to go short Solana, you have to do it in kind of a complicated way.
Speaker 3You'd have to go to a lending market. You'd essentially have to go and borrow it. If the price goes down, then you can kind of repay it for less and you would kind of profit off the short. So that's kind of like a long winded and complicated way for people who are a bit more sophisticated. That's kind of how margin trading works, but with perps is already kind of like baked into the product. You can take a long position or a short position, so you can kind of go both directions, which is nice. So people can kind of express long and short, and probably the biggest advantage of this kind of synthetic perp product is you get leverage.
Speaker 3That's something you don't get in spot markets. If I buy one solana worth, I put a hundred dollars in solana's a100. I get one Solana back and that's pretty much all I have. The cool thing with perps is you can actually take on more exposure than the capital you have. So that's called being under collateralized. I can put up only maybe $5 or $10 on Zeta and I can get exposure to one whole Solana worth. The thing is, I guess the caveat is so yes, you only need a small amount of capital. It's very capital efficient, right.
Speaker 3So I can take on big positions with a small amount of capital. The only risk you run is this kind of liquidation risk which you wouldn't have in the spot markets. It means that if the price does move, this big leveraged 20X position that you might have comes very close to liquidation very quickly. The price only has to move, say, a couple of percent or a fraction of a percent and it kind of wipes out your position. So you can think of it as a bit more of a kind of risk adjusted way to take positions in the market and it's a way to kind of go long and short and express different opinions. So I think that's why it's actually become kind of, I would say, the de facto trading product in crypto markets.
Speaker 3If you look at centralized exchanges like binance, a lot of the liquidity, a lot of the volume for majors is coming through the perps market. You can just get a lot more leverage, people can take on bigger positions. You can basically make your money work for you a lot more and then you get to express, you know, both directions in the market in this very kind of versatile product.
Speaker 2So that's why we love it it's interesting because, like this is this is have such a so, so much volatility in crypto twos. You know, the markets move in one direction or the other and you get squeezed on one end or the other and then you get volatility, and that's what we saw actually like the last couple of weeks. I have a question like how you guys make money. But the interesting thing about it, regardless of how you make money, you basically make money in volatile markets. Right, like you'll make more money in a volatile market because there's more stuff happening, probably in the purpose market when it's volatile From a business standpoint, that's great.
Speaker 2So how do you guys actually make money? And then I think like we can start talking about the L2 stuff next, because it ties into really well to that volume piece, that activity. But yeah, how do you make money?
Speaker 3Yeah, very simply, similar to many other exchange models, it's through like trading fees. So we take a relatively small cut, like 10 basis points or lower, if you're on certain fee tiers which you get through trading more volume. Eventually we're probably going to add this for like token utility as well. You know staking tokens. We're going to give discounts to people. But essentially every time you make a trade we take some like very small percentage of that 10 basis points. That's if you're a taker, which means you've kind of crossed the order book. If you're a maker, we have pretty low fees.
Speaker 3It's like two basis points last, I remember. And if you're a professional market maker, we just set it to zero because we're trying to get as much liquidity on our exchange. So we kind of take that and yeah, it is a volume game the more volume you can get. If you can get a billion dollars through there and you take, you know, even like a small fraction of that, that's kind of like a nice bottom line revenue for the business. So we're always trying to drive more volume, get more people trading, list more markets and do stuff like that. That's like pretty, pretty typical. And yeah, like you said, the nice thing about being an exchange, I guess, is you don't need to take an opinion on the market.
Speaker 3Whether people want to go long, whether people want to go short, wherever the market moves, there's always trading activity, there's always something to be done, which is great, whereas I feel like with I don't know, maybe an asset like NFTs or something other, everyone's very happy when the thing goes to the moon, but obviously when prices are down, I think it's very hard to express those opinions on the very illiquid market.
Speaker 2That's a really brilliant point. Yeah, the NFT market doesn't have these primitives really for this kind of thing and a lot of it has to do with because it's non-fungible. I mean, technically you could do it with a whole NFT, I guess, but you'd have to own, I don't know. For it to make any sense you'd have to own like a lot of the nfts in that collection or something I mean even with stuff like meme coins, since it's all like spot markets.
Speaker 3You have a lot of buyers and you know people love their pump dot funds when the thing goes up a thousand x. But the problem I guess that's been in the market is there's no product like perps that people can use to kind of short these markets or kind of balance it out. So it tends to be very like skewed long on some of these products until obviously they get rugged or crash or something like that. I know I think margin find soul land, put out some new kind of lending oriented products that let you short stuff, which is pretty cool. But yeah, I think we need to move in that direction to have more price efficiency and not have a bunch of these kind of like meme coins that are pumped up price like past infinity.
Speaker 3You want people to actually, you know, be able to find the right price level for these things and that's what some of these derivatives and other products afford you.
Speaker 2All right, walk me through the L2 that you guys are building and like also just break down what it actually that means for people, cause I think, like y'all, what you guys are calling an L2 is actually different from like a lot of other teams that are building like SVM based L2s are. So can you just talk about that a little bit?
Speaker 3Yep Sounds good, so maybe I will jump in first and clarify why do we need an L2? Because I think this is a controversial topic and a lot of people are like Solana is all about monolithic scaling and we've been told for years that Solana is good enough, scales with hardware. This is kind of like the end state for this kind of monolithic roadmap and I largely agree that. I've been like very kind of vertically scaling pill for like the longest time and I still believe in it a lot. I think it works super well. You see super apps like Jupyter, just absolutely crushing it, and the benefits they get is they can compose with all these amms atomically all in the same piece of global state.
Speaker 3Like it's just pretty incredible how solana works and has always just been mind-blowing for me. Same with our current exchange. It's just like really nice. We probably do like five percent of the blocks based on solana currently with our current exchange. Like it's pretty massive and that's been really great to just like run an exchange that puts through this much volume. I mean it's getting a bit expensive on the gas costs these days, but yeah, these are all kind of motivations why we're considering this kind of l2 architecture. So one has just been like increasing gas costs and contention on the l1. So we have to put through like literally millions of orders through on our exchange and when you're competing with pumped up fun, when you're competing with all proof of work, mining, all this kind of stuff it does.
Speaker 3Even though we have the local gas fee markets, like the gas fees definitely are increasing for us. Likewise, there is a bit of like there were congestion issues. I guess the last couple of months those have largely been resolved with the stake weighted quality of service and a bunch of other kind of improvements on the validator layer, which is really cool to see and we don't have those problems anymore, and a bunch of other kind of improvements on the on the validator layer, which is really cool to see and we don't have those problems anymore. But yeah, that was like a big motivation. Why we started thinking about a couple of months ago was, yeah, people were just coming into trade and they're like my stop loss isn't firing, I can't get out of my position, just because every transaction on solana a couple of months ago was just getting dropped and we're like this is very hard for us to run an order book with, you know millions of dollars on it when people just aren't able to like exit positions.
Speaker 3So that was like one argument on the congestion side and then there's probably a larger argument just on the yep can you lean into that?
Speaker 2but before you go on like, lean into that a little bit because I want people to understand, like from a founder and a builder's perspective, the pain that you experience and how serious that is for your business.
Speaker 3Yeah, definitely. So you're running an exchange. There's a lot of risk in the system. You know we're not a spot exchange. Where it's we're like an AMM and everything's fully collateralized and you know if the price goes down or something or other. You know people just kind of like trade out at a lower price and that's kind of not a problem for Jupiter or any of these other players, but for us, I guess, as a purpose exchange, you do run this real like risk of the exchange, like potentially having a drawdown, and so this might happen in that, say, solana or some other market. You know, for example, this happened to some other kind of exchanges on Solana when Luna crashed.
Speaker 3The thing goes down 90%. So now your kind of reference price for this asset has gone down massively. You're not able to liquidate those highly leveraged positions. Suddenly, the position that someone had on that they thought or that was marked to market when Luna was $200, they thought it was like a million dollar position. Now Luna's gone down 99%. This thing is worth nothing. Who's taking on the bad debt? Essentially it's not the user, it's the exchange that kind of has provided or extended this kind of credit in terms of leverage and so you kind of take on bad debt as an exchange if you can't liquidate properly and you go into this state called over bankruptcy where you basically, as the protocol, have to cover.
Speaker 3We've never had to go into this, which is really good, but it's definitely something that we kind of engineer our risk systems around to try and do soft liquidations in time to kind of manage things before they kind of blow up. We also have an insurance fund so we can pay stuff out. So we've never had to exercise any of these things, which is good, but it's. It's always a worry if some whale comes in there, like we've had, you know, in like previous years, where they just have like a 10 million dollar position and suddenly solar just moves like 20 percent overnight, which is not unheard of. You know these guys can get completely wiped out and someone's got to step in there and they've got to front, you know, 10 or $20 million to take down these big positions.
Speaker 3You know that's like no small feat and if that kind of doesn't happen then you can kind of take on a bit of contagion on the exchange. So that's been a big thing for us and we're like, hey, if there's congestion I can't actually put through the liquidation transaction. I can't trade out of it, I can't do anything. You're just kind of sitting there on your hands and it's a little bit tough.
Speaker 2Well, in a normal scenario where you've got time and there's one whale who got wiped out, I'm sure you guys have some way in the UI for another person to come in and say I've got $20 million and that position's on a huge discount, right Like they're going to buy that position and the penny's on the dollar, and they can do it. The problem with congestion in this scenario is the market starts, all the markets are crashed and there's tons of congestion and you can't liquidate properly and no one can come in and even be the person to step into if they want to.
Speaker 2Then it becomes like out of control.
Speaker 3Yeah, there's a huge financial incentive to do these things and that's why people run all these mevbots, and liquidations are massively profitable. So it's not like we don't have tens of people kind of lining up for a bunch of these things like we do. They're very kind of snappy auctions, but it's really hard and there's a kind of self-reinforcing effect. When markets nuke, more people are trying to trade, to get in and out of positions or do liquidations, which causes more congestion, which kind of like feeds back into this vicious cycle.
Speaker 2So you'll see, when the price moves a lot, it just kind of like craters, a bunch of different protocols, like for like a certain number of minutes, and just kind of makes life a bit hard and just kind of makes life a bit hard. So, before we kind of drilled into that point, you were about to say something that was like you said, this is actually maybe even a bigger reason, and you were going to go into something else. If you remember what was that.
Speaker 3Yeah, that's basically just performance and scalability. So I think Solana works like really damn well. I love like how Anatolius engineered it from the start, like I was talking to him and he really hasn't changed his architecture very much over the last three years, like his initial design just really executed quite well. And now you're seeing people in ethereum twitter, I think even being like hey, we need a scale. You know, I think the, the bankless guys are like we need, we need to scale the, the l1 on ethereum. Now we're putting too much into the l2 roadmap so it's really interesting to see the flipping uh sentiment there.
Speaker 3Yeah, so what we're trying to do is a bit different. So solana, great general purpose chain, it can do spot, you can do nfts, you can do lending, all this kind of stuff. That's all composable together. We're trying to do something that's, I guess, very specific and maybe doesn't cater to, I guess, that kind of generalized svm stuff. So with the, with the solana virtual machine, I guess on mainnet you have 400 millisecond block times. You have certain restrictions in terms of the stack height that you can use, in terms of the compute limit, in terms of how the gas markets actually function on Solana these are all great and they've engineered them pretty well to suit a lot of applications.
Speaker 3But if we're trying to build something that's basically a centralized exchange competitor, these guys have like five millisecond latency to place orders, they have gas, free quoting, they have just like all these performance benefits that I physically cannot engineer on our smart contract because we, I guess, like cannot change the parameters of solana, and so we figured it kind of makes sense to start owning a bit more of the infrastructure layer. We want to build it on top of Solana because that's where we think a lot of the liquidity and users and mindshare will accrue.
Speaker 3So that's kind of what prompted us to be hey, can we build something that is a bit more application specific as a layer two on Solana? And that's essentially what we're building. It's not a SVML2, which I think to clarify difference, svm l2 is like let's take the solana virtual machine and let's deploy it on an ethereum rollup, for example, where we're not doing that, we're building a rollup specifically on solana. So like eth rollups, like arbitrum might settle down or optimism might settle down and use data availability from from ethereum l1.
Speaker 3We're doing this for theana essentially, so our thing will take the computation and execution bit off-chain. So we run this order book off-chain. Everything runs in this ZKVM, which is not quite the SVM, although we can maybe support the SVM in future. Our order book runs in this VM. It's all written in Rust, so not too dissimilar there, and then we can kind of take all those proofs and that data and we can post it back on Solana. Anyone can go and verify those blobs. So that's nice. You can kind of bridge from Solana to our rollup in a relatively short amount of time.
Speaker 3You can use everything there. It's all kind of secured and validated, I guess, on a public blockchain, but we take that execution bit out of the SVM and then can actually run that in a much faster environment and we can get the throughput essentially of a centralized exchange there. So for me that's kind of the best of both worlds Performance of a centralized exchange, security and using the L1 validator set of Solana.
Speaker 2Do you have like a sequencer or something? Is it a centralized sequencer? How does that walk me through the architecture? A little bit deeper on that.
Speaker 3Yeah, that's right, it will be a centralized sequencer for now. I mean, we're exploring some of those decentralized options, but I guess the technology is still pretty nascent, which is cool. But yeah, it will be a centralized sequencer. That kind of is what gives us these. We can get these essentially pre-confirmations. You might have seen this on Twitter. People talk about soft confirmations or sequencer pre-confirmations, so people can talk directly to the sequencer and they can get these very like lightning millisecond, fast, essentially updates from the order book so they would send an order within five milliseconds.
Speaker 3We can basically broadcast this out and say this order has happened. It hasn't been confirmed yet on all the kind of full nodes of our roll up yet, because it has to get posted first down to the da layer and then kind of you know, the consensus happens on the solana layer and then people can kind of read it back up into the roll-up notes. There's kind of a latency of a couple of seconds there. But if people want the pre-confirmations, you have a pretty high chance that things are not going to get rolled back. Or if you trust this kind of sequence so that it's not going to commit fraud or do crazy stuff, then those are a pretty good estimate and that's going to let our front end get an extremely snappy order book with updates that feel like a centralized exchange.
Speaker 3So yeah, we're going to run it basically in optimistic mode to start. So if you're familiar with optimism arbitrum, it's kind of how it runs. You just send a bunch of transactions, they get sequenced and you kind of assume things are good unless someone challenges them with the fraud proof. The benefits of that cheaper to run, a lot more simple in terms of the architecture Downsides are the bridging aspect of it. You kind of have to wait this challenge period of in Optimism's case, seven days. In ours I think we can get it a bit faster because Solana block times are a bit faster.
Speaker 3So maybe we're thinking like a day or two, and then we have the option to go down the ZK route as well, which we've been exploring. So if we can kind of do a ZK roll up, you can actually prove a bunch of these things, kind of prove every block, and then, once you have those proofs, you pretty much know what's happened with certainty. And so the bridging time we can probably get down to 15 minutes or half an hour or something like that, which I think will be really nice for the user experience.
Speaker 2That's just withdrawing your funds off the app chain. Basically, you have a delay before you can do that. That's right. That's right, just in case it gets rolled back. So you have the sequencer, which is centralized. There's sort of a gate there. Does the sequencer also bridge assets back and forth? Like, how are you doing bridging?
Speaker 3Bridging. We're literally just like getting this out listener, so talking with the Helios guys to just basically, like you know, index the transactions and probably do it in a bit more of a permissioned way for now, just to kind of credit them up to the L2. We're just doing this for the purpose of a testnet, but the ideal end state is you use what's called a light client. These things are not running a full nodes. They don't need to download all the blockchain data. They just download the headers which include a bunch of proofs.
Speaker 3So anyone running like wallets or bridges and stuff like that can just run this light client and they can get basically like a trustless way to do bridging. We haven't set those up yet. We're kind of working on it. It's like a TBD, but that would be the way to do kind of like a trust minimized bridge.
Speaker 2Okay, on the roll up itself, it sounds like there are multiple nodes. They're like, doing work. What are they doing and how many are you going to have? Like is it? And is it permissionless? Can, like any validator, come and run a node that does that service?
Speaker 3yeah, correct. So, yeah, I guess there are two main things to call out. So, like, one is the sequencer. The sequencer all it's doing is, I guess, just ordering things. It's pretty simplistic in that people would send their transactions to the sequencer, it orders them and then it basically sends it down to the proposer, which puts them on the, on the l1. The sequencer, yeah, like we're going to start with kind of a preferred sequencer, I guess, which will probably be run by us, and but anyone can spin up and register, you know, alternative sequences, and that's kind of the beautiful thing with sequences is sequences.
Speaker 3Yes, there is like a censorship argument there that that people could do that. But the nice thing is we've, or like we've, we've worked with teams or this is kind of like a thing that people have figured out is, um, you can always register more sequences. You can go around it. You can also talk directly to the l1. So if the sequencer is suddenly censoring you, there's actually an escape hatch. You can essentially do where it's like I want my withdrawal off the roll up. You can send it to solana and we'll be able to include that essentially in a permissionless way and you can kind of circumvent the roll up. Obviously you don't get the benefits of speed and all the things that you would want from the roll up, but there's always a way to kind of circumvent any kind of malicious sequencer.
Speaker 3So that's kind of malicious sequencer, so that's kind of the sequencer. All it does is ordering. It's kind of fairly limited ways for it to kind of do fraudulent stuff. And then there's the full nodes which are essentially like I guess you can think of, similar to validators on Solana. These kind of will go and run a bunch of the computation on the rollup. So what they do is, once the block has been proposed, so sent from the sequencer posted down onto Solana, which is what we call the data availability layer, this binary of rollup data which Solana can't really understand but is just kind of holding in its data logs.
Speaker 3The nodes of our rollup will go and read that off. Essentially, once it's confirmed on the Solana layer, you just kind of read in the call data and you kind of deserialize it and you're like, hey, this is all the stuff that we we saw posted on solana. I'm gonna run all this data through my own kind of virtual machine and I'm gonna recompute the same stuff and I'm gonna check with all the other kind of full nodes in the network and we can kind of agree on certain things. So to start, yeah, I guess we'll have a few full nodes. I've already talked to some of the major like rpc or like validators, on solana.
Speaker 3You know triton and helios and all these guys. So I think they're very happy to run infrastructure from us and help with some of the some of the decentralization, and here it is permissionless like anyone can go and spin up a node similar to solana, which is great, and we're going to try and distribute this stuff as widely as possible. Obviously there is a bit of a cost to running it, so we got to figure out ways to subsidize it and get people excited to do that. Likewise, because there is going to be the ZK component that you also have to kind of do some proving and slashing on things. You know you will have to work with these kind of risk zero VM run, some ZK proofs, these things that are not necessarily cheap if we go down the ZK route.
Speaker 2So, yeah, just thinking through some of the uh economics there and making that feasible for for kind of node operators as well do node operators get paid in soul like, just like they do on mainnet or with the transaction token, like is there a fee or something more?
Speaker 3with the transaction token. But we're we're still kind of thinking through the specifics of this, how we kind of engineer that in there. There's also the new thing that has popped up is is restaking how that works with roll-ups, which has been interesting, but I'm honestly just still getting my head around some of those concepts.
Speaker 2Okay, so you might use, like your token, as the transaction token.
Speaker 3Yeah, yeah, that's right. I mean, yeah, I'm still kind of conflicted because we want to make it gas free, at least for users, but I think it would be nice to have utility, I guess, on the roll-up for kind of node operators and infrastructure providers and be able to work that in there.
Speaker 2For you to incentivize people to join, there has to be an economic value right. One of the things, my thesis for alt-SVM whatever you want to call it a roll-up or app chain or whatever is that it really just grows the pie for builders and for validators, and those are the two most important constituents of the Solana ecosystem. And then users obviously are the other really important group. But I mean, I think the ecosystem doesn't exist without the builders and without the validators, and so the more revenue we can help validators generate, the more sustainable the economy of Solana becomes.
Speaker 2And there's been a lot of talk about the network and L2s just wanting to extract value and make money, which I think is totally a fair reason to build your own chain in an L2. My thought is and that hasn't been really discussed is that the validators, the operators, are the network, and so anything we do that makes them more money and more stable strengthens the network as a whole as like an economy. And I look at like alt SVM is like part of that big Venn diagram of the Solana economy.
Speaker 2So I'm happy to hear that it's permissionless and a lot of people are going to participate and you'll figure the economics out. You know you'll figure it out because you have to, otherwise you're not going to get. You got to align the incentives somehow, and tokens are like the greatest incentive aligner, that and like USDC. I mean you could literally just have them take a piece of the transaction fees. You know that would hit your revenue, but it would definitely increase the decentralization of that layer of your stack. We're getting towards the top of the show here and I always ask the same question what have I not asked you that you wish I'd asked or that I should have asked?
Speaker 3Oh, something that would be interesting actually is we are trying to figure out, essentially because we're trying to move, I guess, from just being an app chain and just being a purpose exchange on a roll up to actually supporting a more fully fledged ecosystem, and I think this maybe also dovetails nicely into some of the work that you're doing, Alex, in terms of SVM. So we're trying to see and get expressions of interest for, like who would be interested in building on top of our roll-up. I think it's kind of like a longer term play. We don't have the full kind of nuts and bolts ready yet, but I think it'd be really cool to see use cases of apps that people would like to build.
Speaker 3I know there's a lot on the gaming side deep in DeFi is definitely our specialty, but we think this kind of infrastructure that we're building can be generalized to a lot of this stuff. It's kind of a new area. So we're always looking to meet and connect with builders who are looking to explore some of these things and how we can kind of improve the, the tooling and the dev x as we go to mainnet and try and attract some of these teams. I think will be interesting. I haven't done too much dev rel myself in kind of recent years, but I think it'd be kind of cool seeing the use case that people want to build and how we can kind of, I guess, adjust things on our side to to open it up to a more broader ecosystem.
Speaker 3Because we do want to make it permissionless, we do want to have basically like a SVM module that people can put their own smart contracts and run things that will kind of interact with some of the native programs on the chain. You know that do some of the perps and lending and things like that. So yeah, I'm just like very excited to see the scope of what people want to build on some of these Solana rollups.
Speaker 2Time will tell, it's early, but I think you're going in the right direction. I think my only suggestion would be as long as you open source the stack, the values in the network and in the users and the volume that you have. So if you open source the tech stack and make it easy for builders to integrate, they will, yeah, open source for the win there, I think. Yeah, we can definitely talk more about some other things that we're seeing, but generally speaking, I think gaming, defi, specific things you brought up a lot of like the fine tuning you wish you could do on mainnet that you can't. That's like a big reason.
Speaker 2A lot of teams aren't doing it really as much for the congestion or any of like the scalability issues, but they're just doing it for control. I mean, they're just experimenting with different structures. Yeah, time will tell. I mean they're just experimenting with different structures. Yeah, time will tell, it's very early. I mean I'll give you like an idea of the market right now for this. Most of the people are rolling their own right, which is sort of classic early stage right. They see a problem and they try and solve it themselves. So you know there's something there and then you've got a bunch of VC funding behind it.
Speaker 2So I would estimate, estimate like I don't know how much money you guys have raised, but I'm not even including that number, but from what I can see, just the people that are in, like the SVM community chat that we started, it's maybe a quarter billion dollars in venture funding so far, across teams that are building like all the SVM products and services and I'm not including, like the, the RPC companies or like the core infrastructure I'm talking about, like actually they're like changing the validator client or they're doing something like to abstract out of mainnet, like those venture dollars.
Speaker 2They're being put to work with engineers. They're solving really hard problems that might be already solved by your tech and they can still build their business.
Speaker 3They don't have to do all this hard stuff more that we can, I think, reuse some of these tools and and build things that people can extend on and, I agree, open source more of this stuff. Obviously, once it's audited, I think that will be great.
Speaker 2Don't want people reinventing the wheel yeah, I mean that's the whole reason we started the chat. I had like 10 people in my, my slack and they were all saying the same problems, like many of of the stuff that you just said. They're all saying and I was like why are we just in silos? We should just be talking to each other and just ship open source software and then contribute to each other's stuff. I'm really excited to see how it takes place. Yeah, thanks so much for coming on the show.
Speaker 3Appreciate it and looking forward to actually showing all this stuff that I've talked about. We're trying to get a demo out by breakpoint. Either it's just going to be a screen recording or hopefully if all goes well and I work crazy hours we can get out like a little bit of a test net that people can play around with. You know, mint some tokens, maybe use like a basic exchange and stuff like that. I think that will really showcase that hey, this tech is real, it's working. And then we're also targeting mainnet, hopefully q1 next year. There's still fair few things to build that we've kind of talked about here, but I think it's good.
Speaker 3We're working really hard towards these kind of deadlines, want to be one of the first to market and have something to show for it. A bunch more engineering to do, but, um, yeah, we'd love people to kind of connect at breakpoint or reach out on twitter if there are things I'd like to see or new product experiences that they they want to build and things that they want to see from our purpose exchange. Like I want to be out there building in the open and trying to service these needs.
Speaker 2Awesome, really appreciate your time.
Speaker 3Great. Thanks a lot for having me.
Speaker 1You just listened to the Index Podcast with your host, alex Cahaya. If you enjoyed this episode, please subscribe to the show on Apple, spotify or your favorite streaming platform. New episodes are available every Friday. Thanks for tuning in. Thank you.
Olli-Pekka Heinisuo wrote a Python package that ended up on NASA's Ingenuity helicopter on Mars. Now he is building GitHits, so coding agents can read open source the right way. In this episode of The Index Podcast, the...
Alex Cutler quit his job with no plan to become a founder. Years later, his team at Dromos Labs merged Aerodrome and Velodrome into one exchange called Aero, with no VC funding. In this episode of The Index Podcast, the...
Are game studios just renting their players from platforms? Chris Hewish, President of Xsolla and author of Durable Advantage, says the companies that last are the ones that own the relationship with their players. In...
Leo Fan spent two years learning how to build custom chips for zero-knowledge proofs. Then his company, Cysic, paused the chip. The founder and CEO, a Cornell cryptographer, explains why the market told him to wait. In...
Jon Swartz has covered Silicon Valley for about 40 years, and says parts of today's AI boom remind him of the dot-com era. In this episode of The Index Podcast, host Anne Ahola Ward sits down with her longtime friend...