MCPcopy Index your code
hub / github.com/alchemyplatform/aa-sdk

github.com/alchemyplatform/aa-sdk @v5.0.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.0.6 ↗ · + Follow
430 symbols 1,157 edges 220 files 73 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Alchemy Smart Wallets SDK

Build zero-friction sign-up and transaction flows with smart accounts. Sign up with email, login with passkeys, transact with sponsored gas, and checkout in one click with transaction batching.

Built on top of viem and the ERC-4337 standard, this SDK is modular at every layer and can be extended to fit your custom needs.

Packages

Package Description
@alchemy/common Shared foundation: Alchemy transport, auth, chain registry, errors, and logging
@alchemy/aa-infra Bundler infrastructure: Rundler fee estimation and RPC types
@alchemy/smart-accounts Smart account implementations: LightAccount, Modular Account v1/v2, and modules
@alchemy/wallet-apis High-level Wallet API client: EIP-7702 smart wallets, signing, and transaction sending

Getting started

Check out the quickstart guide to get started.

Contributing

If you are a member of the Alchemy team, make sure to run:

npx turbo login --sso-team=alchemy-dot-com

so that you can benefit from remote caching in your builds!

We welcome contributions to aa-sdk. Please see our contributing guidelines for more information.

Extension points exported contracts — how you extend this code

SolanaSigner (Interface)
(no doc)
packages/wallet-apis/src/types.ts
AlchemyTransportConfig (Interface)
(no doc)
packages/common/src/transport/alchemy.ts
FileItem (Interface)
(no doc)
scripts/generate-typedoc-yaml.ts
SolanaChainDef (Interface)
(no doc)
packages/wallet-apis/src/types.ts
EventLogger (Interface)
(no doc)
packages/common/src/logging/types.ts
DirectoryItem (Interface)
(no doc)
scripts/generate-typedoc-yaml.ts
Account (Interface)
(no doc)
packages/wallet-apis/src/utils/resolve.ts
YamlPage (Interface)
(no doc)
scripts/generate-typedoc-yaml.ts

Core symbols most depended-on inside this repo

bigIntMultiply
called by 54
packages/smart-accounts/src/utils.ts
alchemyTransport
called by 51
packages/common/src/transport/alchemy.ts
transport
called by 41
packages/common/src/transport/alchemy.ts
createLogger
called by 38
packages/common/src/logging/logger.ts
setGlobalLoggerConfig
called by 33
packages/common/src/logging/config.ts
lowerAddress
called by 30
packages/common/src/utils/lowerAddress.ts
isAlchemyConnectionConfig
called by 30
packages/common/src/transport/connectionSchema.ts
validateAlchemyConnectionConfig
called by 21
packages/common/src/transport/connectionSchema.ts

Shape

Function 294
Class 63
Method 55
Interface 17
Enum 1

Languages

TypeScript100%

Modules by API surface

packages/smart-accounts/src/errors/permissionBuilderErrors.ts37 symbols
scripts/generate-typedoc-yaml.ts15 symbols
packages/smart-accounts/src/ma-v2/accounts/base.ts15 symbols
packages/smart-accounts/src/ma-v2/permissionBuilder.ts14 symbols
packages/smart-accounts/src/light-account/accounts/base.ts12 symbols
templates/eslint/src/rules/jsdoc-reexported-functions.ts11 symbols
packages/smart-accounts/src/ma-v2/decorators/deferralActions.test.ts11 symbols
packages/smart-accounts/src/ma-v1/accounts/base.ts10 symbols
packages/common/src/logging/sinks.ts10 symbols
packages/common/src/logging/config.ts9 symbols
packages/common/src/tracing/traceHeader.ts8 symbols
custom-frontmatter.mjs8 symbols

For agents

$ claude mcp add aa-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact