Developers Forum for XinFin XDC Network

Cover image for [Proposal] Proposal | Enabling Account Abstraction with Biconomy
Nishil Jain
Nishil Jain

Posted on • Updated on

[Proposal] Proposal | Enabling Account Abstraction with Biconomy

Applicant Details:

Personal Information:
Full Name: Nishil Jain
Email Address: nishil.jain@biconomy.io

About You:
Team background and Bios can be found at https://biconomy.io/about-us

Grant Application Details:

Grant Category:

  • Protocol development
  • Developer tooling

Project Description:

Biconomy is a Web3 developer and transaction infrastructure platform that helps developers provide effortless experiences to their end users. As pioneers of Account Abstraction (ERC-4337), we accelerate the mass adoption of Web3 by simplifying the user experience. Our decentralized UX stack equips developers with powerful tools to eliminate complexities, onboard users, and scale their dApps.

Over the past four years, we have partnered with over 400 dApps for our Relayer SDK and API. Our partners include industry leaders such as JPMorgan, 100 Thieves, Dolce & Gabbana, and Mercedes Benz. We also collaborate with top-tier DeFi and NFT platforms like DYDX, Perpetual Finance, Curve Finance, Aavegotchi, Decentraland, Sandbox, Animoca Brands, and Zed Run. With our infrastructure, we handle more than 100,000 daily transactions and have successfully relayed over 36 million transactions. Our comprehensive and adaptable SDK and APIs serve a diverse clientele, now reaching over 3.5 million individuals.

Our latest infrastructure, the Biconomy Smart Accounts, Bundler APIs, and Paymaster APIs, revolutionizes user onboarding by leveraging EIP-4337 and Smart Contract Wallets. This infrastructure allows developers to create a fully personalized transaction journey for their users, from wallet creation using social logins to batching multiple transactions into a single transaction. The result is an unparalleled user experience that is seamless and efficient. We provide services for blockchains such as Ethereum, Polygon, BNB Chain, Base, Avalanche, Optimism, and Arbitrum. Currently, we hold majority market share on Polygon, Avalanche, and Optimism.

Docs: https://docs.biconomy.io/
Website: https://www.biconomy.io/
Twitter: https://twitter.com/biconomy

Project Goals and Aspirations:

The Biconomy SDK simplifies blockchain development for dApp developers, providing an array of features that offer a seamless Web2-like experience to end-users. Once enabled within the chain, developers can build a wide range of use cases, from token transfers to smart contract interactions. The SDK is secure and reliable, ensuring dApps are safe from attacks and hacks. It is an essential tool for developers looking to build superior dApps on the blockchain.

  1. Social Sign-in - Even Web 2.0 users can use the dApp with just an email secured by multi-party computation (MPC). This means that users who are not familiar with crypto can still use the dApp without much hassle.

  2. Gas-less transactions - Improve user onboarding and engagement with a gasless flow. With Biconomy, users can enjoy a gasless flow, making transaction execution faster and more straightforward.

Image description

  1. Transactions and gas payments in non-native tokens - Allow users to pay for transactions and gas in your token or any other ERC20 token. This feature makes it easier for users to have a seamless transaction experience without having to go through the hassle of exchanging their tokens into native tokens.

  2. Transaction Batching - Group common transactions to offer gas-light execution and one-click experiences. With Biconomy, common transactions can be batched to offer a gas-light execution that saves users gas fees, thereby making the transaction process more efficient.

Image description

  1. MultiChain Signatures - This features allows for dispatching multiple userOps to different EVM chains and execute the same transactions on all chains in parallel, with a single user signature.

  2. Session Keys - You can create a login session for your user, within which the user can use the dApp without repeatedly signing in. This feature makes it more convenient for users to use dApps without having to sign in repeatedly.

  3. Custom Signature Schemes & Biometric Passkeys - Biometric logins, BLS signature aggregation, and quantum-resistant digital signatures such as Schnorr can be supported with Biconomy. Users can enjoy a more secure and robust digital signature scheme that is simpler and less susceptible to attack vectors.

  4. Limits, Allowlists, and Access Control - You can apply custom transaction execution limits and whitelist/blacklist addresses at the contract level. With Biconomy, users can enjoy more flexibility and control over their transactions, allowing them to customize their transaction execution limits and whitelist or blacklist addresses at the contract level.

Budget and Milestones:

We will approach chain support with both an on-chain and an off-chain tech stack. These are mutually exclusive and can be used separately or together to provide the best experience for developers.

  1. Independent On-chain Stack The on-chain stack comprises all critical contracts necessary for EIP 4337. Once deployed, any developer or project can utilize these contracts to offer services related to 4337. The EntryPoint acts as a universal entry point for all ERC-4337-compliant smart contract wallets.Module extend the functionality of these smart accounts, and Paymasters sponsor transactions for users, enabling various use cases.

a. EntryPoint Contract (Core Singleton Contract)

Explanation:
The EntryPoint contract is a pivotal global singleton contract that acts as the universal entry point for all ERC-4337-compliant smart contract wallets. This essential component standardizes interactions between wallets and the Ethereum network and streamlines and secures transaction handling. By systematically managing multiple user operations through the EntryPoint contract's handleOps() function, which features verification and execution loops, each operation is executed with utmost security and efficiency.

Timelines for deployment and integration: 2 months
Costing for deployment and future maintenance: None

b. Smart Contracts of Module & Extensions

Explanation:
Smart Contract Wallet Modules under the EIP-4337 standard are pivotal in bolstering the functionality and scalability of the blockchain ecosystem. These modules are instrumental in handling the UserOperation signatures, granting users an enhanced level of control and security over their transactions. Specifically, they provide a modular approach to wallet design, enabling customization based on user preferences. This adaptability ensures that the wallet can evolve alongside the ever-changing dynamics of the blockchain industry, further promoting seamless user interaction and safeguarding assets. You can checkout our modules here.

Timelines for deployment and integration: 2 months
KPI : Total transactions processed via the Smart Contract Wallet Module, signifying the module's efficiency in streamlining the transaction process as per EIP-4337.

c. Paymaster Smart Contracts

Explanation:
Paymasters play a pivotal role in sponsoring transactions for users, opening the door to various use cases, such as fee subsidies, ERC-20 token payments, off-chain payment methods, and on-chain credit services. By fostering a more inclusive ecosystem and enabling frictionless transactions for users, Paymasters drive innovation and adoption across the platform.

Timelines for deployment and integration: 2 months
KPI: Number of sponsored transactions processed by Paymaster contracts

d. Smart Contract Wallet Standard & Factory

Explanation:
The Smart Contract Wallet Standard establishes a comprehensive, unified framework for smart contract wallets, ensuring seamless interoperability and smooth integration within the broader ecosystem. Paired with the Wallet Factory, a contract that streamlines wallet creation by deploying standardized wallet instances, developers benefit from cost-efficient and simplified wallet deployment, significantly lowering barriers to entry.

Timelines for deployment and integration: 2 months
KPI: Number of wallets created using the factory.

  1. Independent Off-chain Stack

We are developing an off-chain stack that includes bundlers and off-chain memepool creation. This will be offered as a service, so that other dapps can use this bundler and the entire off-chain stack even if they make their own Smart Wallets or Paymaster contracts.

The off-chain stack provides bundlers to optimize transaction processing and reduce network congestion, alternative mempool and node connectivity for efficient off-chain transaction processing, and developer tools such as a dashboard and documentation to facilitate integration.

a. Bundler API (with full backend)

Explanation:
Bundlers are essential off-chain nodes designed to optimize the Ethereum network. They constantly monitor the UserOperation mempool, intelligently grouping multiple UserOperations together. This bundling process enhances transaction processing efficiency, prioritizes fee distribution, and significantly reduces network congestion, ultimately leading to a smoother, more reliable ecosystem.

Timelines for deployment and integration: 2 months
KPI: Number of active bundlers and UserOperations processed by them at scale in a given timeframe

b. Aggregated Paymaster API (with full backend)

Explanation:
This API streamlines transactions, facilitating easy transitions between Sponsorship and ERC20 modes. Through our solution, users can opt for gasless transactions or utilize an array of supported ERC20 tokens for gas payments, underscoring the adaptability and user-centric design of the system. You can check out list of supported tokens here.

Timelines for deployment and integration: 2 months
KPI: Number of sponsored transactions processed by Paymaster API and Number of tokens supported for ERC20 gas by Paymaster API

c. Developer Tools: Comprehensive Dashboard, Documentation, and Code Samples

Explanation:
This component is focused on providing an all-in-one solution for developers by creating extensive documentation, practical code samples, and a feature-rich developer dashboard. The dashboard offers a unified view of user operations, paymasters, and bundlers, enabling developers to manage and monitor all aspects of their EIP-4337 integration seamlessly. By empowering developers with a single, intuitive interface and invaluable resources, we aim to drive innovation and adoption of the EIP-4337 infrastructure across the ecosystem.

Timelines for support: 2 months
KPI: The number of successful integrations

Biconomy infrastructure revolutionizes user onboarding by leveraging EIP-4337 and Smart Contract Wallets. The infrastructure simplifies blockchain development for dApp developers, providing an array of features that offer a seamless Web2-like experience to end-users. With Biconomy, developers can build a wide range of use cases, from token transfers to smart contract interactions.

Support Requirement

To facilitate our integration with XDC, we require the following resources:

Fee & Terms - We estimate the necessary funds for this integration to be $100,000. We suggest providing this amount, preferably in XDC token or stablecoins, the disbursement shall follow the terms below:

  1. Initial Disbursement: Upon accepting this proposal, an upfront amount of $50,000 will be provided to kickstart the development process and make the AA stack live on XDC.

  2. Final Disbursement: Upon successful deployment of the SDK in 2 months, the remaining amount of $50,000 will be provided to compensate for the deployment and maintenance cost.

Allocation of Funds - The majority of this sum will be directed towards the development, deployment, and synchronization of our infrastructure with the XDC platform. Additionally, sustained funds will be allocated to enhance user adoption, implement incremental improvements, and ensure the long-term viability of the infrastructure.

Sustainability:

Our pricing ethos focuses on providing clarity and convenience to users. Biconomy has created a considerate pricing approach for the XDC user community which can be found here.

Legal:
Biconomy Labs Pte Ltd
20A Tanjong Pagar Road
Singapore 088443

Discussion (0)