Developer Knowledge Hub

Chain Abstraction

Chain Abstraction powered by Everclear allows users to seamlessly interact with dApps from any chain using any token, without leaving the UI. Let’s explore what Chain Abstraction is.

Chain Abstraction

Streamlining Crosschain Interactions

By abstracting blockchains, Everclear enables dApps to provide their users with seamless crosschain experiences. Chain Abstraction empowers dApp users to access the different functions of an application regardless of which chain they are on and which token they hold.

Why is Chain Abstraction Needed?

Successful dApps ensure that the user experience is as seamless as possible, allowing the greatest number of individuals to use the dApp.

The end users of a given dApp shouldn’t have to deal with the technical complexities of an application, such as the blockchain they are on and the token used. Ideally, interacting with a given dApp is so smooth that end users may not even realize which chain they are operating on and which tokens are used.

To accomplish a seamless user experience across blockchains, tokens, and applications, Chain Abstraction is needed.

The Shortfalls of an Expanding Ecosystem

The continuously expanding blockchain ecosystem requires dApps to expand their functionalities to various blockchains. As a result, their users face a variety of hurdles that result in a poor user experience and often high gas costs.

Unifying the Siloed DeFi Landscape

The DeFi landscape is siloed and spread across multiple blockchains and L2 solutions. Users wishing to access different financial products need to move assets from one provider and/or blockchain to another, incurring high gas costs and potential opportunity costs in the process.

Blockchain agnostic platforms that utilize Chain Abstraction to allow their users to access different DeFi dApps and blockchains from a single application address this challenge.

Chain abstraction is a key component of unifying the fragmented blockchain ecosystem and providing the Web3 ecosystem a much better multichain user experience.

The Advantages of Chain Abstraction

Abstracting blockchains offers compelling advantages for both end users and developers. Let’s have a look at the benefits.

Your dApp Before & After Chain Abstraction

With Chain Abstraction, you can offer your users a beacon of simplicity and seamlessness in an ecosystem that is heavily fragmented and complex.

BeforeAfter

Transaction Flow

Let’s have a look how the transaction flow looks like (under the hood). To better illustrate this, we are going to use a scenario in which a dApp user enters a USDC lending position on Polygon with funds from Optimism.

From the perspective of the end user, all that is required is to connect their wallet and begin lending. The underlying processes of the app initiating a crosschain transaction from Optimism to Polygon is not noticeable to the user.

  • 1
    User initiates transaction to deposit into a pool with funds on Optimism
  • 2
    Application forwards relevant data (USDC, calldata, txn details on Polygon) and target on destination chain
  • 3
    Everclear makes transaction to the target, passing the specified USDC and calldata
  • 4
    Calldata is unpacked, supply function of app is called

Are you ready to integrate Chain Abstraction? You can find a full guide on setting up a Chain Abstraction integration in the official Docs of Everclear. If you need help with deploying or upgrading to the xERC20 token standard, please feel free to reach out to Everclear for support.