Chain Abstraction Is Inevitable: 1 Account, 1000 Chains

ETHCC 7 · 9 Jul 2024 · 21:19

Ethan Francis, developer relations at Particle Network, explains chain abstraction: a user experience free of manual bridging and juggling balances, accounts and wallets across chains. He says account abstraction alone can worsen multi-chain fragmentation, and presents Particle's Universal Accounts, with one balance and unified account state across chains, built with intents, solvers and a Cosmos SDK chain. He maps blockchain, account and application level approaches and says chains will compete for developers rather than users.

Speakers

Topics

From ETHCC 7, hosted by Ethereum France.

Transcript

All right. Good morning, everybody. Super excited to be talking today. I think you guys just heard a little bit about chain abstraction with the last talk. But wanted to dive a little bit further into it over the next 15, 20 minutes or so. Um so I'm sure you've heard this term kind of chain abstraction a lot over the past few months. It's probably one of the largest UX narratives in the space at the moment. Um the ecosystem has been kind of moving towards this roll-up centric future of scaling, where we have thousands, maybe tens of thousands of app chains. So, you know, reasonably so, chain abstraction as an idea has been proliferating.

So, what I want to kind of talk about today is what chain abstraction is. Um, why is it important, and sort of how is it composed? What is chain abstraction actually look like in implementation? How does it materialize? As a quick intro, though, my name is uh Tabasco, my real name is Ethan. Um, I do develop relations at Particle Network. Uh we build chain abstraction solutions, a lot of UX solutions. So uh we've been doing so for now roughly uh two years and have over the past six to seven months really been focusing on chain abstraction. Um as a quick kind of like preview of what I'm gonna be talking about, as I mentioned, I'm going to first kind of go through why Web3 needs chain abstraction, so why it's actually important for end users. Um then I'm going to define chain abstraction, which I think is important because this is a buzzword that's thrown around a lot.

So, what does chain abstraction actually mean? Then I'm going to talk about kind of the composition of chain abstraction from a project standpoint. So, what are the projects building towards chain abstraction? How do they fit together in a stack? Finally, I'm going to talk about kind of uh the solution that we're building at Particle Network, which is called Universal Accounts, which essentially gives users one balance they can use across all chains. I'll talk more about that in a bit. So before I really get into it, uh, what I want to first kind of preface with is that UX and Web3 isn't as bad as people typically say it is. I think in the silo of a certain application of one specific application or one specific chain, you can actually create really good user experience. And people sometimes overblow the issue of UX as broken in web 3, but rather we have the tooling today where actually you can create a really good experience in the silo of one app.

So this means that through technologies like social logins and account abstraction and session keys, you can basically create applications today where users can onboard with their Google account or their Twitter account and not even know that they're using Web3. So they can basically have pop-up list transactions and gases transactions, and they can use any web 2 account that you can imagine. And this creates a very web 2 like experience with everything being on chain. So this is all possible with current infrastructure, and we actually build a lot of this infrastructure at particle network. So if UX is good in isolation, then why is chain abstraction actually important? It's because the UX at the ecosystem level, kind of like when you're looking at cross chains, is pretty terrible.

It's actually unusable for consumers. This is because if I'm on an application, you can say application A on chain A, and I move to application B on chain B, then all of a sudden my account state is totally different. So if I have 10 USCC on the first application on the first chain, I move across chains to another application, my 10 USCC is still on that first one. So it doesn't translate at all. This means that users, we expect them to do a lot. So number one, we expect them to cognitively manage their balances across multiple applications across multiple chains. So as we move into a future where applications create their own app chains and you know we create more and more rollups, this is very unsustainable because you can imagine trying to manage a hundred, two hundred, a thousand balances in account states.

And then furthermore, as a user, if I want to move across these chains, and if I want to essentially move my balance from application A on chain A to application B on chain B, I have to manually bridge, which is a daunting task for a lot of new users. We have to ask them to go find a bridge, a good one that's secure and cheap and fast, and then they have to do this themselves, sign a transaction, maybe then they'll have their funds on the destination chain. So this is a lot that we're asking for users, and it's not sustainable as an approach to actual consumer onboarding. And I hate to say it, but uh account abstraction, which is what we've uh been building a lot of recently, is actually making this multi-chain experience a little bit worse.

This is because account abstraction uses smart contract wallets to deploy across chains. So if I have a smart account that I have on chain A, chain B and chain C, and I update the state of the account on chain A, then now my account is different on chain A than it is on chain B and C. So account abstraction right now in its current state is actually making kind of the multi-chain problem harder to solve. So this creates multiple distinctive problems that as an ecosystem we need to address. First being the like multi-account management that we expect from many users, the bridging experience, and in the confines of account abstraction, which is kind of the current UX paradigm that's been proliferating, how do we actually solve this on the multi-chain level and make it easier for users to use? Which is what I just said.

How do we fix it? How does how do these problems actually be resolved? And this is what leads into the big narrative that everybody's talking about, the big buzzword of chain abstraction. So chain abstraction in its essence is essentially trying to create a borderless ecosystem. So an ecosystem where users don't really need to know what chain that they're on, it's not a requirement. They can go to any blockchain, use one balance everywhere. And there's no necessity like necessity for them to manually bridge or say, I have one UCC on Ethereum, one UCC on Polygon, one UCC on um base, and how do I get these all the same chain? This is removed from many users.

This is actually automated for them. And so specifically to define chain abstraction, this is a definition that we made maybe two or three weeks ago now, and we've been kind of pushing out the ecosystem, which is that chain abstraction is simply a user experience exempt from the manual processes required to interact with multiple chains. These processes include manually bridging, managing multiple balances, managing multiple accounts, multiple wallets sometimes. And so ideally in a chain abstracted world, users don't have to do any of this. They have their one wallet that they use for every chain. They have their one account that they use for every chain, and they have their one balance that they use for every chain.

So imagine having USDC spread across 10 different chains. But as a user, you don't know this. You just know that you have 15 USCC. But in reality, that could be one UCC spread across 15 different chains, but this is removed from the end user. It's an abstraction of multi-chain from the end user. This is the future that's an ecosystem we need to go towards. And if we don't, then we're gonna be stuck with the current issues of multi-chain that I just mentioned a moment ago. If you're interested in learning a little bit more about the definition of chain abstraction, kind of like how this is more formally understood, we have an article that we produced here and had some good input from organizations like Frontier Research and Agoric and Everclear, which you may have heard of. Um they're also pretty big products in the account abstraction and chain abstraction space.

Um but yeah, feel free to scan the QR code, that's a pretty good article that we produced a few weeks ago. So in a chain abstraction experience, this is really the big idea. So importantly, chains become optionally invisible to end users. So this means that users simply have one access point, one balance that they use everywhere. This is the most important concept of chain abstraction, where fundamentally you're abstracting multi-chain from any users. This is where, for example, user onboards through Google, Twitter, email, stuff like this. So this good user experience that we're already familiar with with social logins and accountstraction, you retain this, but now it's actually applicable uniformly across every chain in a way where users they don't have to man and manually manage this. Um as you can see, they have one balance, and it's kind of you know applied across every every application, which ideally is on different chains.

And perhaps more interestingly, this also means that developers, when they're building applications, they no longer need to build within the confines of one chain. So developers, they can now build chain agnostic applications. So actually applications that compose and have workflows that exist across 5, 10, 20, 30 blockchains. And this creates uh basically an experience where users go to applications that are chain agnostic, they can compose across any blockchain, users can use balance from any blockchain, and this is what the chain abstraction future is gonna look like. Applications are not bound to any single blockchain.

Users are not bound to any single blockchain. So it's a universalization of applications and then users. This is ideally what a like next generation application will look like, where I go and execute a transaction, and this transaction might be doing things across five, ten different blockchains, taking advantage of multiple different technologies and liquidity sources all at once. This is a quick kind of um preface to what I'm about to talk about, which is kind of the layers of chain abstraction, kind of the current approach versus the future approach that we're kind of moving towards with chain abstraction. As you can see here, this is kind of how the ecosystem works at the moment.

It's fragmented. This is kind of the key problem that we suffer from collectively, which is that if I go to an application, I have chain A, B, C, and D, I have an individual account for each chain, and I have an individual balance for each of these accounts. And then if I want to, for example, bridge between these, um, this might not work because maybe the application is only on chain A and chain C. So I need to find a way to get my balances only onto chain A and chain C. Maybe it's hard to even bridge between these chains. This is the experience that we that currently exists in the ecosystem. It's it's pretty terrible for users.

So then ideally what happens instead with chain abstraction is this kind of purple graphic here on the right, which is that instead users go to an application with an account that exists uniformly across all chains. This is a unified account or a universal account. Um has one balance, it's applicable everywhere. So they don't need to manage multiple balances or bridge across chains. And they go to an application which is applicable across all chains. So it's a kind of chain agnostic application. This is the chain abstraction future that we're all building towards. And so with this understood, so now that we kind of get chain abstraction loosely, maybe, and kind of understand what chain abstraction is, how is chain abstraction composed with other projects?

So how is the actual chain abstraction stack? What does it look like? First of all, it's important to understand that chain abstraction, much like the modular vertical or other kind of you know sub industries in this space, is a collaborative industry. It's a collaborative vertical. It's not competitive. This means that there's a stack of vertically oriented solutions that kind of work collectively together to achieve chain abstraction. More simply, there isn't one project that's going to do chain abstraction, and that's gonna be kind of the NLBL, you know, we've achieved chain abstraction. It's actually gonna be multiple projects with narrow positioning working at narrow parts of the stack that achieve this. And so this is kind of the point of the cake framework, if any of you guys have heard of this.

This is something that the um frontier research team introduced maybe three or four months ago. This is a really good stack, it's quite an interesting way of kind of looking at the technologies that compose chain abstraction. So solver, permission, and settlement layer, basically the three layers of tech that can achieve chain abstraction to some degree. So this is one really good way of looking at the space and looking at the vertical. When you look at chain abstraction solutions in general and how you can categorize these, the best way to look at this is through the blockchain level. So things like Polygon Ag layer or Optimism Super Chain. These would be considered blockchain level chain abstraction or quite core interoperability.

Below this, you have account level chain abstraction, so chain abstraction that specifically targets user accounts through things like account abstraction or related technologies. This is what we do that I'll get to in a moment. Then you have application level chain abstraction. So SDKs and APIs that actually give developers the ability to compose across chains and create this idea of a chain agnostic application, like I mentioned a moment ago. This is things like Agoric, Socket, or Skip. So kind of what I mentioned is that at particle, we kind of do account level chain abstraction. So you have blockchain level, ag layer, super chain, application level, socket, agoric, account level, particle. This is what we're doing with universal accounts.

So like I mentioned a moment ago, account abstraction, kind of getting back to this idea of AA being fundamentally broken with the multi-chain landscape. Account abstraction is pretty hard to get right across chains because account abstraction uses smart contract wallets to have as kind of mediums of user interaction. So as a result, we kind of have core fragmentation across chains with actual contract state. If I update the state of my account on chain A, it's different from chain B, C, and D. This is a problem. And of course, kind of the core problem here, even beyond that is just the fact that balances are fundamentally fragmented. This isn't exclusive to account abstraction, but this is what smart account usage looks like today.

This is the current landscape. Universal accounts are going to change this pretty significantly. And it's actually already live on testnet, it's gonna be live on mainnet in less than two to three months. This is where, as a user, I use a smart account. I use a universal account with unified account state and deployment. So the actual state of my smart account is the same across every chain. There's no fragmentation between contracts. And the balance is the same across all chains. So I deposit, you know, one Ethan base, one Ethon Ethereum, one Ethern Polygon. I have three ETH that I can use anywhere. There's no differentiation here.

This is really the big kind of important factor of universal accounts. It kind of evolves from typical smart accounts and creates a smart account and kind of an evolution of smart accounts that no longer have multi-chain fragmentation with contract state and no longer have multi-chain fragmentation with account balance. Without getting too far into it, this is essentially how it works on like a kind of more fundamental level. We use basically Cosmos C DK app chain to coordinate transactions across chains, which then allow universal accounts to basically automatically bridge funds across chains. So if I have 10 UCC across Polygon, Ethereum, and Arbitrum, I want to use 30 USCC on base, for example, then we'll automatically bridge all these funds across chains, ultimately to base, and then pay for the transaction like that. So it's a pretty simple mechanism.

It's based around kind of intents and solvers and things that I'm sure you've heard of before. And this is kind of how we fundamentally work with it through kind of three core concepts here: universal liquidity, which kind of allows us to have one balance across all chains, universal gas, which basically gives you the ability to pay for transactions in any gas token, as well as our Cosmos chain, which is used for coordination of these universal accounts. That's about it. Pretty short. Chain abstraction is a very quickly and emerging vertical.

There's a lot happening. I definitely recommend you look into it. In terms of projects to research, of course, Particle Network, you can learn more about us here on Twitter or our website. Look into Socket, Agoric, Everclear. These are all amazing projects that are building towards us, same vision. I would say that within six months, what you can expect is that the ecosystem will look fundamentally different with the presence of chain abstraction. But to users is an irrelevant detail largely.

Okay, we have some time for questions. If someone has something, just what is closed. Sorry. Okay. The best liquidity is probably on one chain, let's say arbitrum. I sell there, most users sell there.

The fees are then best so that the liquidity providers go there, the liquidity gets even better, and like, you know, that very quickly leads to like one, either one chain dominating a whole sector of kind of dApps or dominating completely. And hence are the networks that are not that one gonna be unhappy about that and sort of try to contact users directly and try to acquire users for their chain and their dApps, kind of bypassing this. Yeah, it's a good question. Um I think, first of all, when it comes to kind of like how liquidity is going to be managed, it might very well be possible where solvers and intent centric systems, they do choose chains that um are fundamentally like economically incentivized to serve them better.

They have lower fees, better liquidity, stuff like this. And this is definitely possible and probably gonna become a reality. But ideally, chains, and this is one thing that um we've been thinking a lot about at particles is that chains are not necessarily going to be able to market to users. So actually, like this all happens in the background. So chains might kind of compete to have um solver preference and things like this. But ideally, users aren't gonna be acquired by chains anymore. It's not necessarily gonna be possible because the chains that user interacts with are purely up to the application that they use. So if they're using an application that maybe interacts with Arbitrum, Ethereum and Base, then those are the chains that they interact with. But actually, the user has very little understanding of ideally, like I mean, this can be different for different users, but ideally user has very little understanding of where their funds are, what chains are interacting with, all they know is them and the application.

So then in terms of how chains will choose to acquire users and how chains are going to choose to get more liquidity and kind of more interaction with in their ecosystem, this is gonna turn into a competition of how can they onboard developers, how can they get developers to build their ecosystem? Which what we're excited for is that this is gonna change competition for chains and for applications ultimately. Because for chains, now they're competing not for users, they're competing for developers, which means that the incentive structure changes. There's no more airdrops to get users onto your chain. It's how do you incentivize and kind of create an environment that developers want to use on your chain, which makes it much more easy for the chains to invest a lot of resources into better technology and ways to actually push space forward. Then also on the flip side of this, kind of on the same idea is that applications, because they're only competing for users between the entire ecosystem, they're not competing for users only within base or only within Ethereum.

They're also their whole competition dynamic changes as well. Because now these applications are competing for who can create the best UX, who kind of has the best security, who has the best kind of like innovative product market fit application, rather than whoever can incentivize or kind of create whatever replicated application on different ecosystems to capture that user base. So I think it's actually a good thing that there's gonna be a lot more competition in this space. I think that this competition will stop hopefully from like one chain kind of being the main liquidity source that solvers choose or that developers choose, um, because it's gonna be a much more competitive and kind of like universally applicable landscape. Nice.

Thanks. One more if someone wants. Hi. Uh my question is how much can be obstructed by the user so that the his experience is not confusing. So let's say the user sees that for a similar type of transaction, depending on what's happening under Behuda, like which kind of chain is is uh transacting with the gas cost is widely different, or the time to settle the transaction is also widely different. And how much do you want to open it to say, look, this is actually what's happening uh down?

Uh, or how much risk being confusing? That's a really good question, and we've had a lot of panels and live streams about this the same question within the the vertical recently, um, which is how abstract do you want users to be? How how much abstraction do you really need? There's also a risk of if you have too much abstraction where you actually move all of this from the users. You don't tell them anything about what they're doing. There's some risk attached to that, actually, because then maybe you're interacting with chains that are not secure, or you're the transaction workflows are doing something that maybe is not what the user intends. So then how do you find the sweet spot of the degree of abstraction that you have?

And then how do you avoid adding more confusion for users or getting back to the current problem, which is that it actually isn't much uh much simpler? Um the it's it's a hard question to answer, and typically the way that we look at it is that it's gonna depend on the specific user and kind of the uh the type of person using a given application. So some applications will be less abstract. And what I mean by this is that some applications will share more to the user. They'll tell the user what route that they're taking or what um kind of like the the settlement differ between different chains and give users options and risk like uh assessments and stuff like this. These are applications that know their audience.

They know that their audience are people who can handle this information. Other applications like games or SocialFi ideally will remove all this information from users. So they won't tell users um anything about the chains they're using or um the kind of like uh different uh like gas costs, they you take it all from their main balance or have some way of removing even this. And this is what is really just gonna depend on the intended audience for a given application. That's gonna be the degree of abstraction that they implement. Um so I think it is quite an interesting challenge. It's how do you balance security, user satisfaction, and ultimately like a real implementation of chain abstraction? So I think it's an it's an evolving conversation, but um the way that we look at it is really kind of determining this from the intended audience of a given application.

Thank you. Thank you, everyone. Let's give it on one more applause.

Related talks