Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alchemy/aa-signers

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alchemy/aa-signers

A collection of signers used to create ERC-4337 smart accounts

  • 3.19.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@alchemy/aa-signers

This package contains various implementations of the SmartAccountSigner and AuthSmartAccountSigner classes defined in aa-core. This repo is community maintained and we welcome contributions!

Getting started

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-signers

via npm

npm i -s @alchemy/aa-signers

Contributing

If you are looking to add a new account type, please follow the following structure.

  1. Create a new folder in src with the name of your account type in kebab-case (we are following kebab casing for files throughout the project).
  2. Create a new file in the folder you just created called signer.ts and add your implementation for SmartAccountSigner, along with any additional types or utils files.
  3. If you need to extend the SmartAccountSigner or AuthSmartAccountSigner class, add a file called signer.ts in a new sub-folder under this package and add your implementation for.
  • Ideally, your SmartAccountSigner impl should just work with the base provider provided by aa-core and whatever peer dependencies you install.
  • If not, consider generalizing the use case and updating SmartAccountSigner
  1. Add some tests for your account and provider (if created) by creating a subfolder in your signer/my-signer called __tests__ and make sure your files end with the .test.ts suffix
  2. export the classes and types you have defined in src/index.ts
  3. Open a PR and we will review it as soon as possible!

FAQs

Package last updated on 02 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc