Using Particle’s Mobile AA SDKs

The Particle Mobile AA SDKs bring account abstraction to native mobile apps. They handle:
  • Smart account deployment and assignment
  • UserOperation construction and sending
  • Session keys
  • Integration with paymasters and bundlers
These SDKs are modular and compatible with different smart account implementations (BICONOMY, CYBERCONNECT, SIMPLE, LIGHT, etc.).

Supported Platforms

PlatformPackage
Androidnetwork.particle:aa-service (Kotlin)
iOSParticleAA (via CocoaPods)
Flutterparticle_aa (Dart)
React Native@particle-network/rn-aa (JavaScript)
UnityUnity AA Module

Setup Flow

  1. Integrate either Particle Connect or Particle Auth (required as the authentication layer).
  2. Install the AA SDK for your platform.
  3. Initialize the AA service with your chosen smart account type.
    • Options:
      • BICONOMY_V2
      • CYBERCONNECT
      • SIMPLE
      • LIGHT
      • COINBASE

Initialization Examples

Android (Kotlin)
// Optional: only if using Biconomy’s paymaster
val apiKey = mapOf(Ethereum.id to "API_KEY", Polygon.id to "API_KEY")

// Init with chosen service: BiconomyAAService, CyberConnectAAService, SimpleAAService
ParticleNetwork.initAAMode(apiKey, aaService = BiconomyAAService)
ParticleNetwork.getAAService().enableAAMode()

// Options: .biconomyV1, .biconomyV2, .cyberConnect, .simple, .light
AAService.initialize(name: .biconomyV1)

let aaService = AAService()
aaService.enableAAMode()
ParticleNetwork.setAAService(aaService)

// Options: BICONOMY_V1, BICONOMY_V2, CYBERCONNECT, SIMPLE, LIGHT
ParticleAA.init(AccountName.BICONOMY_V1())
ParticleAA.enableAAMode()

// Options: BICONOMY_V1, BICONOMY_V2, SIMPLE, CYBERCONNECT, LIGHT
ParticleAAInteraction.Init(AAAccountName.BICONOMY_V1())

// Options: BICONOMY_V1, BICONOMY_V2, CYBERCONNECT, SIMPLE, LIGHT
particleAA.init(AccountName.BICONOMY_V1())

Learn More Select your platform for the full SDK reference: