Skip to content

AA SDK

@cinacoin/aa-sdk — Account Abstraction (ERC-4337) SDK.

Installation

bash
npm install @cinacoin/aa-sdk @cinacoin/core-sdk

Overview

The AA SDK provides tools for interacting with ERC-4337 smart accounts, including UserOperation creation, Bundler communication, and Paymaster integration.

Usage

typescript
import { AASDK } from '@cinacoin/aa-sdk'

const aa = new AASDK({
  bundlerUrl: 'https://bundler.cinacoin.com/v1',
  paymasterUrl: 'https://paymaster.cinacoin.com/v1',
  chainId: 1,
})

Features

  • Smart Account Creation — Deploy ERC-4337 smart accounts
  • UserOperations — Create and send UserOperations
  • Gas Sponsorship — Paymaster integration for gasless transactions
  • Session Keys — Temporary signing keys with limits
  • Social Recovery — Guardian-based recovery mechanism

Released under the MIT License.