/aa-sdk

Primary LanguageTypeScriptMIT LicenseMIT

aa-sdk

The aa-sdk is a type-safe and performant suite of TypeScript SDKs built on top of viem to provide ergonomic methods for sending user operations, sponsoring gas, and deploying smart accounts. It handles all the complexity of ERC-4337 under the hood to make account abstraction simple.

There are currently 5 SDKs that are part of the aa-sdk suite:

  1. aa-core
  2. aa-alchemy
  3. aa-accounts
  4. aa-signers
  5. aa-ethers

The core SDK also implements an EIP-1193 provider interface to easily plug into any popular dapp or wallet connect libraries such as RainbowKit, Wagmi, and Web3Modal. It also includes ethers.js adapters to provide full support for `ethers.js`` apps.

The aa-sdk is modular at every layer of the stack and can be easily extended to fit your custom needs. You can plug in any smart account implementation, Signer, Gas Manager API and RPC Provider.

Getting Started

The aa-sdk is part of Account Kit. Check out this quickstart guide to get started, or an overview of each of the SDKs in this repo.

Contributing

We welcome contributions to aa-sdk. Please see our contributing guidelines for more information.