
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@alchemy/aa-accounts
Advanced tools
A collection of ERC-4337 compliant smart contract account interfaces
@alchemy/aa-accounts
This package contains various implementations of the BaseSmartContractAccount
class defined in aa-core
. This repo is community maintained and we welcome contributions!
If you are already using the @alchemy/aa-core
package, you can simply install this package and start using the accounts. If you are not using @alchemy/aa-core
, you can install it and follow the instructions in the Getting started docs to get started.
via yarn
yarn add @alchemy/aa-accounts
via npm
npm i -s @alchemy/aa-accounts
via pnpm
pnpm i @alchemy/aa-accounts
If you are looking to add a new account type, please follow the following structure.
src
with the name of your account type in kebab-case
(we are following kebab casing for files throughout the project).account.ts
and add your implementation for BaseSmartContractAccount
abis
and add your abis as .ts
files. eg:export const MyContractAbi = [] as const; // the as const is important so we can get correct typing from viem
SmartAccountProvider
class, add a file called provider.ts
and add your implementation for SmartAccountProvider
.Account
impl should just work with the base provider provided by aa-core
.account/my-account
called __tests__
and make sure your files end with the .test.ts
suffixsrc/index.ts
4.0.0-beta.0 (2024-08-28)
move plugingen from aa-sdk to account-kit since it depends on smart-contracts (073e8f6)
split aa-alchemy into account-kit packages (#704) (55e6632), closes #706
refactor!: move chain definitions out of aa-sdk core (#772) (1385441), closes #772
moves the chain definitions out of aa-sdk core and into account-kit/infra
@alchemy/plugingen has been moved to @account-kit/plugingen
@alchemy/aa-_ packages have been renamed to @aa-sdk/_
this removes the @alchemy/aa-alchemy package in favor of @account-kit/*
@alchemy/aa-accounts was deleted in favor of @account-kit/accounts
refactor: further rename packages
FAQs
A collection of ERC-4337 compliant smart contract account interfaces
The npm package @alchemy/aa-accounts receives a total of 2,554 weekly downloads. As such, @alchemy/aa-accounts popularity was classified as popular.
We found that @alchemy/aa-accounts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.