account-abstraction-wallet-sdk
v1.1.18
Published
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
Downloads
512
Readme
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