Introducing Social Logins & Modular Account Abstraction on Linea
Table of Contents:
Dear community,
We are pleased to introduce that we’re introducing compatibility with Linea to our Smart Wallet-as-a-Service (WaaS) modular stack! Linea is a developer-ready zkEVM rollup for scaling Ethereum dApps. Linea is a developer-ready, low-latency L2 chain with low gas fees and high throughput backed by the security of Ethereum.
Thanks to this integration, developers building on Linea will be able to use Particle Network's Smart Wallet-as-a-Service for full-stack account abstraction, supported by MPC-TSS social logins. Particle Network's AA SDK facilitates the development workflow, from the creation of smart accounts to the building of UserOperations.
Here’s everything you need to know about this integration.
What does this integration mean for Linea developers?
Particle's Smart Wallet-as-a-Service offers a succinct and direct approach to user onboarding and Web3 interactions, relieving them from the challenges of account abstraction and wallet management. Particle’s modular solution combines standard Web2 user experiences with the cutting-edge capabilities of Web3, streamlining user onboarding via dApp-embedded wallets accessible via Web2 accounts. By integrating ERC-4337 AA natively into our modular stack, Particle allows developers to offer their users gasless transactions, batching, account programmability, and more.
For Linea developers, Particle Network’s Smart WaaS offers the modularity and flexibility needed to construct state-of-the-art dApps while leveraging Linea’s capabilities.
Why should Particle Network users develop dApps to leverage Linea account abstraction?
Besides the above-mentioned capabilities, Linea is a developer-ready zkEVM rollup developed by Consensys, one of the strongest builders in the decentralized and Ethereum ecosystem. The blockchain is developed with deep compatibility with certain infrastructure providers in mind, like MetaMask, Infura, and Besu.
Currently, Linea is in Mainnet status, and actively working towards full decentralization. It is also conceived to be developer-friendly and highly composable, presenting flexibility and scalability to developers while abstracting the need for zero-knowledge technology knowledge to build on Linea.
Developing on Linea with Particle Network’s Modular Smart Wallet-as-a-Service
Leveraging Linea within Particle Network's Smart Wallet-as-a-Service for end-to-end Account Abstraction can be accomplished with just a few lines of code.
Below is the code for a demo app using Particle's Smart WaaS on Linea to create a smart account (SimpleAccount in this case) via social logins (Twitter/Google here). The smart account gets used to send a sample burn transaction of 0.001 ETH. It is automatically gasless through our default Testnet Paymaster.
Code can also be found at https://github.com/TABASCOatw/particle-linea-demo/blob/main/src/App.tsx.
Using Particle, we've onboarded a user, created a smart account, and sent a transaction in under 90 lines of code.
Take a look at the full repository or give our web demo a try. You can also try the live demo for the application covered above here.
Closing thoughts
Thanks to this integration, it’s now easier to leverage ERC-4337 AA within the Linea ecosystem. Developers acquainted with Particle’s services can now also take advantage of Linea’s ZK tech, performance and efficiency while taking advantage of MPC-TSS Auth services. Thanks to this, developers can now bridge the Web2 and Web3 worlds to connect at their dApps and innovate within the dApp space.
Particle Network’s Smart WaaS stack provides developers with powerful modular tools to innovate. Particle is preparing to release a full-stack ecosystem enabling seamless cross-chain interactions for Web3.
Developers building on Linea 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.