For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use Account Abstraction

Implement account abstraction on Chiliz Chain with Biconomy's AbstractJS and MEE: gasless transactions, batched and cross-chain transactions, and smart accounts for better dApp UX.

What is Account Abstraction?

Account Abstraction is a blockchain technology that allows users to use smart contracts as their accounts, making them fully programmable.

It aims to make user accounts more flexible and functional, thus enhancing the user experience.

What does it mean for Chiliz Chain developers?

By implementing AA, developers can enhance the user experience of their project: simpler Chiliz Chain interactions mean a more user-friendly app.

Using Biconomy on Chiliz Chain

Biconomy provides a full-stack Account Abstraction toolkit built around its MEE (Modular Execution Environment) and the AbstractJS SDK. Chiliz Chain is supported on both Mainnet and Spicy Testnet

With Biconomy's stack, you can offer your users:

  • Gasless transactions

  • Batched and cross-chain transactions

  • Smart-contract wallets (including social login)

  • Modules such as session keys, account recovery, and more

Why MEE, and not the classic Account Abstraction model?

Biconomy's earlier stack was built on the classic ERC-4337 model, which relied on separate bundler and paymaster infrastructure on each chain. Biconomy has since moved to MEE, which keeps full ERC-4337 parity while removing its main limitations. Their MEE vs ERC-4337 comparison explains the reasoning:

  • Dynamic composability: ERC-4337 only allows static batching, where all call data must be known upfront. MEE lets each step reference the outputs of previous steps (conditional logic, runtime values).

  • Native cross-chain orchestration: Instead of separate transactions and signatures per chain, MEE authorizes complex multi-chain flows with a single signature.

  • Universal gas abstraction: Users can pay gas on any supported chain using tokens from another, rather than managing gas per chain.

  • Automation: MEE supports scheduled and recurring execution, which ERC-4337 lacks.

  • EOA support by default: no smart-contract wallet (or EIP-7702) is strictly required.

Gasless transactions on Chiliz Chain

One of the most impactful uses of AA is removing the need for users to hold CHZ just to interact with your dApp. With sponsored (gasless) transactions, your application covers the gas on the user's behalf, so onboarding no longer requires the user to first acquire CHZ. Combined with MEE's universal gas abstraction, gas can also be paid in another token rather than the chain's native asset. See Biconomy's gas sponsorship guide for how to enable it.

Getting started

Sign in to the Biconomy dashboard and create a project. Each project gives you the credentials you'll use in your app:

  • an API Key (e.g. mee_LDxnuNsXYfvNUGsz6sJbHn)

  • a Project ID (e.g. 1sp767r4-5rrs-9o1s-3s6s-4s0r6nrq3647)

Install AbstractJS and viem:

Then create a Nexus account and an MEE client, pointing your chain configuration at Chiliz Chain. The Chiliz Chain IDs are:

  • Chiliz Mainnet = 88888

  • Chiliz Spicy Testnet = 88882

Note: Biconomy's SDK keeps evolving, so follow their Setting up AbstractJS guide and introduction for the current, complete example.

Last updated

Was this helpful?