account-abstraction-wallet-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.1.18 • Public • Published

Modular-Smart-Account-SDK

Introduction

a generic smart account SDK that can be used to interact with erc4337 smart account v3 and later. Developed with viem.sh to minimize the package

✅️one-click to create a modular smart account
✅️batch modular smart account creation
✅️only focus on the calldata logic, will do everything for you to set the gas price, nonce, etc.
✅local calculation instead of on chain querying

install dependencies

yarn

quick start

  // first convert the client to the validator
  const owner = new walletClientSigner(walletClient, "SUDO");

  // now convert the client to the smart account
  const smartAccount = new ERC4337SmartContractAccount({
    publicClient: publicClient,
    owner: owner,
  });

Usage

feel free to use this smartAccount class

Readme

Keywords

Package Sidebar

Install

npm i account-abstraction-wallet-sdk

Weekly Downloads

228

Version

1.1.18

License

ISC

Unpacked Size

418 kB

Total Files

110

Last publish

Collaborators

  • vincent.jaipul