@aa-sdk/core

v4.0.0
viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts

prebuild

npx tsx ./inject-version.ts

build

yarn clean && yarn build:esm && yarn build:types

build:esm

tsc --project tsconfig.build.json --outDir ./dist/esm

build:types

tsc --project tsconfig.build.json --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap

docs:gen

npx ak-docgen generate --in ./src/index.ts --out ../../site/pages/reference/aa-sdk/core

clean

rm -rf ./dist

test

vitest

test:run

vitest run
npm i @aa-sdk/core

Metadata

  • MIT
  • Whatever
  • Alchemy
  • released 10/15/2024

Downloads