X Layer is Integrating Particle Network’s Solutions for Chain Abstraction!
Table of Contents:
We are introducing compatibility between OKX’s X Layer (Mainnet) and our Wallet Abstraction modular stack! This is the first step for X Layer to plug into the Particle Network modular L1, enabling seamless interactions and a unified experience across the chain and the rest of the Web3 ecosystem.
X Layer is a zkEVM Layer-2 solution based on Polygon CDK, providing seamless access to Web3 for OKX users. By integrating X Layer, Particle immediately offers developers building on X Layer the ability to leverage Wallet Abstraction for full-stack ERC-4337 account abstraction, along with dApp-embedded wallets powered by MPC-TSS social logins. Furthermore, in the near future, all Smart Accounts generated by using Particle’s solutions will be immediately upgraded into Universal Accounts leveraging the Particle Network modular L1, giving users a single interaction point, balance, and address across all blockchains with access to Universal Liquidity.
Here’s all you need to know about Wallet Abstraction’s debut on X Layer, and everything this integration enables:
What does this integration mean for X Layer developers?
Wallet Abstraction enables a streamlined, universally-accessible approach to user onboarding and Web3 interactions, allowing developers to onboard users into their dApps and Web3 via smart contract wallets using traditional Web2 social accounts (X, email, etc.). This combines a friendly Web2-like user experience with cutting-edge Web3 capabilities powered by ERC-4337 account abstraction.By integrating ERC-4337 AA natively into this modular stack, we enable developers to offer gasless transactions, batching, account programmability, session keys, and other benefits of AA to their users.
Wallet Abstraction offers developers the modularity and flexibility to build advanced dApps that fully leverage X Layer’s capabilities.
You can learn more about Particle Network’s developer experience in this article.
Why should developers leveraging Particle Network’s solutions build dApps leveraging Wallet Abstraction on X Layer?
X Layer acts as a portal to connect OKX products, users, and assets to Web3. This zkEVM L2, built with Polygon’s CDK, ensures near-instant finality, unified liquidity (through Polygon’s own aggregation solutions), and independent data availability. The network is powered by the OKB token, offering a low-cost alternative for developers and users alike.
X Layer’s Mainnet is going live at the beginning of May 2024; so from the very beginning developers will be able to launch advanced dApps leveraging Wallet Abstraction.
Developing on X Layer with Particle Network’s Wallet Abstraction
Developers can use Particle’s Wallet Abstraction SDKs for end-to-end Account Abstraction and social logins with just a few lines of code.
Below is the code for a demo using Particle Auth (the main SDK driving Wallet Abstraction) on X Layer to create a smart account (SimpleAccount in this case) via social logins (X/Google). Within the demo, the smart account is used to send a burn transaction 0.001 OKB. This is automatically gasless through our Omnichain Paymaster.
The code can also be found at https://github.com/TABASCOatw/particle-xlayer-demo
Using Particle, we've onboarded a user, created a smart account, and sent a transaction in under 100 lines of code. You can see a tutorial for this below:
Path to chain abstraction
As mentioned in the introduction, Particle is nearing the release of its modular L1 blockchain, which will solve Web3's fragmentation of users and accounts across chains through Universal Accounts.. Particle also recently launched the first Bitcoin account abstraction protocol, BTC Connect, an extension of its Wallet Abstraction stack. By combining these components, Particle Network is delivering a modular chain abstraction to supercharge Web3’s expansion.
The Particle Network L1 offers three core functionalities:
- Universal Accounts: Advanced smart accounts following a specific UserOperation structure and coordinated across chains via the Particle Network modular L1. These enable users to have a single interaction point, address, and balance across all chains.
- Universal Liquidity: Using a custom Decentralized Messaging Network, Particle coordinates automatic transactions and swaps across chains, enabling an experience similar to interacting with a single chain.
- Universal Gas: Thanks to the above, Particle users can use any token within the chains they’re interacting with to pay for gas, as opposed to holding and spending multiple tokens.
X Layer users who create a smart account using Particle’s solutions will instantly be upgraded to a Universal Account once the L1 launches, creating a seamless transition to the Universal Liquidity paradigm and allowing them to interact with any dApp on any chain.
Closing thoughts
Thanks to this integration, developers can now take advantage of ERC-4337 AA within the X Layer ecosystem. Those familiar with Particle’s services can also benefit from X Layer’s high throughput zkEVM and its deep interconnection with the OKX ecosystem to build AA-powered dApps relying on MPC-TSS social logins. This will allow them to launch immersive, mass-market-ready Web3 applications with ease.
Developers building on X Layer can get started for free by signing up at https://dashboard.particle.network, and learn more about our various SDKs and APIs at https://developers.particle.network.
Particle Network's Wallet Abstraction solutions are 100% free for developers and teams. By integrating them, you can set your project in a path to leveraging chain abstraction.
About Particle Network
Particle Network powers chain abstraction, addressing Web3's fragmentation of users and liquidity. This is enabled by Particle's Universal Accounts, which give users a unified account and balance across all chains.