Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@alchemy/aa-accounts
Advanced tools
Changelog
Readme
@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
FAQs
A collection of ERC-4337 compliant smart contract account interfaces
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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).