The aa-sdk
is a type-safe and performant TypeScript library built on top of viem to provide ergonomic methods for sending user operations, sponsoring gas, and deploying smart contract accounts. It handles all the complexity of ERC-4337 under the hood to make account abstraction simple.
The 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, RPC provider.
yarn add @alchemy/aa-accounts @alchemy/aa-core
The aa-sdk
is part of Alchemy's Account Kit. For more information, check out the Account Kit docs.
- clone the repo
- run
yarn
- Make changes to packages
To run tests:
run yarn test