@aa-sdk/core

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

test

vitest

build

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

clean

rm -rf ./dist

docs:gen

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

prebuild

node --loader ts-node/esm ./inject-version.ts

test:run

vitest run

build:cjs

tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{"type":"commonjs"}'

build:esm

tsc --project tsconfig.build.json --module es2020 --outDir ./dist/esm --removeComments && echo > ./dist/esm/package.json '{"type":"module"}'

build:types

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

test:run-e2e

vitest run --config vitest.config.e2e.ts
npm i @aa-sdk/[email protected]

Metadata

  • MIT
  • Whatever
  • Alchemy
  • released 7/22/2024

Downloads