Antonio Juliano is Founder of dYdX, and Uri Kolodny is CEO of StarkWare.
State of the Nation is live-streamed on Tuesdays at 11am PT.
------
🔀 10% Off dYdX Trading Fees w/ Bankless! https://bankless.cc/dydx
------ 🚀 SUBSCRIBE TO NEWSLETTER: https://newsletter.banklesshq.com/ 🎙️ SUBSCRIBE TO PODCAST: http://podcast.banklesshq.com/ 🎖 CLAIM YOUR BADGE: https://newsletter.banklesshq.com/p/-guide-2-using-the-bankless-badge ------ BANKLESS SPONSOR TOOLS:
💰 GEMINI | FIAT & CRYPTO EXCHANGE https://bankless.cc/go-gemini
🦊 METAMASK | DEFI PASSPORT https://bankless.cc/metamask
🦄 UNISWAP | DECENTRALIZED EXCHANGE http://bankless.cc/uniswap
🔀 KWENTA | SYNTHETIC ASSET EXCHANGE https://bankless.cc/kwenta ------ State of the Nation #41: Scaling DeFi Guests: Antonio Juliano & Uri Kolodny
Antonio Juliano (founder of dYdX) and Uri Kolodny (CEO of StarkWare) join this edition of State of the Nation to discuss their new announcement: dYdX, in partnership with StarkWare, recently released a Layer 2 Product for Perpetual Contracts, which namely allows for leveraged trading.
Perpetual Contracts expose investors to a synthetic contract, representing the price action of a given asset. The nature of perpetual contracts allow for flexibility and expression in the financial mechanisms powering the contract, giving traders the ability to use leverage. These types of contracts attract high-level, high-frequency traders and make scalability crucial for a platform to be capital-efficient.
StarkEx is StarkWare's scalability app, which uses StarkWare's Cairo, a Turing Complete coding platform, to support Layer 2 Scaling for transfers, trading, derivatives, and NFTs. dYdX rebuilt its interface, backend, and order-book; it then paired with StarkEx to create a scaled, decentralized derivatives exchange. Throughout the development and launch of its new product, dYdX has continued to emphasize the DeFi core values of being non-custodial, trustless, and permissionless.
A major upgrade is cross-margining on dYdX, which allows users to provide universal collateral, instead of having to provide collateral for each market. Other improvements include lower gas prices, increased oracle performance, higher maximum leverage, and no minimum trade size. With these upgrades, dYdX offers better performance with no loss in decentralization or security.
This is how DeFi needs to scale – increasing performance while maintaining decentralization and security.
------
Resources:
dYdX Announcement Post: https://dydx.exchange/blog/public
dYdX: https://dydx.exchange/
StarkWare: https://starkware.co/
Antonio on Twitter: https://twitter.com/AntonioMJuliano?s=20
Uri on Twitter: https://twitter.com/ukolodny?s=20
An Incomplete Guide to Rollups: https://vitalik.ca/general/2021/01/05/rollup.html
------ This Week on Bankless:
⚒️ How to Crypto Tax (4/7): https://newsletter.banklesshq.com/p/how-to-do-crypto-taxes-for-the-lazy 🎙️Hayden Adams Podcast (4/6): https://shows.banklesshq.com/p/-uniswap-hayden-adams 🧢 Weekly Action Recap (4/3): https://shows.banklesshq.com/p/-rollup-visa-on-eth-snl-nft-skit 🗞️Weekly Rollup (4/2): https://newsletter.banklesshq.com/p/ethereum-visa-weekly-recap-526 🚨 Alpha Alert: Fei Protocol: https://newsletter.banklesshq.com/p/-alpha-alert-fei-protocol-genesis 🦄 The Story of PleasrDAO (3/31): https://newsletter.banklesshq.com/p/xykan-ethereum-story ⚒️ How to Stream Money (3/30): https://newsletter.banklesshq.com/p/how-to-stream-money
----- Not financial or tax advice. This channel is strictly educational and is not investment advice or a solicitation to buy or sell any assets or to make any financial decisions. This video is not tax advice. Talk to your accountant. Do your own research.
Disclosure. From time-to-time I may add links in this newsletter to products I use. I may receive commission if you make a purchase through one of these links. Additionally, the Bankless writers hold crypto assets. See our investment disclosures here: https://newsletter.banklesshq.com/p/bankless-disclosures
No summary for this episode yet.
You All right, bankless nation. Welcome to another episode of state of the nation. This is the episode where we talk about something big. That is happening that has happened in the last week. We relate it to some of the bigger picture topics we discuss on the podcast and right about in the newsletter. And then we drop some insights and action items. This comes out every Tuesday. We live stream it on YouTube. If you're watching it live now, hello, this also comes out on the podcast on Wednesdays. David, how are you doing today? Absolutely. Fantastic. Another great day in the world of Ethereum.
Something new comes every single week. And at this point, it seems like every single day of every single week. And this today of this week is a new announcement from a DIY DX and StarCware, which is going to I think rock people's world. And so we're going to get into that as well as a number of other subjects. This is one of my favorite announcements because it's not just like an announcement that something is coming. It's an announcement that, oh, we just shipped a main net. And what they shipped is really cool. This is a combination collaboration from DIY DX and and StarCware. I think of this not their words, but I think of this as kind of a bitmex killer.
So like a centralized perpetuals derivatives exchange killer. That's how cool it is. But this episode is unique because we have two guests. So we have one from D Y DX, the founder of D Y DX. We're going to introduce in a little bit and also the founder of StarCware to talk about this collaboration. And I think there's two stories here for the bank list community, David. The first is this is the story of a defi app. A story of a decentralized non-custodial exchange called D Y DX. And it's trajectory of eating its more centralized competitors. That's kind of the first story. And I think we'll talk about that mostly in the first half.
And the second story is a story of a network. This is the story of how Ethereum scales, how Ethereum might come to start to eat some of its more centralized competitors. Maybe some of the eith killers out there. This is the story of Ethereum scaling through technology. So I think these stories are sort of interwoven and really exciting to talk about. And these are the perfect guests to go through them with us. Yeah, you said that right. It's been frustrating when we're on the bank list program and we talk about, oh, this L2 will be deployed in two to six months. That's been kind of the through line that we've had for the last year now.
It's like, oh, yeah, this is coming. And now it seems to be that the wave of, oh, the thing that we talked about, it's here now. And so hopefully this is the first of many to come. We could really use some scale on Ethereum. And like you said, this is the story of DYDX, which is an Ethereum application that is exactly like similar legacy financial applications or products. But now it's on Ethereum and it gets all the benefits of what Ethereum has to offer. And so hopefully this is an anecdote of a greater story of Ethereum scaling while maintaining decentralization and permissionlessness. The layer to wave is coming.
This is just, you know, the first part of that wave, the crest of the wave, if you will. We've got some other new stuff that's coming up and has come up in the bankless community lately. One is a speaking of stories, this amazing story with the founder of Uniswap, Hayden Adams, another Adams on the podcast, David. It was a year in the making, but just like a fantastic episode, kind of the canonical episode of the story of Uniswap, which I'm shocked is not told in mainstream yet. But you're hearing it on bankless. This is the story of Uniswap and the shipping of V3 so cool that came out on Monday.
David, any words from that episode that you want to highlight? Yeah, we made sure to take as much of Hayden's time as he would give us because he's made his time so scarce up until now. We were going for two hours and then we had to pause the interview. And I was like, Hayden, like we still have like a number of subjects we want to get through. Yeah, we need more time and he said, yeah, I'm just going to knock out of my next meeting and he stayed chatting with us for the full two hours and 35 minutes. The complete story of when Uniswap was just a blog post on Reddit to Uniswap V3 and where we're going into the future.
And also a similar through line, I think to the conversation we're going to have today where that's the story of one single app. But the through line is a story of prioritizing decentralization above all else. Absolutely. We also had a really hot podcast that's coming out on Monday. We recorded that last week with commission SEC commissioner Hester Perse. She's known as as crypto mom as a moniker that the crypto industry has given her. Wondering if she is now going to become defy mom as an advocate for crypto, some sorts in the SEC. So that conversation is dropping on Monday. David, we've got some great stuff going on with the bankless badge as well.
Like so the bankless badge is something you get when you become a full member of bankless, right? So that's the newsletter. Can you talk about what we're doing with that badge now? Yeah, we are going to do a big push for the badge. We're awarding members of the bankless who hold the bankless badge. Hold on, let me get that. There we go. And so we are going to be giving doing some giveaways. And so we're going to give away a BAP for those that aren't familiar. The BAP is the crazy, awesome, vibrant t-shirt that you see Ryan and I wearing usually on the Friday weekly roll-up videos. And then we're also going to give a raffle away.
This is a raffle. So not every bankless badge holder will be able to get one. There's only 50 BAPs out there and we're giving away one of them. Maybe we'll give away more in the future. We're also going to air drop an ETH to the raffle winner in the future. And then perhaps some NFTs down the line. I have a relationship with a guy who does a coffee startup and perhaps a year long coffee subscription. The bankless badge is something you want to own. Yeah, absolutely. So this is an NFT that you get. We mint them on a monthly basis. You get when you become a member of the bankless community. And we want you to get these badges in April.
Lots of benefit to doing so. These raffles are just one. So make sure if you're an existing bankless member, you haven't gotten your badge yet. Make sure you do that. We will include a link in the show notes with some instructions where you can do that. Well, David, we should, well, actually, before we get to, before we get to our guests, I got to ask you the question. We always start these episodes with, which is what is the state of the nation this week, my friend? Yeah, this one's an easy one. The state of the nation is scaling. We are scaling out the network. We are scaling out the nation.
We are growing in how much throughput that we can put through the Ethereum blockchain with data. And then also what that means is that because we can host more data throughput through technologies like StarCware, we can also scale out the social society on this Ethereum blockchain. It's always been one of my crazy ideas that I've had that like if we can put more transactional data through Ethereum, we can host more people. Actually, maybe that's not that crazy of an idea. That's perhaps the main reason to why we scale Ethereum in the first place. So not only are we scaling the data throughput, but we're scaling the size of the bankless nation.
Scaling the social layer, also scaling the network layer with transactions per second. That is going to be the conversation we will have with Antonio, who's the co founder of DIY DX and Yuri, who is the co founder of StarCware in just a minute. But before we do, we want to tell you about the fantastic sponsors who made this state of the nation episode possible. Metamask is your go-to wallet for the bankless journey. If you're going bankless, you need Metamask period, browser and mobile get them both. This is your tool to unlock the world of DeFi. Here's my favorite part. Now you can swap tokens directly in Metamask with a single swipe.
This has got to be the easiest way to trade Ethereum tokens. Choose a token you own, a token to exchange it with, and get your quotes. If you like what you see, you hit swap. That's it. What makes swap so useful is what happens behind the scenes. It compares DeX's, aggregators and market makers to find you the best price with the lowest network fees and the least slippage. This means you can swap a wider range of tokens and swaps can even automatically split up your trade to give you access to better liquidity. You don't even have to think about it. Try it out, download Metamask for desktop or mobile now at metamask.
io and start swapping. Bankless is proud to be supported by Uniswap. Uniswap is a new paradigm in asset exchange infrastructure. Instead of a cumbersome order book system where trades are matched with other humans, Uniswap is an autonomous piece of software on Ethereum, which is what Ryan and I call a money robot. No human counterparties or centralized intermediaries, just autonomous code on Ethereum. Input the token you want to sell and receive the token you want to buy. Something brand new in the Uniswap ecosystem is the Uniswap grants program is now accepting applications for grants. We have been saying this for a while and we'll say it again.
Dows have money and they are in need of labor. If you think that you have something to contribute to the Uniswap Dow, apply for a grant to Uniswap. Just look at the size of the Uniswap Treasury. It's almost $3 billion. This mountain of capital is looking for labor. Do you have something of value to contribute to the Uniswap Dow? No matter how big or small your idea is, you can apply for a unigrant at unigrants.org and help steer Uniswap in the direction that you think it should go. That's exactly what we did to get Uniswap to be a sponsor for Bankless and you can do the same for your project.
Thank you Uniswap for sponsoring Bankless. We are super excited to introduce our next guest. We have Antonio Giuliano, who is a co-founder of DYDX. And Yuri Kolodni, who is a co-founder of Starkware. Guys, this is the team up. DYDX has a non custodial derivatives exchange. Starkware has some amazing Ethereum layer to tech and together they just delivered something amazing to mainnet that we will get into. We are going to let them tell us more, gentlemen, it's great to have you on Bankless. Happy launch day. How are you feeling? Thank you. Yeah, feeling great. We are super excited to finally have this product live and out to everyone.
I think you guys gave a great introduction where the point is we have been talking about both us and a bunch of other apps and scalability solutions. It's coming. It's coming in its final year and it's just good to finally have everyone be able to use it. Well, Antonio, let's kind of start on that theme. So tell us what did you just release to mainnet right now? Yeah, we released our brand new Layer 2 product, obviously in partnership with Starkware. And this product is for perpetual contracts, which are basically a type of derivative contract, the most popular trading product in crypto period.
It's kind of a more sophisticated type of trading product, which gives users really great access to leverage amongst a bunch of other features. But perpetuals, as I mentioned, they're quite literally the most popular trading product by volume in all crypto combined. They're bigger than even all slot trading mind. Duidx, we're kind of one of already the leading decentralized exchanges for perpetual contracts. And the thing we just launched on layer two is not only just basically putting what we had already on layer two, we built an entirely new product from the ground up, new user interface, new backend, new order book, new everything.
And kind of paired that with Starkware's awesome scalability solution to create something that I think is really awesome. So decentralized exchange focused on more advanced financial products and specifically perpetuals. Can we talk about just like a quick explain it like I'm five on perpetuals, Antonio, before we go any further, I know we have a detailed ask me anything where you explain this. But for someone who's just bought generally spot on something like Coinbase or Uniswap, what is a perpetual house at different houses similar? Yeah, absolutely. So perpetuals are a type of synthetic contract, which sounds fancy, but all synthetic really means is that when you're trading these contracts, the actual asset that you're trading.
So say you're trading a Bitcoin perpetual doesn't exist in the contract, a derivative basically just means that you can put a lot of different like financial mechanisms to create a different asset, which actually trades at the price of another asset. So a Bitcoin perpetual, for example, is a synthetic asset, which trades at the price of Bitcoin and you might ask yourself, well, why do I want this? Like why would I not just trade regular old Bitcoin? And the answer to that for the most part is the concept of leverage and the concept of leverage what that basically means is you can multiply the capital that you're trading with.
That's a really powerful concept. So basically you can come to DUIDX and you can put down a deposit of $1,000 and you can immediately start trading as if you had $5,000, $10,000, potentially up to $25,000, depending on how much risk you're willing to take on. So just that concept where you can come to DUIDX, you can immediately buy say like 10X the Bitcoin or whatever leverage you want to use, then you could have otherwise on spot trading is a really powerful concept and something that's uniquely enabled by perpetuals. Antonio, I want to go into that a little bit more because I think the user story of people who are compelled by this kind of product may illustrate why an L2 is so valuable here.
So when it comes to the full range of spectrum of people who invest in crypto, there's people who buy on exchange and then they put it in the cold stores and then they never touch it. And then on the other side of things there's like high frequency like traders that are doing like 10,000 transactions a day. And in my mind, DUIDX is obviously in the middle of that, but closer to the end of theirs, multiple transactions going on in a short time frame, which means that we really need scale. Maybe you can illustrate for our listeners like, what is the disposition or types of traders that would come to use DUIDX and how frequently are they trading, how frequently are they making transactions and hopefully that goes into the story of why we need scale.
Yeah, absolutely. I mean, that's a great intro. I'd say there's kind of two classes of customers that we support right now on DUIDX. And the first is kind of the right most end of the spectrum that you were alluding to in terms of the more advanced kind of sophisticated more like crypto funds basically. And these types of traders, as you say, do need really high performance, they need to execute a lot of trades, they need to be able to put and cancel a lot of bids and asked on the order books, they require access to more sophisticated order types, things like limit orders, things like stock orders, stuff like that.
And then the second kind of archetype of users that we have on the platform is more individual traders and not so much the like I just bought my first Bitcoin on Coinbase type of users or kind of like in the middle where, you know, they're more active traders, perhaps they're more actively trading. Bitcoin or Ether other cryptocurrencies all the time, kind of trying to profit on shorter term moves up and down or sideways. And that's kind of what we're targeting like these two classes of users. And even kind of those individual traders, they also require like pretty high performance and they require access to just like, you know, new order types, different types of derivative contracts like perpetuals.
And that's what we're really focused on building for them. So Antonio, we want to start to shift this to the conversation of kind of what's new in layer two and with this new main net deployment and get area into the conversation as well as we talk about that. But maybe you could kind of tee this up for us. So my understanding of dy dx on main net was that basically there was this this throttle in terms of how much you could scale on on main net, right. So gas was high. I think that you guys do IDX was we're paying some of those gas fees. So you were feeling the pain as a business and you knew it wasn't sustainable to continue providing the rich experience of dy dx and expanding to the future on main net.
So you decided you needed like a layer two. Can you talk about kind of the pain points that you were feeling and then why a layer two and then why in particular stark where and then we'll get to you're in his, you know, description of what stark where provides but first to this up for us Antonio. Yeah, absolutely. So I guess the main reason that we needed a layer two is pretty obvious for anybody that's been using defi is that the gas fees are insanely high. And previously dy dx on layer one worked pretty similarly to how most other decentralized exchanges work in terms of for every one trade that was on the platform that mapped to like we have to send one transaction to layer one theorem.
And this has been getting just ridiculously expensive, especially in the past few months. I believe on average it's costing users about a hundred and fifty dollars in gas fees per trade to execute a trade on layer one on dy dx and oftentimes we'll see this like up to hundreds of dollars. I've literally even seen it be over a thousand dollars to in gas fees to execute a single trade on dy dx on layer one at peak times like when the price is moving a lot. Which also is when people most want to trade so it's like double whammy there. So it's just like who's going to use an exchange where you have to pay a hundred dollars in fees to make a trade like nobody.
Well, like maybe like really big whales, but like that's basically it. So that was just kind of the first and overarching problem that we needed to solve did really stop there. There were a bunch of other limitations actually that are a little bit more behind the scenes, but that are actually really impactful to kind of the quality of the product that we were able to build on layer one Ethereum. I'll just touch on them briefly. The first is this thing called isolated versus cross margining, which sounds fancy, but it's actually a pretty simple concept what isolated margining is on layer one is you have to put down collateral separately for every different market you want to trade on.
So say on layer one on the ydx you come and you're like I want to trade both Bitcoin and Ethereum, which is like a pretty reasonable thing, right. You'd have to put down collateral for the Bitcoin market and then separately put down collateral for the Ethereum market, whereas on layer two, because of the increased scalability and what stark was able to offer with kind of their fully featured platform. We're able to build this thing called cross margining, which basically just means you can have one account so you can deposit to allow collateral to do IDX one time and then you can just start trading every different market that do IDX has.
And this is going to allow us to launch a ton of new markets, one of the really big candy caps we had on layer one do IDX was because of the scalability, we were only able to ever have three markets on the platform, which is not optimal, right. Especially with all of this like exciting stuff that's going on with all these new D5 coins and things like that, like again, like how are you going to be successful as an exchange if you can only support like for your four markets because of this isolated margining. Now with cross margining, we're setting up target for ourselves was launching 50 markets by the end of the year.
And we're going to start executing on this, we just announced this actually with launching all day and you need tokens, hopefully later this week or really next week and then just continuing to roll out with like two or so markets per week after that, which I think is pretty exciting. And then the last thing I'll close with before answering the second part of your question, which I think is a really big advantage of layer two is we're now able to offer much higher leverage on the platform higher maximum leverage that is on layer one because of kind of limitations and performance of price oracles.
We were only able to offer 10x maximum leverage on do IDX and kind of given a finance recently put out some data on their users usage of leverage where they basically said the average leverage that people usually use on finances and roughly in the 20x range. Yeah, absolutely disclaimer like think critically about whether that's the type of leverage that you want to be using regardless like for an exchange right and we need to support like the leverage that users want to use. We weren't able to do that on layer one and now with kind of the improvement and performance in price oracles that were able to have a three-star query on layer two we are able to support that and the really cool thing maybe just as a side because I think it's cool that were able to do with the price oracles is we use the exact same price oracles actually the exact same decentralization and same security.
That we had on layer one in terms of the chain link price oracles and then the maker down price oracles as well, but we put them on layer two instead so same decentralization same security way better performance and I think that's kind of the overall narrative of the story is that the product is vastly improved in a lot of different ways. So just really kind of quickly touching on the second question you had there in terms of okay, we knew we needed a scale like which scale ability solution do we actually use and kind of what led to the decision to use dark where there were three main things that we considered first of all obviously start where and more probably zero knowledge or start grow ups and obviously start where is the leader in that.
You know if we wanted to go with that technology start where was a pretty easy choice for us second of all we considered optimistic roll ups potentially something like an optimism and then third of all we considered other layer one block chain so I'm just going to take them in turn but in terms of why not other layer one block chains. I mean first of all kind of the scale ability is still like bounded and especially the amount of state you're able to put on chain is still bounded and that's something that that start proofs and start where all ups handle very well. Second of all just the state of the world in terms of like the quality of wallets the quality of cross chain solutions the quality of developer experiences on layer one is not there yet.
I suppose we were to move to like near or salon or something like that you know what wallet our users going to use like would they wouldn't be able to use metamask and that would be like a really big detraction and kind of the user experience we able to offer. And also like how are they going to get their coins over there like what cross chain solutions are available it's just not we wouldn't be able to offer the same product experience on those axes that we move to a different layer one. Then kind of optimism and optimistic roll ups that rolls up to Ethereum in a similar way to how our product would start for rolls up to Ethereum as well.
So we can you know we could still potentially use like the same wallets same everything like that with optimism but with optimism there's a couple of big I would say. You know I think they're trade offs but for us like I think the main trade offs with with optimism that weren't optimal for our product or first of all the withdrawal period is really really long. This is something that I think has been talked about by a lot of other people in this space but really high level overview. Because of the way optimistic roll ups work you can't actually take your money out for you know roughly a week or so which is a really big problem like who's going to use an exchange again where you can't withdraw your funds for a week.
There are ways to get around this you can potentially use like a central kind of liquidity provider to front withdraws but then the central liquidity provider has to have capital proportional to a whole weeks worth of withdraws on the entire system which is like even for also our scale like a ton and imagine if you're trying to scale to like a finance level like all of the withdraws for a finance for a week is just like. More like that probably exists in like all of crypto so so that you know we couldn't use for that reason and also like one big kind of downside or no yeah I would potentially I would say like a downside for an hour at least something that's very unproven with optimistic roll ups is first of all they're not you know publicly available on production yet.
And that was something that's really important to us like stark where has a really solid and long history of already being live in production for a while now actually with diversify which is another decentralized exchange which offers thought trading and that gave us a lot of confidence that you know we need to scale now like our users don't want to wait for like months on end to be able to scale. So which which scalability solution is the most production ready and I think that was obviously stark where and that was a big factor in our decision to use them as well. Great answer Antonio and I'm wondering if you could kind of continue the story here so Antonio's story he's got sort of this this defi app it's getting tremendous product market fit but gas fees are becoming too much you know on chain main chain congestion is too much and so he needs some sort of.
A layer to solution I'm wondering if this is a similar story you're hearing from other defi apps and also could you tell us a bit about what Antonio is talking about so in the in sort of the press release an announcement there is solution called a stark X I believe is what is that is that is that the solution that D Y DX is built on tell us about that so please continue the story. Sure so D Y DX's story is is really the quintessential experience for a lot of of defi applications and and they're basically the worst thing that could happen to you if you launch adapt is that you know no one shows up the second worst thing is that if you know everyone shows up and and that was sort of D Y DX's experience and I mean when we first started talking to Antonio and the D Y DX team.
They're spending in terms of of an annual month in expenditure on gas compared to revenues was fast rising and shockingly enough in no way bound by their monthly revenue right so yes spending was crazy and you have this odd situation where you know you've spent on customer acquisition they show up the knock at your door and you have this minimum trade size. And this minimum trade size is in fact rising so okay so I traded for two you know I made a two cake trade today which was fine with the Y DX gas prices keep moving up and they just pushed up the limit to whatever three or four I think it went all the way to seven care even beyond that at some point now what I could from think about this from a user experience perspective I could conduct this trade two weeks ago or a month ago and now I can no longer do that you know how how difficult is that in terms of a customer experience.
So in that regard I think the D Y DX story is very very much the standard DeFi story a situation where transaction costs are really killing the business and killing the sort of the narrative for permission of this blockchains and defile this democratization of access to these tools there's nothing democratic about a transaction at you know hundreds of dollars everything becomes a whale chain. Everything becomes a whale chain and you're saying so hold on a second that the whole exercise was you know to end up with this kind of story no that's not what we're here so so and that regard it was a very I think I think it's a very typical story and then we've heard it from from other teams as well.
In terms of your question about Starkex so Starkex is our scalability app and currently it can support a whole bunch of different functionalities so it can support transfers and spot trading this is what we've been doing with diversify since June of last year it can support the rivet of trading and this is live on mainnet with the Y DX as of this morning and it can support NFTs both minting and trading. And for that you won't have to wait more than actually a day to see on immutable X so it can support a whole slew of different functionalities this is all powered by Cairo Cairo is a train complete language that we've developed developed in house at Starkeware and it can support the scaling of any doubt any business logic using starts.
And it's it's a very efficient language and the proof is in the pudding here we are able to to to support the Y DX transactions today at below 5000 gas per transaction. That's pretty incredible. I'm wondering if maybe we could go into that in a little bit more detail because sort of in the in the crypto community and anyone who's familiar with engineering always recognizes that there are some tradeoffs with a solution. Have we made any decentralization tradeoffs here in implementing something like a stark X so dy DX on mainnet versus a dy DX in a stark X on a ZK roll up chain. Have we lost anything are there tradeoffs that have been made obviously we got the gains of of scalability and many of the gains that internally was just talking about but what have we lost.
So I think that we actually haven't lost anything do I DX had an off chain operator beforehand and still has one now they had the intuition and tremendous wisdom you know this is going back to what an Antonio mentioned to actually redesign their system. Okay so in a lot of a lot of cases and a lot of the layer two teams are saying you know we're going to have this big bread button that says compile my celebrity code into whatever it is to the optimistic roll up of choice or to the ZK roll up of choice etc just take my business logic that I wrote for layer one just move it to layer two. And dy DX had the good sense actually not to even aim for that but actually take a step back and say hold on a second we have this off chain operator right now it is centralized dy DX Antonio can talk about this in great detail they they have a decentralization vision that they're aiming for.
But as a first step to say let's see if we can make this system better by having this off chain entity function in a much more trustless fashion. Okay and what can be done using starts in that regard and cross margining and much higher frequency price oracles and the benefits that this brings in terms of leverage in the system and the ability to introduce so many more assets the removal of minimum trade size all these features are a result of the fact that they actually redesign the system from scratch using the tooling that we've developed. Let's go I'd like to go into this off chain operator a little bit more what what what does the off chain operator do and how is it when dy DX is on the main chain and how is it different when is dy DX is on the start where.
Yeah I can take this one so it's basically exactly the same so dy DX is right now what's known as a hybrid exchange by some people which basically means that we have some kind of off chain operators and then we have some things that are on chain as well which are of course the smart contracts. Basically we run our order books and we run our order matching in an off chain way and we have been doing that for like two years or something now and this model just allows us to get kind of the really big increase in performance that I was touching on before that's basically required. For kind of the level of traders that we're trying to attract and kind of the crypto funds and advanced individual traders so we've had that for a while and I think the point that Yuri was making which I would wholeheartedly echo is that we haven't changed that at all to kind of move from Ethereum to star queries layer two.
And basically what we have is we just kind of store these like off chains like cryptographically signed messages which are kind of similar to zero x orders if people are familiar with that and we store these on kind of our off chain matching system and then whenever we execute a trade we just send it on over to start where they do all of the kind of the start proving and the batching and things like that which is where all the scalability comes from. We probably dive into that more later and then it gets all just put on chain in a really quick way and then once it's on chain it's 100% as decentralized because of the the start proofs and kind of the little validity checking that goes on in the smart contract says anything else somewhere one Ethereum.
So how would you describe that dichotomy between what you guys do on chain and what you do off chain right so assets obviously stay on chain you can't actually move them off chain but then just the order the logic in an order matching is off chain what does what does that mean for the trust of the user with in regards to do IDX what are they trusting you to do and if perhaps if you guys were malicious what could you do. Yeah absolutely good question so they're basically trusting us to just like allow them to trade on the order book right and there are ways basically where you can trade on the exchange they're they're not normally used but they're basically used if a user you know even so much just thought we were being malicious for like whatever reason you could go directly to the smart contracts you could trade out of your positions you could close your positions you could always withdraw so that's kind of where all the non custodial trading.
So normally you go through the front door and you just talk to our matching engine but then for whatever reason if you want to you can always just go directly to the smart contracts as well so they're really not trusting us for anything really I mean we could potentially give them like a degraded product experience like if we want to but you know they could always just go to the smart contracts and with draw their funds and trade that way as well. So there's nothing there's nothing about the dydx protocol that can't be accessed by the user you guys just kind of have like a monopoly on the front end is that a is that a good way to put it.
Yeah that's a good way to put it basically on kind of like the product that you know the website that we build basically like using that has to go through our matching engine. Anthony I wanted to just get this question out of the way because you know some folks that are listening are obviously based in the US and when they try to access the new dydx they're geoblocked I'm just curious if you could get into the to the reasons why and of course they are geoblocked on the front end anything that is on chain as a smart contract cannot be geoblocked but we talk about the reasons for that and where's where that's coming from.
Yeah absolutely so it's a very complicated issue and I won't touch on like every like specific like legal issue here but the place is coming from is just kind of a legal and regulatory obligation that we have it's very similar to basically like any other crypto exchange that supports derivative products right now. Again it's quite complicated and this is like a very high level like overview of it but it's basically like derivatives are very highly regulated like in the US so we can offer the products to us customers for that reason and that's something that's pretty standard across the crypto industry and again just echoing kind of what you're saying to where it's like you know you can't use our website basically but again like the protocol the smart contracts are still available to everyone and they can be censored.
Can you underline and emphasize what's different about dy dx versus a centralized competitor so when I think of a centralized derivatives exchange I always think of like the go to bit max right for instance what is the difference between dy dx and bit max from a trust perspective what are you trusting in a bit max that you don't have to trust with dy dx. yeah absolutely so this is a good question so the first and probably most obvious thing to anybody that knows what's going on D5 is that on a centralized exchange you're trusting them to cost to be all your funds that are on the exchange is very similar to Coinbase or Binance or anything else that's out there.
But the reason why this is especially impactful in derivatives contracts is because on spot trading you can normally just say like go to a Coinbase make your trade and withdraw immediately back to your harbor wallet or whatever you're using right. You can't do that on a derivative contract you have to leave collateral on the exchange for the entire time you have your position open so you may have to say leave your all of your crypto on a bit max or something like that for months on ends like as long as you want to like hold your lever long position on Bitcoin or whatever you're trading. On D5 dx because it's non-pustodial you don't have to trust us with your coins they're always withdrawable directly through the smart contracts and the security is based with the same as you would get on any other decentralized exchange.
The other thing that you're really trusting that's also very important to a bit max or any call it like centralized derivatives exchange is not only the custody of your coins but also the execution of the contract that you're entering into. So like I said in kind of alluded to these contracts are fairly complex under the hood there are a lot of different financial mechanisms that are used there are things like liquidations that happen there are times when insurance funds are used there are times when you're a deal averaged onto all of this and on a centralized exchange you're really just trusting that the exchange itself will honor or what kind of execute these contracts that you've entered into as per what they said they're going to.
But there's no way for you to tell and it's a black box right there's no way for anybody to really like go in and like audit the system and really understands like are the rules being executed like how are these contracts working. Whereas what we're able to build on our products through StarCore's layer 2 is something that's really transparent. So like the rules of these contracts are quite literally coded into encode the smart contracts and basically StarCore system that you're you're talking about with with power and everything like that. The funding rates the liquidations the deleverging everything is coded into the smart contract so again it's like you don't have to trust us to execute your contracts just trust the smart contracts or trust like these like third party audits that we have in all of this and that's just a much more secure and transparent way to trade.
So that was the comparing contrast of what is basically a defi app versus a centralized competitor but with this new StarCware announcement there's actually a lot that's actually now the same with bitmix and the same in a in a good way which is. The performance that is matching of a what you would expect in using a centralized exchange but you still retain all of the power and trustlessness and non custodial nature of smart contracts and auditability of smart contracts and this is I think the through line that a lot of people miss about. So I think that's a great way to describe this. And that's something we've been pushing for for a long time now with do IDX in general just like trying to build a nap that from a UX perspective is every bit on par or you know even ideally some passing what is available on centralized exchanges.
I think we've really been able to build it on kind of this new product on layer two. As you mentioned still retaining all of these great security and transparency advantages but now we have instant trading now we have just a really simple onboarding experience just like come with your ethereum wallet like any other decentralized exchange immediately start trading. You know that's way better than a centralized exchange right where you have to like the KYC you have to like do all the stuff likes it up your 2FA. So now I think we have a product that's every bit on par you know if not superior in some ways to centralized exchanges we're excited about that.
So guys the user experience of this if you've ever used a obviously metamask everyone who's listening to bankless has has used metamask you just connect metamask literally to this new dy dx exchange on layer two and it's it's gassless there are zero gas costs and the experiences just phenomenal right like transactions going in instantly zero gas costs. It is so cool to see the possibilities all of the the user experience enhancements that layer two can bring I just want to end this question. So where we're talking about tradeoffs and sort of security versus a bit max with maybe a question to to you're here so Antonio is describing all of the trust assumptions in a centralized derivatives exchange like like a bit max right we didn't quite get to sort of the base layer trust assumptions so let's say Antonio and dy dx just decided to deploy this on finance chain or create your own proof of authority.
Next I type network deploy it there instead. My understanding hopefully those who tune into the bankless program is they are now trusting a a different protocol essentially no longer trusting a theory and they're trusting the validators that validate transactions in that new kind of side chain network with dy dx on layer two in stark where are there any additional trust assumptions that we've added here. Or is this the equivalent of you know deploying something on main net in other words when I'm trying to ask areas are we trusting anything other than the security of the Ethereum base chain with this layer two deployment.
So as you point out with us something like finance chain we know for effect that you know they're I think handful seven computers that if you know those are compromised your assets are essentially you know at the whim of of whomever it is. Whereas on Ethereum it's a very different story now the beautiful thing about validity proof systems and star kicks in particular in this regard and everything that we're building is that we are our hands are completely tied in terms of our ability to act as malicious players. Meaning even if our systems are compromised both software and hardware okay think of this sort of a thought experiment if we hand over the keys to a malicious party and say these are our servers go and operate them the worst thing they could do in fact the only thing they could do is deny service users and as Antonio pointed out in that situation.
Users can go directly to the smart contract with their transaction say my transaction here has been denied I haven't been served this past a batch or the last couple of batches. The smart contract basically raises a flag for the off chain parties for start wearing the yx and says here's the user complaining serve their request. And if you don't within a reasonable time frame i'm freezing the system okay meaning any user who's denied service has the power to completely halt the exchanges operation. Way back in you know and the cold war this was called you know mutually assured destruction right next next best thing to you know the Americans the Russians each having no nuclear was weapons was you know having awful lot of them here there's this mutually assured censorship right meaning if do I dex if start where sensor users any user whose sensor has the ability to single handedly.
Sensor the exchange and return now that's an awful lot of power given to individual users. In terms of ensuring their rights and their self custody of their assets and that's essentially that's as good as as one could could get here as Antonio points that while maintaining a lot of the benefits of a centralized operation. You're what about the possibility of a user using this power when they shouldn't can they make this can they try to get this apple thing shut down in false pretenses no no so this is not like writing the subway and you know some prank of pulling of the emergency break because you come to this one contract and say my transaction has been denied if that transaction has been included in the last batch.
There's nothing you can do about it you can't you know crying wealthier won't help if you've been served you've been. Guys this is why we are so excited about this because we get the scalability benefits but we preserve banklessness we do not have to trust a third party custodian you don't have to trust a bank with your funds when you're using the dy dx exchange on start where we're going to talk more about that we're also going to get into. How start where solutions and how ZK roll ups in layer to scale Ethereum and scale DeFi but first we want to tell you about the sponsors that made this episode possible.
Syntetics is a theorems decentralized derivatives liquidity protocol what does that mean Syntetics is a platform for creating and trading synthetic assets which are assets that are priced via an oracle rather than bids or asks. Traders can use the Quenta exchange which hosts and trades all of this synthetic assets created by Syntetics. Traders on Quenta can trade synthetic tokens like SBTC S oil or S DeFi because Quenta is powered by Syntetics traders experience zero slippage on their trades. No I didn't mean low slippage I meant no slippage because that is the power of the synthetics platform no slippage on your trades you can also easily short assets with I synths which are synthetic assets that move inversely to their target asset.
Syntetics isn't just for traders developers can build on synthetics to access the infinite liquidity offered by synthetic assets or investors can stake collateral to the protocol and earn fees that the protocol collects. If you're a trader and you're looking for a trading platform and not found in the legacy world check out Quenta.io if you are a developer or you just want to earn yield on your collateral go to www.syntetics.io where you can stake your SNX or ETH and earn fees from synthetics. Gemini is the world's most trusted cryptocurrency exchange. I've been a customer of Gemini since I first got into crypto in 2017 and it's been my main exchange of choice to make my crypto buys and sells.
Gemini is available in all 50 states and in over 50 countries worldwide and on Gemini there are markets for over 30 various different crypto assets including many of the hot DeFi tokens and it's one of the few exchanges that has liquid die markets. Gemini just launched their Earn program where you can earn up to 7.4% interest on 26 various crypto assets. If you're tired of paying fees in DeFi or you don't want to worry about DeFi exploits but you still want to earn interest on your crypto assets Gemini Earn is the product for you. Another product I'm stoked to get my hands on is the Gemini crypto back credit card which gives you 3% cash back on all of your purchases but paid to you in your preferred crypto asset.
When I get my Gemini credit card I'm going to make sure that I get my cash back in ETH so whenever I buy something I get a little bit of ETH bonus back to me at the same time. You can open up a free account in under 3 minutes at Gemini.com slash Go Bankless and if you trade more than $100 within the first 30 days after sign up you'll be gifted a free $15 Bitcoin bonus. Check them out at Gemini.com slash Go Bankless. Guys we are back with Antonio and Yuri. We're talking about the subject of Ethereum scalability and this is sort of the question that's in everyone's mind right now especially as gas fees continue to go up and block space demand on Ethereum continues to increase is how soon will Ethereum scale.
I want to contextualize this before we talk about where Starkware is adding value and helping to solve this problem with a question. Do you think Yuri there is ever a point at which we say we're done okay Ethereum has scaled it's over we've met the thresholds mission accomplished yeah exactly. So I think when considering that question one good analogy is to look at what happened with say over the past 20 or 30 years okay and there in a very clear way the answer has been a resounding no at any given point in time right now are we done you know our optical fibers can do this are we good enough to know what about the routers you know what about.
Cell phones what what about streaming video what about live broadcasts you know thousands of people and so on so far. The the thing about about scaling solutions is that as they mature as they become stronger and more powerful new applications suddenly become available and those present every you know increasing demands in that dimension and we're only starting to scratch the surface here. You know saying we are no longer dealing with hundreds of dollars in transaction fees we're going back down to whatever to get fractions of a dollar. That that sounds to me like sort of an entry condition for the discussion right now the question is can we make this 100 times a thousand times 10,000 times cheaper and what will that mean for applications so we're far from that point.
So maybe we are even now still up 56 K modem days of. So how does it happen then Yuri so recently Ethereum has almost I want to say almost pivoted in a way we had Vitalik on not too long ago to help explain what roll ups are and he talked about the difference between optimistic roll ups and ZK roll ups and he seemed to you know his take was like optimistic roll ups they're kind of ready here ZK roll ups they are two. For specific applications he also said he thought in the future ZK roll ups because of these crypto cryptographic guarantees might be even more important to the theorem scale scalability journey in the future i'm wondering how you see it and take us through the like what's happening now and then how's it going to play out in the next.
You know you're two year three from now. So the interesting thing about this narrative and of course we've heard of italic and read his post about roll ups and all that but the you know in rough lines the story was. The mistake ropes are here they're going to dominate the near and midterm ZK roll up to take care of the long term because eventually the tooling will be advanced enough and they'll be able to handle general computation. Now Cairo is a general computation attorney complete language that's been on Maynet since June and as we see today with the idea X a ZK roll up is live you know from a massively scalable application on Maynet well ahead of any optimistic crops and there are no proverbial sort of custodial crutches here right there and there's no sort of.
Emergency button that we can hit that says hold on hold on a second you know this we were we were only kidding we're just testing the system this is it this is a live system and it's handling very complex arbitrary computation defined by dy dx so ZK ropes in spite of this notion that they're you know only going to happen later on in the future. Already for prime time ahead of optimistic robs and that's a message that we want to send across to the ecosystem and say whatever your needs are whatever your computational needs are in your you know no matter how you want to scale application we're ready for you we're ready for you today.
So that's on the topic of ZK ropes versus optimistic. Yeah I think that's a great point that you know the fact that ZK roll ups have have beat some of these optimistic roll up solutions to market is definitely a note at least to to me and I think David and many people on the bank listening I want to ask you about. The ability to have a terrain complete programming language inside of a ZK roll up because when we we talked to Vitalik he was kind of like well this is the hard part and it sounds like you have started to solve that can you talk about this what I think people really want is something that's EVM compatible I can just take my existing defi app with a few minor tweaks I can put it in a ZK roll up and it just kind of works.
It's out of the box how close are we to that and can you talk about the strides that stark wears is making on that front. Sure so we it's not that we've started on our journey to a terrain complete language we have it it's done it's in production right. D Y D X diversify the reddit scaling big off last summer all using Cairo so that's that's just a comment on that note. Now the question with these things and and I think we're sort of you know this is sort of a lot of people think about this late you know this is California and in the early 19th century it's only just begun. So also the real life considerations like like efficiency capital efficiency cost etc.
People say don't worry about all that stuff now efficiency of of a ZK roll up is a huge deal. Okay so building something that compiles EVM bytecode or solidity to say to Cairo or other languages is certainly a doable task. The question is how efficient is the resulting system. Okay and it is considerably less efficient than something that is built natively say in Cairo. How much less efficient I think something on the order of between 10 X and 100 X less efficient. Okay now these are costs that would someone have to bear in the context of the system but going back to I think a much more fundamental point.
The notion of saying let's just take my solidity and you know I got to tell you solidity isn't the kind of language where programmers say you know just might you know just. Let me have my solidity it's no one's love with. No one is in love you you have met me the guy who says okay I'll do anything you want just. But now the thing is that even if they did love solidity okay as Antonia pointed out with their system. The question is not so much the use of solidity per se but the fact that solidity was designed to run on layer one okay with the massive constraints of running on layer one. Now if all you did was take that logic and ported it to layer two you've missed out on a lot meaning the idea X could have done that let's assume so you know we had that capability.
Before launching the system do you want the X would have ended up on layer two with the system with a price Oracle feed every 50 minutes. Three assets or two assets only no cross margining no instant trading none of all the cool stuff that right now is sort of what's making the system a huge system. So so they would have gained nothing other than scale. It sounds like you're ordering like it sounds like you're making the argument you're a that rather than just port the stuff that we have from main net to layer two we should take a more first principles. And figure out what would be best in a layer two environments that the argument you're making 100% yeah I think that's a great point to I would wholeheartedly echo this that's kind of what I was saying before where like yeah the scalability is great like that's like we have to solve that.
But you get like so many second order benefits where if you're like okay well like now with this new like more scalable system what other features could I add like I make my price or pulls more performance could I make my. You know and I have cross margining and I had like you know whatever and I think there are a lot of things for any given application where that's the case and I think for good developers. It's really not a big deal to like rewrite things or write things like from first principles again interview language or on a new system. So I really think this narrative where like we need everything to be insolidity is a bit overhyped and I also strongly like echo like Yuri's points about like you know just we need to move away from this kind of notion that like optimistic roll ups are like the beginning and then like we'll go to ZK.
I click what's in production right now like they've been live with like diversify for like you know a year now you IDX one of the most like complex like computationally complex things on all of my one Ethereum like straight up like already live on stock where now to so it's like we're not talking anymore like it's here like you use the product and I think that's a powerful thing. This is why we love this by the way we love kind of the the rush to ship in layer two because it's kind of a survival of the fittest right all of these layer two solutions are competing to be the dominant one. And it's awesome because as a as a DeFi user we get the benefits of that we get to start using dydx maybe a little bit quicker.
I'm curious this this whole approach Yuri that you're talking about sort of this this first principles approach I almost want to hear the the stark where vision for layer two and what you guys have played because we've heard sort of the optimistic roll ups vision we've heard high level. You know the scalability vision for Ethereum from Vitalik and others how to start where see it I know you've got stark X that we were talking about and you also have stark net i'm not sure really what that is maybe you could talk about that in the context of your vision. Sure so stark X is our scalability app and as I mentioned it can support a certain set of of functionality transfers trading of certain types of assets minting of NFTs that's it right now what we really want to have is something like start net which is our vision for decentralized permission to see cable up.
And there we're thinking of something which is really a very very much an Ethereum like experience so anyone can do in the permission of fashion deploying whatever arbitrary logic they want in the form of a smart contract onto this layer to network that users would be sending transactions into the network much like they do on Ethereum today. And the system would be properly decentralized at every single layer now our intent is to take the stark X installations deployments that we will have deployed by then and offer them the ability to ports in a very seamless fashion on to start net if they so choose along with your user base and all that.
So that's the the stark net vision of course from our perspective from a business perspective, this is a must because. You know as wonderful as the dy dx team is there was very close contacts since when was it Antonio August or so last year building the system together now for us it was hugely important to understand you know real customer needs develop our software stack help it you know sort of mature solidify. This is sort of real life testing of whether the toolbox that we're building is powerful enough but to scale out the business we need to get to the point where any any developer any team of one or two or what not can deploy whatever idea they have onto the network without anyone's permission without talking to us.
Regardless of whether start where exists or not and they're off to the races and that's what's starting to start it is all about and this is sort of the vision that we just raised series B a couple of weeks ago. Once again led by paradigm with three arrows and I'll met a research and a bunch of our early backwards like Sequoia and founders fund and wing pantera and DCBC and this is exactly the vision that that they're supporting this permission is decentralized decay role. I've got a question for you because you seem to be a big thinker so I want to see I want to see if you have any well how far your imagination goes.
D.Y.DX is a tried and true financial product that came before Ethereum instead and what D.Y.DX is doing is taking this tried and true financial product and building it on this new financial platform. But that's doing an old thing in a new way and that's really cool but what about new things in new ways specifically enabled by what you guys are building out at Starkware. What are the perhaps new financial products that could be built using this new platform if you let your imagination go. Have you thought of any crazy ideas like this? Well I think that there are a ton of very beautiful ideas thinking back you know a few years back the first time this was like three years ago there was this I'm old and bald but new to the blockchain space.
But with the first idea that sort of clicked in my mind where I heard it and I said my god this thing can open up new ideas. This is a company called ncent which I think I can send incentivize which I don't think operates any longer but their idea was to take NFTs as a means of tracking all sorts of sort of brokerage like a brokering dynamics. So if you help someone fill a position you know like a staff staff a position in their company if you help someone sell their house. So let's say you know I want to sell my house I have an NFT that represents this sale I give it to Ryan he gives it to David because he knows David is interested in buying a house in my neighborhood.
Now here the path of you know of attribution who who wasn't who participated in introducing information into this market is tracked permissionlessly without any sort of ability to dispute this in a very immutable fashion by the NFT on the blockchain. And now let's say the brokerage the one and a half percent whatever it is is now split between David and Ryan. Okay no Ryan if he knows that David is interested in this he wants to get this NFT to the buyer ASAP because if it goes through Antonio this reward needs to be split three ways. Okay now think about this thing in the context of say real estate or something like that.
Okay so now you have this network no contracts need to be signed. Anyone can participate anyone can introduce information into the market and get compensated for it. You know staffing you know hiring please Silicon Valley high worries really hiring for that matters is as vicious. Anyone can introduce information into the marketplace and be compensated for it now this is a this is a massively new idea and if if if the economics are supportive of this and the scaling is supportive of this you can build some amazing stuff this way. Yuri can we talk about some of the problems maybe that layer two faces or outstanding issues I would say are challenges maybe it's another word for it one one is this idea of kind of silos right the concept that we lose composability of all of the defi apps that are working together so maybe we have silos of liquidity maybe we we also have silos of defi apps.
That that's the first problem the second problem which might be related in your mind but it's how do we bridge all of these various layers to use together do you have any thoughts or answers on these. Sure so it's the first of all word of the camp that says that the idea I think that's been circulating in certain parts with the ecosystem that says you know no don't worry everyone everyone's just going to migrate to the same layer to where you're just all going to meet there and it's all going to be down. That's sort of you know I think that's an absurd notion in a very trivial way meaning if that environment can sustain all that activity auto magically why can't Ethereum do that and of course no single environment can do that so and as we see with the ydx and other teams.
The design space is rather multi-dimensional and different teams will pick different solutions so from our perspective it's going to be a slew of different layer to solutions and from our perspective layer one is going to remain fundamentally central to all these things and so for example design like defi pulling that we put out. Is an example of how we believe that layer two will continue to interact very intimately with layer one you know years to come. It's layer one like the settlement layer for all of this. The concept of defi pulling layer one is where defi is going to happen. And the pooling of demand for a layer one defi services is going to happen on layer two so instead of you know David and Ryan and Ori all of us you know each initiating a transaction going to compound or a layer whatever it is we go to layer two we create a pool think of this like you know pooling our car pool we pull our resources and only a single layer one transaction is initiated but layer two here continues to interact in a very intelligent fashion very cost effective fashion with layer one.
Now the other thing I think which is very important and this is sort of a responsibility of the different layer two solutions is to ensure that those the bridges between those are built in an efficient manner meaning the worst thing that could happen to users is that if they want to go from one layer to another layer to they have to go out to layer one. And cross over and that would be very very much sort of constraining from their perspective. We today, for example, for Stark experiments is going between dy dx and diversifies suitable x other other partnerships to be a badger and other announcements to be to follow in the coming weeks.
You would be able to move funds using a crypto primitive we call. I apologize it's the fast withdrawals is powered. Sorry apologies conditional transfers is the blockchain primitive this allows for trustlessly moving funds across star kex deployments without going out to layer one stone from one layer to one star kex to another from one layer to to another this can be done across z k robots. And fundamentally there's no reason why this cannot be done between z k robots and other optimistic and another layer two solutions like optimistic robots. And I think we'll see these things maturing and coming online and the coming months and years.
The other question that I have about the nature of l2 is the question of an on ramp for for fiat right and to right now the the way that this works if you want to get us dc into dy dx you got to go from or you want your money into dy dx you go from bank account to centralized exchange to ethereum l1 and now into dy dx on the on ethereum l2. So my first question is whose responsibility is it for making that system easier is it dy dx is responsibility for getting us dc onto the l2 to play with the out dx or is it stark wears responsibility to get us dc onto the l2 who goes out and talks to coinbase and Gemini and says come into posit is it come into posit us user funds into dy dx or is it come into posit us the user funds onto the l2 who's got to do this job.
And I want to say that the fiat to crypto on ramps services like wire and moon pain all those guys they're not terribly happy with layer one transaction fees because of their user experience right so if I you know charge 100 bucks to my visa and then up with 20 bucks worth of eth on layer one. I'm not terribly excited by that user experience so if I can move on directly to layer two without going to layer one and tiny fraction of that cost that's a big win for those services as well. You know I've been kind of waiting for like the crypto banks answer to something like finance chain and what I mean is like other crypto banks like maybe crack in or Gemini or or coinbase right because finance approaches we're going to create this whole side chain thing and we're going to push all of our liquidity into the side chain that they as we talked about earlier have some have some pretty strong control over.
I've been waiting for like a coinbase or a Gemini to say hey we want to provide liquidity to this layer to Ethereum secured chain and really kind of like push push that i'm not sure if they're any closer to doing that do you think that's how. This competition will will shape up between the the finances and the other crypto exchanges I get that that gets into some speculation but i'm curious about how you think this competitive industry shakes out. I can only speculate about that but having seen the coinbase S1 and not in the material coming from that direction these are operations that are profitable to a degree where it's difficult for them to entertain things outside their main focus right now and defy as exciting as it is for us and has been for a good while.
I think it's going to take time for the centralized exchanges to sort of step back and say this we need to seriously rethink our business in a fundamental way not as sort of some side you know a small team you know over on the third floor that looks at this but you know this is going to affect the whole business here. And I think there's a reason you know why dydx is a startup that sort of started a fresh and built this thing from the ground up I think you need to have a fresh team and a fresh approach to do these things and I think it's that's not easy for established companies. So guys as we come to a close here and again thank you for coming on and sharing us your time and answering some of our questions Antonio I know we asked you at this when you came on to our AMA forever ago but the YouTube chat box will absolutely kill me if I don't ask this question when dydx token.
Now I said before like we believe that the best way to build dydx and make the ydx huge in the future is first of all to build a great product I mean our goal at the ydx is to become one of the biggest crypto exchanges period like on a three to five year time horizon from now. And we think the way to do well you know I would argue the way we know that how to do that is first building a great product and that's what we've been focused on for like three and a half years now I mean that's why I'm so excited about this newest product built on top of StarCware. Obviously we've been talking about it but think it's a huge leg up and now we feel like we have that product which can play like in the big leagues as everybody's good as centralized exchanges.
And of course it's you know it's still something that's early will continue to improve it over time so we're not done yet but we think we're on much better footing now. So I think we're thinking about it we're obviously paying a lot of attention to what's going on in this space really big champion still of kind of decentralized governance really excited about that community involvement. So no specifics but it's something we're definitely tracking but we're still laser focused like we have been past three and a half years and we've gone through two cycles of this now right with the like 2017 ICOs we're there for that and then this most recent kind of like liquidity mining craze we're here for this as well.
But now I think the differences we really feel like we do have a product that's just launched today which can be successful and I kind of think about what comes next after that. Guys this is bit of phenomenal conversation I think we we married sort of the defi app perspective and the scalability solution perspective really well. I want to end with with this question I'll first wreck this to Antonio and then Yuri can comment on it but the question in my mind is there are all these shortcuts you could take to scalability and many chains of arguably taking these shortcuts many defi applications scalability solutions have taken these shortcuts.
The path you guys have chosen has been harder it seems like right it's it's it's taken longer to get to to this point and I want to ask the question that we sort of ask many teams and many projects which is this why go to all this trouble is the decentralization that you're getting on the other side of this worth it maybe Antonio you could comment first. Yeah I mean obviously I think the answer is yes and in wholeheartedly I think just what I was leading to before and it's kind of talking about with a lot of the limitations of centralized exchanges and remember when we talk about centralized exchanges it's not just centralized cryptocurrency exchanges it's literally the entire global financial system that we're talking about that right.
So it's like these things where there's no auditability in the systems there's no transparency in the systems there are very permissioned you know you have to trust your funds to various third parties when you're trading on them. That's the way all the finance works and now we have a chance kind of for the first time and I'm not the first to say this right but just like jumping on the bandwagon where we can reinvent that and rebuild that for things that are really core to the financial system. Obviously the thing that we're focused on at UI DX is specifically applying all of that to derivatives contracts but I think that's actually a really great and kind of prime use case for a lot of these advantages based on kind of what I was saying before.
Currently very permission they're currently very black box they're very very trusted not only with your funds but with the execution of your contracts. And if you can take a lot of these advantages of decentralization and apply them to this literally the biggest market in the world and derivative contracts. We think that that's just a complete game changer for the whole global financial industry potentially right and that's the biggest market in the world and we're excited to tackle it so I would say emphatically yes. You're the same question to you why why go to all this trouble. So the reason we go all to this into all this trouble is because we sort of try and think you know a few steps ahead and the basic question is okay what if everything we're doing six seats you know in a phenomenal way and this becomes a thousand or a million times bigger.
Okay so we're not dealing with let me pick on NFTs we're not picking with NFT we're not looking at NFT cards that trade for 10 bucks what about 10 million bucks or a hundred million bucks okay now if that acid is sitting on some side chain and some of this thing is worth a hundred million dollars I wouldn't be sleeping well at night. Okay if your application scales massively all of a sudden and then you need to handle you know many more transactions etc and something capital efficiency is just a huge factor you know how do you consider these things and the way we see it building layer two on top of of ethereum building of validity proof system where the the only thing that's allowed is a valid state transition in the system without any rely on some the integrity of the operators etc.
That is a path for where we can say we can see this thing massively growing and it doesn't fall apart and that means there's a business to be built for us and for the likes of dyx and any application development that's that's that's why we're doing it the way we're doing it. Well very exciting guys we certainly appreciate your efforts and it's been a pleasure to have you on bankless thanks so much. Thanks so much for having us guys action items I think the best thing you can do with layer two today and with dy dx today is try it yourself so you should go to the dy dx exchange is now deployed on layer two and try it out if you do so we have a special code we can share with you.
It's in the show notes it's trade dot dy dx dot exchange slash r slash bankless that will give you 10% off your trading fees so get your metamass wallet connected and try out layer two try out dy dx of course guys we end every episode with this risk and disclaimers ethos risky Bitcoin is risky crypto is risky so is defy you could lose what you put in watch out for that margin guys but we are headed west this is the frontier it's not for everyone but we're glad you're with us on the bankless journey thanks a lot.