Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@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 README to get started.
via yarn
yarn add @alchemy/aa-accounts
via npm
npm i -s @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're 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
FAQs
A collection of ERC-4337 compliant smart contract account interfaces
The npm package @alchemy/aa-accounts receives a total of 4,032 weekly downloads. As such, @alchemy/aa-accounts popularity was classified as popular.
We found that @alchemy/aa-accounts demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.