Vibeleaderboard
Index / tool

Alchemy Account Abstraction SDK

https://github.com/alchemyplatform/aa-sdk
Visit alchemy.com
Category
Crypto
Rank

Previous survey · No. 390 ·

Pricing
Open Source
Type
TOOL
GitHub
321 stars
Date

About

TypeScript SDK for building ERC-4337 account abstraction apps and smart wallets on Ethereum.

What it does

It assembles smart-account building blocks for email and passkey sign-in, sponsored transactions, and batched checkout flows. Separate packages handle shared transport and authentication, bundler fee estimation, account implementations, permissions, signing, and transaction delivery.

Why it's ranked here

The package boundaries are unusually clear, and the public exports cover both low-level account mechanics and higher-level wallet operations. Its strongest case is an Alchemy-centered stack that still exposes modular account, transport, permission, and signing layers.

What's good

Developers can choose LightAccount or two generations of Modular Account, including multi-owner variants. The SDK exposes address prediction, call codecs, deferred actions, permission construction, signature packing, validation modules, typed errors, logging controls, and EVM plus Solana client types.

Tradeoffs

Alchemy transport, authentication, chain registry, Rundler fee estimation, and Wallet API access shape much of the stack. The repository requires a recent Node release and uses a pnpm, Turbo, and Lerna monorepo workflow, which adds contributor setup beyond a small standalone package.

How to use it well

Use it when building an Alchemy-backed wallet flow that needs smart accounts, passkeys, sponsored gas, permissions, signing, or batched calls. Start with the high-level wallet client, then adopt lower-level account modules when customization demands it. It supplies SDK components, not a finished wallet interface or product UI.

Technical notes+

README.md defines four package layers. packages/common/src/index.ts exports transport, chain-registry, configuration, utility, and error surfaces, while packages/common/src/logging/index.ts adds configurable diagnostics and redaction. packages/aa-infra/src/index.ts exposes schemas and gas-fee estimation. packages/smart-accounts/src/index.ts is the broadest barrel, covering LightAccount, Modular Account v1/v2, codecs, modules, permissions, address prediction, signatures, and typed errors. packages/wallet-apis/src/exports/index.ts exports wallet actions, decorators, clients, and transport, including EVM and Solana client types. package.json coordinates pnpm workspaces with Turbo, Lerna, TypeScript, Vitest, ESLint, Prettier, and TypeDoc. The four supplied inject-version.ts scripts generate package version modules from local package metadata. Package-specific vitest.config.ts files define projects, with wallet API tests serialized, non-isolated, and retried.

Observed

Primary language
TypeScript
Interface
Library SDK exposed through scoped packages and TypeScript export barrels
Package surface
Four packages: @alchemy/common, @alchemy/aa-infra, @alchemy/smart-accounts, and @alchemy/wallet-apis
Repository structure
Private pnpm workspace monorepo covering templates, shared test configuration, tooling, and packages
Runtime requirement
Repository root requires Node.js 22.12.0 or newer
Core foundation
Built on viem and the ERC-4337 standard
Testing
Vitest projects are configured for common, infrastructure, smart-account, and wallet API packages

Read from README.md, package.json, packages/common/vitest.config.ts, packages/common/inject-version.ts, packages/aa-infra/vitest.config.ts, packages/aa-infra/inject-version.ts, packages/wallet-apis/vitest.config.ts, packages/wallet-apis/inject-version.ts, packages/smart-accounts/vitest.config.ts, packages/smart-accounts/inject-version.ts, packages/common/src/index.ts, packages/aa-infra/src/index.ts, packages/smart-accounts/src/index.ts, packages/common/src/logging/index.ts, packages/wallet-apis/src/exports/index.ts.

What it can do

  • Create ERC-4337 smart wallets

    Wallet configuration parametersDeployed smart wallet contract

  • Execute gasless transactions

    Transaction data and user operationsExecuted blockchain transactions without gas fees

  • Batch multiple transactions

    Array of transaction operationsSingle bundled transaction execution

  • Implement social recovery mechanisms

    Guardian addresses and recovery rulesWallet recovery functionality

  • Manage wallet permissions and access control

    Permission rules and authorized addressesConfigured access control system

  • Generate user operation signatures

    Transaction data and private keysCryptographically signed user operations

  • Integrate with paymaster services

    Paymaster contract addresses and policiesGas sponsorship configuration

Tags

ethereumerc4337smart-walletstypescriptsdk

Tech Stack

Node.jsTypeScript

Media

Alchemy Account Abstraction SDK

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.