Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@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'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
2.0.0 (2024-01-12)
msca: support multiple owners during intialization (#355) (f8bd650)
publish: remove added stuff (2be5f83)
feat!: update the LightAccount logic for 1271 signatures to match the on-chain impl (bbe5060)
FAQs
A collection of ERC-4337 compliant smart contract account interfaces
The npm package @alchemy/aa-accounts receives a total of 3,419 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.