From 3646c57814ca72720335d9561de68a8bfb34fb4f Mon Sep 17 00:00:00 2001 From: Alchemy Bot Date: Wed, 7 Feb 2024 18:30:05 +0000 Subject: [PATCH 1/9] chore(release): publish v3.0.0-alpha.5 [skip-ci] --- CHANGELOG.md | 11 +++++++++++ lerna.json | 2 +- packages/accounts/CHANGELOG.md | 11 +++++++++++ packages/accounts/package.json | 4 ++-- packages/alchemy/CHANGELOG.md | 6 ++++++ packages/alchemy/package.json | 4 ++-- packages/alchemy/src/version.ts | 2 +- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- packages/core/src/version.ts | 2 +- packages/ethers/CHANGELOG.md | 4 ++++ packages/ethers/package.json | 4 ++-- packages/signers/CHANGELOG.md | 4 ++++ packages/signers/package.json | 4 ++-- 14 files changed, 54 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0c689cfc..348bab0542 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) + +### Bug Fixes + +- **aa-core:** add back eip-1193 method handling to the client ([#425](https://github.com/alchemyplatform/aa-sdk/issues/425)) ([48b5943](https://github.com/alchemyplatform/aa-sdk/commit/48b594375d64fe832cfb06f1fb3a539da3c7b965)) + +### Features + +- add session key extensions for managing keys ([ac86a97](https://github.com/alchemyplatform/aa-sdk/commit/ac86a97cd22004f55fb76ecf13b808a222daf8ef)) +- update MSCA multi owner factory, msca, and plugins abis and addresses ([#424](https://github.com/alchemyplatform/aa-sdk/issues/424)) ([9a49ac5](https://github.com/alchemyplatform/aa-sdk/commit/9a49ac53f6a4f30ee36f0e430b033e3a21a7562d)) + # [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02) ### Bug Fixes diff --git a/lerna.json b/lerna.json index ba2f514a06..29d9dc140d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.0.0-alpha.4", + "version": "3.0.0-alpha.5", "npmClient": "yarn", "conventionalCommits": true, "conventionalPrerelease": true, diff --git a/packages/accounts/CHANGELOG.md b/packages/accounts/CHANGELOG.md index cc5905327d..d28904a26a 100644 --- a/packages/accounts/CHANGELOG.md +++ b/packages/accounts/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) + +### Bug Fixes + +- **aa-core:** add back eip-1193 method handling to the client ([#425](https://github.com/alchemyplatform/aa-sdk/issues/425)) ([48b5943](https://github.com/alchemyplatform/aa-sdk/commit/48b594375d64fe832cfb06f1fb3a539da3c7b965)) + +### Features + +- add session key extensions for managing keys ([ac86a97](https://github.com/alchemyplatform/aa-sdk/commit/ac86a97cd22004f55fb76ecf13b808a222daf8ef)) +- update MSCA multi owner factory, msca, and plugins abis and addresses ([#424](https://github.com/alchemyplatform/aa-sdk/issues/424)) ([9a49ac5](https://github.com/alchemyplatform/aa-sdk/commit/9a49ac53f6a4f30ee36f0e430b033e3a21a7562d)) + # [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02) **Note:** Version bump only for package @alchemy/aa-accounts diff --git a/packages/accounts/package.json b/packages/accounts/package.json index 993304a4a6..35f2e90b1b 100644 --- a/packages/accounts/package.json +++ b/packages/accounts/package.json @@ -1,6 +1,6 @@ { "name": "@alchemy/aa-accounts", - "version": "3.0.0-alpha.4", + "version": "3.0.0-alpha.5", "description": "A collection of ERC-4337 compliant smart contract account interfaces", "author": "Alchemy", "license": "MIT", @@ -74,7 +74,7 @@ "homepage": "https://github.com/alchemyplatform/aa-sdk#readme", "gitHead": "ee46e8bb857de3b631044fa70714ea706d9e317d", "dependencies": { - "@alchemy/aa-core": "^3.0.0-alpha.4", + "@alchemy/aa-core": "^3.0.0-alpha.5", "viem": "^2.5.0" } } diff --git a/packages/alchemy/CHANGELOG.md b/packages/alchemy/CHANGELOG.md index 07d9ad9541..ce47c20ed1 100644 --- a/packages/alchemy/CHANGELOG.md +++ b/packages/alchemy/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) + +### Bug Fixes + +- **aa-core:** add back eip-1193 method handling to the client ([#425](https://github.com/alchemyplatform/aa-sdk/issues/425)) ([48b5943](https://github.com/alchemyplatform/aa-sdk/commit/48b594375d64fe832cfb06f1fb3a539da3c7b965)) + # [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02) ### Bug Fixes diff --git a/packages/alchemy/package.json b/packages/alchemy/package.json index 6735e3c8e5..e0e73debc8 100644 --- a/packages/alchemy/package.json +++ b/packages/alchemy/package.json @@ -1,6 +1,6 @@ { "name": "@alchemy/aa-alchemy", - "version": "3.0.0-alpha.4", + "version": "3.0.0-alpha.5", "description": "adapters for @alchemy/aa-core for interacting with alchemy services", "author": "Alchemy", "license": "MIT", @@ -46,7 +46,7 @@ "vitest": "^0.31.0" }, "dependencies": { - "@alchemy/aa-core": "^3.0.0-alpha.4", + "@alchemy/aa-core": "^3.0.0-alpha.5", "viem": "^2.5.0" }, "publishConfig": { diff --git a/packages/alchemy/src/version.ts b/packages/alchemy/src/version.ts index 9297f3b6d4..75e2376dad 100644 --- a/packages/alchemy/src/version.ts +++ b/packages/alchemy/src/version.ts @@ -1,3 +1,3 @@ // This file is autogenerated by inject-version.ts. Any changes will be // overwritten on commit! -export const VERSION = "3.0.0-alpha.4"; +export const VERSION = "3.0.0-alpha.5"; diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 885498cd52..dc821699b6 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) + +### Bug Fixes + +- **aa-core:** add back eip-1193 method handling to the client ([#425](https://github.com/alchemyplatform/aa-sdk/issues/425)) ([48b5943](https://github.com/alchemyplatform/aa-sdk/commit/48b594375d64fe832cfb06f1fb3a539da3c7b965)) + # [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02) ### Bug Fixes diff --git a/packages/core/package.json b/packages/core/package.json index 4c180b0b23..f416b9eade 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@alchemy/aa-core", "license": "MIT", - "version": "3.0.0-alpha.4", + "version": "3.0.0-alpha.5", "description": "viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts", "author": "Alchemy", "type": "module", diff --git a/packages/core/src/version.ts b/packages/core/src/version.ts index 9297f3b6d4..75e2376dad 100644 --- a/packages/core/src/version.ts +++ b/packages/core/src/version.ts @@ -1,3 +1,3 @@ // This file is autogenerated by inject-version.ts. Any changes will be // overwritten on commit! -export const VERSION = "3.0.0-alpha.4"; +export const VERSION = "3.0.0-alpha.5"; diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index 1b77534d5b..e546df6640 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) + +**Note:** Version bump only for package @alchemy/aa-ethers + # [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02) **Note:** Version bump only for package @alchemy/aa-ethers diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 0efa8e59bb..6f1030c5f4 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,7 +1,7 @@ { "name": "@alchemy/aa-ethers", "license": "MIT", - "version": "3.0.0-alpha.4", + "version": "3.0.0-alpha.5", "description": "Ethers.js wrapper for @alchemy/aa-core", "author": "Alchemy", "type": "module", @@ -49,7 +49,7 @@ "vitest": "^0.31.0" }, "dependencies": { - "@alchemy/aa-core": "^3.0.0-alpha.4", + "@alchemy/aa-core": "^3.0.0-alpha.5", "@ethersproject/abi": "^5.7.0", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/bytes": "^5.7.0", diff --git a/packages/signers/CHANGELOG.md b/packages/signers/CHANGELOG.md index 88430adb0d..2399eedf22 100644 --- a/packages/signers/CHANGELOG.md +++ b/packages/signers/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) + +**Note:** Version bump only for package @alchemy/aa-signers + # [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02) **Note:** Version bump only for package @alchemy/aa-signers diff --git a/packages/signers/package.json b/packages/signers/package.json index 742382e27c..81727a13a7 100644 --- a/packages/signers/package.json +++ b/packages/signers/package.json @@ -1,6 +1,6 @@ { "name": "@alchemy/aa-signers", - "version": "3.0.0-alpha.4", + "version": "3.0.0-alpha.5", "description": "A collection of signers used to create ERC-4337 smart accounts", "author": "Alchemy", "license": "MIT", @@ -114,7 +114,7 @@ "homepage": "https://github.com/alchemyplatform/aa-sdk#readme", "gitHead": "ee46e8bb857de3b631044fa70714ea706d9e317d", "dependencies": { - "@alchemy/aa-core": "^3.0.0-alpha.4", + "@alchemy/aa-core": "^3.0.0-alpha.5", "viem": "^2.5.0" }, "optionalDependencies": { From 76b9f1ab42185125f7c3c1149590085422a7f080 Mon Sep 17 00:00:00 2001 From: moldy Date: Wed, 7 Feb 2024 14:01:03 -0500 Subject: [PATCH 2/9] chore: fix the plugingen rpc url to public node for now --- packages/accounts/wagmi.config.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/accounts/wagmi.config.ts b/packages/accounts/wagmi.config.ts index 0bdf11c72e..2ee40d2b40 100644 --- a/packages/accounts/wagmi.config.ts +++ b/packages/accounts/wagmi.config.ts @@ -23,9 +23,12 @@ export default defineConfig( plugins: [ plugingen({ chain: config.chain, - connectionConfig: config.rpcUrl - ? { rpcUrl: config.rpcUrl } - : { apiKey: process.env.API_KEY! }, + connectionConfig: { + rpcUrl: "https://ethereum-sepolia.publicnode.com", + }, + // connectionConfig: config.rpcUrl + // ? { rpcUrl: config.rpcUrl } + // : { apiKey: process.env.API_KEY! }, config, }), ], From d1c82f8a1f529f3d098b00fa8b894164eddb665e Mon Sep 17 00:00:00 2001 From: moldy Date: Wed, 7 Feb 2024 21:11:06 -0500 Subject: [PATCH 3/9] feat: export the create alchemy client from existing method --- packages/alchemy/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/alchemy/src/index.ts b/packages/alchemy/src/index.ts index 40fafcc10d..c02dc986ae 100644 --- a/packages/alchemy/src/index.ts +++ b/packages/alchemy/src/index.ts @@ -6,6 +6,7 @@ export type * from "./client/decorators/alchemyEnhancedApis.js"; export { alchemyEnhancedApiActions } from "./client/decorators/alchemyEnhancedApis.js"; export type * from "./client/decorators/smartAccount.js"; export { alchemyActions } from "./client/decorators/smartAccount.js"; +export { createAlchemySmartAccountClientFromRpcClient as createAlchemySmartAccountClientFromExisting } from "./client/internal/smartAccountClientFromRpc.js"; export { isAlchemySmartAccountClient } from "./client/isAlchemySmartAccountClient.js"; export type * from "./client/lightAccountClient.js"; export { createLightAccountAlchemyClient } from "./client/lightAccountClient.js"; From ce7cb141013f55cd99df28b660b68f269f26a0ea Mon Sep 17 00:00:00 2001 From: Alex Miao Date: Wed, 7 Feb 2024 15:17:03 -0800 Subject: [PATCH 4/9] fix: fix broken link for RequestGasAndPaymasterAndDataOverrides --- site/resources/types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/resources/types.md b/site/resources/types.md index 71b6a1aaf6..7969c9cbf2 100644 --- a/site/resources/types.md +++ b/site/resources/types.md @@ -132,7 +132,7 @@ An extension of the `SmartAccountSigner` interface, this interface includes addi A type representing a partial set of override options for `UserOperation` (UO) requests, specifically related to gas and paymaster data. It allows for optional customization of various gas-related parameters like `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, and `verificationGasLimit`. This type is particularly useful for dynamically adjusting gas settings in UO requests. -[See Interface ↗️](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/alchemy/src/middleware/types/index.ts) +[See Type ↗️](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/alchemy/src/middleware/gasManager.ts#L21) ## `BigNumberish` From 55866f8479ee0c6e3fff24f25dd725b75dd2b252 Mon Sep 17 00:00:00 2001 From: moldy Date: Thu, 8 Feb 2024 11:49:14 -0500 Subject: [PATCH 5/9] docs: fix Paramters -> Parameters --- .../aa-accounts/utils/getDefaultLightAccountFactoryAddress.md | 2 +- site/packages/aa-core/signers/utils/wrapSignatureWith6492.md | 2 +- site/packages/aa-core/utils/getDefaultEntryPointAddress.md | 2 +- .../aa-core/utils/getDefaultSimpleAccountFactoryAddress.md | 2 +- site/packages/aa-core/utils/getUserOperationHash.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/packages/aa-accounts/utils/getDefaultLightAccountFactoryAddress.md b/site/packages/aa-accounts/utils/getDefaultLightAccountFactoryAddress.md index 166949983f..880525f1aa 100644 --- a/site/packages/aa-accounts/utils/getDefaultLightAccountFactoryAddress.md +++ b/site/packages/aa-accounts/utils/getDefaultLightAccountFactoryAddress.md @@ -36,7 +36,7 @@ const factoryAddress = getDefaultLightAccountFactoryAddress(chain); The Address of the default Light Account Factory contrafct address for the input chain -## Paramters +## Paramaters ### `chain: Chain` diff --git a/site/packages/aa-core/signers/utils/wrapSignatureWith6492.md b/site/packages/aa-core/signers/utils/wrapSignatureWith6492.md index c54c88777a..91fc8ef8c5 100644 --- a/site/packages/aa-core/signers/utils/wrapSignatureWith6492.md +++ b/site/packages/aa-core/signers/utils/wrapSignatureWith6492.md @@ -38,7 +38,7 @@ const signature = await wrapSignatureWith6492({ The original signature wrapped in ERC-6492 format -## Paramters +## Paramaters ### `SignWith6492Params` diff --git a/site/packages/aa-core/utils/getDefaultEntryPointAddress.md b/site/packages/aa-core/utils/getDefaultEntryPointAddress.md index 07588cdb9f..1f291f153f 100644 --- a/site/packages/aa-core/utils/getDefaultEntryPointAddress.md +++ b/site/packages/aa-core/utils/getDefaultEntryPointAddress.md @@ -36,7 +36,7 @@ const entryPointAddress = getDefaultEntryPointAddress(chain); The Address of the default EntryPoint contrafct for the input chain -## Paramters +## Paramaters ### `chain: Chain` diff --git a/site/packages/aa-core/utils/getDefaultSimpleAccountFactoryAddress.md b/site/packages/aa-core/utils/getDefaultSimpleAccountFactoryAddress.md index 821bf19639..05741f2ade 100644 --- a/site/packages/aa-core/utils/getDefaultSimpleAccountFactoryAddress.md +++ b/site/packages/aa-core/utils/getDefaultSimpleAccountFactoryAddress.md @@ -36,7 +36,7 @@ const factoryAddress = getDefaultSimpleAccountFactoryAddress(chain); The Address of the default Simple Account Factory contrafct address for the input chain -## Paramters +## Paramaters ### `chain: Chain` diff --git a/site/packages/aa-core/utils/getUserOperationHash.md b/site/packages/aa-core/utils/getUserOperationHash.md index 278e4ed816..2b2da43820 100644 --- a/site/packages/aa-core/utils/getUserOperationHash.md +++ b/site/packages/aa-core/utils/getUserOperationHash.md @@ -41,7 +41,7 @@ const result = getUserOperationHash( The hash of the user operation -## Paramters +## Paramaters ### `request: UserOperationRequest` From 6e143388f68019d5806065fb410927e256bb0259 Mon Sep 17 00:00:00 2001 From: moldy Date: Thu, 8 Feb 2024 13:00:49 -0500 Subject: [PATCH 6/9] fix: incorrect entrypoint call --- packages/alchemy/e2e-tests/light-account.e2e.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/alchemy/e2e-tests/light-account.e2e.test.ts b/packages/alchemy/e2e-tests/light-account.e2e.test.ts index c41ea89030..be2f9055c3 100644 --- a/packages/alchemy/e2e-tests/light-account.e2e.test.ts +++ b/packages/alchemy/e2e-tests/light-account.e2e.test.ts @@ -291,7 +291,7 @@ describe("Light Account Tests", () => { await provider.buildUserOperation({ uo: { - target: provider.account.getEntrypoint(), + target: provider.account.getEntryPoint().address, data: "0x", value: 1n, }, From 2fceaa707bd82a8f555bf2210735f09a557cf93d Mon Sep 17 00:00:00 2001 From: Dennis Won Date: Thu, 8 Feb 2024 13:43:39 -0800 Subject: [PATCH 7/9] docs: account kit doc on how to upgrade light account to modular account (#435) --- site/.vitepress/sidebar/index.ts | 4 ++ site/getting-started/setup.md | 6 +- site/resources/faqs.md | 2 +- site/signers/guides/arcana-auth.md | 6 +- site/signers/guides/capsule.md | 6 +- site/signers/guides/custom-signer.md | 6 +- site/signers/guides/dynamic.md | 6 +- site/signers/guides/eoa.md | 6 +- site/signers/guides/fireblocks.md | 6 +- site/signers/guides/lit.md | 6 +- site/signers/guides/magic.md | 6 +- site/signers/guides/portal.md | 6 +- site/signers/guides/privy.md | 6 +- site/signers/guides/turnkey.md | 6 +- site/signers/guides/web3auth.md | 6 +- site/smart-accounts/accounts/nani-account.md | 6 +- site/smart-accounts/custom/using-your-own.md | 6 +- site/smart-accounts/index.md | 6 +- .../modular-account/upgrade-la-to-ma.md | 63 +++++++++++++++++++ site/snippets/aa-core/lightAccountClient.ts | 9 +-- .../batch-user-operations.md | 6 +- .../using-smart-accounts/enhanced-apis/nft.md | 6 +- .../enhanced-apis/token.md | 6 +- .../send-user-operations.md | 6 +- .../simulate-user-operations.md | 6 +- .../transfer-ownership/light-account.md | 10 +-- 26 files changed, 141 insertions(+), 73 deletions(-) create mode 100644 site/smart-accounts/modular-account/upgrade-la-to-ma.md diff --git a/site/.vitepress/sidebar/index.ts b/site/.vitepress/sidebar/index.ts index 01873c98a4..95640cd95f 100644 --- a/site/.vitepress/sidebar/index.ts +++ b/site/.vitepress/sidebar/index.ts @@ -30,6 +30,10 @@ export const sidebar: DefaultTheme.Sidebar = [ { text: "Introduction", link: "/" }, { text: "Getting started", link: "/getting-started" }, { text: "Deployments", link: "/deployments" }, + { + text: "Upgradingto a Modular Account", + link: "/upgrade-la-to-ma", + }, ], }, { diff --git a/site/getting-started/setup.md b/site/getting-started/setup.md index 0a95c5a652..f18c83ba0c 100644 --- a/site/getting-started/setup.md +++ b/site/getting-started/setup.md @@ -6,16 +6,16 @@ head: content: Getting Started Guide - - meta - name: description - content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Getting Started Guide - - meta - name: twitter:description - content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Quick Start diff --git a/site/resources/faqs.md b/site/resources/faqs.md index c4d984000c..0185843877 100644 --- a/site/resources/faqs.md +++ b/site/resources/faqs.md @@ -6,7 +6,7 @@ head: content: Frequently Asked Questions - - meta - name: description - content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to get started with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description content: Frequently Asked Questions diff --git a/site/signers/guides/arcana-auth.md b/site/signers/guides/arcana-auth.md index 82127a6579..1f0d25c255 100644 --- a/site/signers/guides/arcana-auth.md +++ b/site/signers/guides/arcana-auth.md @@ -6,16 +6,16 @@ head: content: Arcana Auth Integration Guide - - meta - name: description - content: Follow this integration guide to use Arcana Auth Web3 Wallet Address as a signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Arcana Auth Web3 Wallet Address as a signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Arcana Auth Web3 Wallet Address as a signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Arcana Auth Web3 Wallet Address as a signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Arcana Auth Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Arcana Auth Web3 Wallet Address as a signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Arcana Auth Web3 Wallet Address as a signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Arcana Auth Integration Guide diff --git a/site/signers/guides/capsule.md b/site/signers/guides/capsule.md index fd05a75fbc..d48c823cc1 100644 --- a/site/signers/guides/capsule.md +++ b/site/signers/guides/capsule.md @@ -6,16 +6,16 @@ head: content: Capsule Integration Guide - - meta - name: description - content: Follow this integration guide to use Capsule as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Capsule as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Capsule as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Capsule as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Capsule Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Capsule as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Capsule as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Capsule Integration Guide diff --git a/site/signers/guides/custom-signer.md b/site/signers/guides/custom-signer.md index 758a7273aa..c2cdda28bf 100644 --- a/site/signers/guides/custom-signer.md +++ b/site/signers/guides/custom-signer.md @@ -6,16 +6,16 @@ head: content: How to Use Your Own Account Signer - - meta - name: description - content: Follow this guide to use any Signer you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use any Signer you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to use any Signer you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use any Signer you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Use Your Own Account Signer - - meta - name: twitter:description - content: Follow this guide to use any Signer you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use any Signer you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # How to use your own Account Signer diff --git a/site/signers/guides/dynamic.md b/site/signers/guides/dynamic.md index 77ca5746c8..49c7f8b9d3 100644 --- a/site/signers/guides/dynamic.md +++ b/site/signers/guides/dynamic.md @@ -6,16 +6,16 @@ head: content: Dynamic Integration Guide - - meta - name: description - content: Follow this integration guide to use Dynamic as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Dynamic as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Dynamic as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Dynamic as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Dynamic Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Dynamic as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Dynamic as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Dynamic diff --git a/site/signers/guides/eoa.md b/site/signers/guides/eoa.md index 2bd6486b6b..f43d6cf8b8 100644 --- a/site/signers/guides/eoa.md +++ b/site/signers/guides/eoa.md @@ -6,16 +6,16 @@ head: content: EOA Integration Guide - - meta - name: description - content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: EOA Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # EOA Integration Guide diff --git a/site/signers/guides/fireblocks.md b/site/signers/guides/fireblocks.md index 4d3eefc7a8..d3d45057a2 100644 --- a/site/signers/guides/fireblocks.md +++ b/site/signers/guides/fireblocks.md @@ -6,16 +6,16 @@ head: content: Fireblocks Integration Guide - - meta - name: description - content: Follow this integration guide to use Fireblocks as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Fireblocks as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Fireblocks as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Fireblocks as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Fireblocks Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Fireblocks as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Fireblocks as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Fireblocks diff --git a/site/signers/guides/lit.md b/site/signers/guides/lit.md index 677fdeca5c..616486c831 100644 --- a/site/signers/guides/lit.md +++ b/site/signers/guides/lit.md @@ -6,16 +6,16 @@ head: content: Lit Protocol Integration Guide - - meta - name: description - content: Follow this integration guide to use PKP Wallet as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use PKP Wallet as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use PKP Wallet as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use PKP Wallet as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Lit Protocol Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use PKP Wallet as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use PKP Wallet as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Lit Protocol Integration Guide diff --git a/site/signers/guides/magic.md b/site/signers/guides/magic.md index 451ed3237f..8f532243a3 100644 --- a/site/signers/guides/magic.md +++ b/site/signers/guides/magic.md @@ -6,16 +6,16 @@ head: content: Magic Link Integration Guide - - meta - name: description - content: Follow this integration guide to use Magic.Link as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Magic.Link as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Magic.Link as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Magic.Link as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Magic Link Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Magic.Link as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Magic.Link as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Magic Link Integration Guide diff --git a/site/signers/guides/portal.md b/site/signers/guides/portal.md index 8b8a841c12..2440c43ddc 100644 --- a/site/signers/guides/portal.md +++ b/site/signers/guides/portal.md @@ -6,16 +6,16 @@ head: content: Portal Integration Guide - - meta - name: description - content: Follow this integration guide to use Portal as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Portal as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Portal as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Portal as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Portal Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Portal as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Portal as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Portal Integration Guide diff --git a/site/signers/guides/privy.md b/site/signers/guides/privy.md index b19a32bff2..c91d44c24d 100644 --- a/site/signers/guides/privy.md +++ b/site/signers/guides/privy.md @@ -6,16 +6,16 @@ head: content: Privy Integration Guide - - meta - name: description - content: Follow this integration guide to use Privy as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Privy as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Privy as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Privy as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Privy Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Privy as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Privy as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Privy Integration Guide diff --git a/site/signers/guides/turnkey.md b/site/signers/guides/turnkey.md index 88375360cb..7b9ab09504 100644 --- a/site/signers/guides/turnkey.md +++ b/site/signers/guides/turnkey.md @@ -6,16 +6,16 @@ head: content: Turnkey Integration Guide - - meta - name: description - content: Follow this integration guide to use Turnkey as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Turnkey as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use Turnkey as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Turnkey as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Turnkey Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use Turnkey as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use Turnkey as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Turnkey Integration Guide diff --git a/site/signers/guides/web3auth.md b/site/signers/guides/web3auth.md index 6160250f40..ab3cc4b0dc 100644 --- a/site/signers/guides/web3auth.md +++ b/site/signers/guides/web3auth.md @@ -6,16 +6,16 @@ head: content: Web3Auth Integration Guide - - meta - name: description - content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Web3Auth Integration Guide - - meta - name: twitter:description - content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this integration guide to use an EOA as a Signer with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Web3Auth Integration Guide diff --git a/site/smart-accounts/accounts/nani-account.md b/site/smart-accounts/accounts/nani-account.md index 3bb3168ca4..d692a9e329 100644 --- a/site/smart-accounts/accounts/nani-account.md +++ b/site/smart-accounts/accounts/nani-account.md @@ -6,16 +6,16 @@ head: content: Nani Account Smart Contract - - meta - name: description - content: Follow this guide to use Nani Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use Nani Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to use Nani Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use Nani Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Nani Account - - meta - name: twitter:description - content: Follow this guide to use Nani Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use Nani Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Nani Account diff --git a/site/smart-accounts/custom/using-your-own.md b/site/smart-accounts/custom/using-your-own.md index a64184553e..5a357bfb25 100644 --- a/site/smart-accounts/custom/using-your-own.md +++ b/site/smart-accounts/custom/using-your-own.md @@ -6,16 +6,16 @@ head: content: Using Your Own Smart Account - - meta - name: description - content: Follow this guide to use any smart account implementation you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use any smart account implementation you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to use any smart account implementation you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use any smart account implementation you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Using Your Own Smart Account - - meta - name: twitter:description - content: Follow this guide to use any smart account implementation you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to use any smart account implementation you want with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Using Your Own Smart Account diff --git a/site/smart-accounts/index.md b/site/smart-accounts/index.md index 2b3bea2a62..6d41e2ebf1 100644 --- a/site/smart-accounts/index.md +++ b/site/smart-accounts/index.md @@ -6,16 +6,16 @@ head: content: Choosing a Smart Account - - meta - name: description - content: Learn how to choose a smart account implementation to use with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to choose a smart account implementation to use with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Learn how to choose a smart account implementation to use with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to choose a smart account implementation to use with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: Choosing a Smart Account - - meta - name: twitter:description - content: Learn how to choose a smart account implementation to use with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Learn how to choose a smart account implementation to use with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # Choosing a Smart Account diff --git a/site/smart-accounts/modular-account/upgrade-la-to-ma.md b/site/smart-accounts/modular-account/upgrade-la-to-ma.md new file mode 100644 index 0000000000..d760fbd1fd --- /dev/null +++ b/site/smart-accounts/modular-account/upgrade-la-to-ma.md @@ -0,0 +1,63 @@ +--- +outline: deep +head: + - - meta + - property: og:title + content: Modular Account • Upgrading to a Modular Account using Account Kit + - - meta + - name: description + content: Upgrading to a Modular Account using Account Kit + - - meta + - property: og:description + content: Upgrading to a Modular Account using Account Kit + - - meta + - name: twitter:title + content: Modular Account • Upgrading a Modular Account using Account Kit + - - meta + - name: twitter:description + content: Upgrading to a Modular Account using Account Kit +--- + +# Upgrading to a Modular Account + +Upgrading a `SmartContractAccount` can be done easily using Account Kit. It just involves a simple call to a single function on the `SmartAccountClient`, namely `upgradeAccount`, along with the necessary call data, `UpgradeToData`, for the account targeted for the upgrade. For upgrading to a Modular Account, you can use the utility function `getMSCAUpgradeToData` provided by the `@alchemy/aa-accounts` package to retrieve the call data for the upgrade. This process applies to any account account with upgrade capabilities. + +Using the Light Account as an example, here is an overview of how the upgrade can be executed using a Smart Account Client:: + +::: code-group + +```ts [example.ts] +import { smartAccountClient as lightAccountClient } from "./lightAccountClient"; +import { getMSCAUpgradeToData } from "@alchemy/aa-accounts"; + +const { createMAAccount, ...upgradeToData } = await getMSCAUpgradeToData( + lightAccountClient, + { account: lightAccountClient.account } +); + +const hash = await lightAccountClient.upgradeAccount({ + upgradeTo: upgradeToData, + waitForTx: true, +}); + +const upgradedAccount = await createMAAccount(); +``` + +<<< @/snippets/aa-alchemy/light-account-client.ts [lightAccountClient.ts] + +::: + +That is all! Now, you can go ahead and create a smart account client to connect with now the upgraded account as a Modular Account. + +```ts [example.ts] +import { createAlchemySmartAccountClient } from "@alchemy/aa-alchemy"; +import { multiOwnerPluginActions } from "@alchemy/aa-accounts"; + +const upgradedAccountClient = await createAlchemySmartAccountClient({ + apiKey: "YOUR_API_KEY", + chain: lightAccountClient.chain, + account: upgradedAccount, +}).extend(multiOwnerPluginActions); + +const owners = await upgradedAccountClient.readOwners(); +``` diff --git a/site/snippets/aa-core/lightAccountClient.ts b/site/snippets/aa-core/lightAccountClient.ts index 7e9606d252..86806d239c 100644 --- a/site/snippets/aa-core/lightAccountClient.ts +++ b/site/snippets/aa-core/lightAccountClient.ts @@ -10,11 +10,12 @@ import { } from "@alchemy/aa-core"; import { http } from "viem"; -const chain = polygonMumbai; -const owner: SmartAccountSigner = LocalAccountSigner.mnemonicToAccountSigner( - "YOUR_OWNER_MNEMONIC" +export const chain = polygonMumbai; +export const owner: SmartAccountSigner = + LocalAccountSigner.mnemonicToAccountSigner("YOUR_OWNER_MNEMONIC"); +export const rpcTransport = http( + "https://polygon-mumbai.g.alchemy.com/v2/demo" ); -const rpcTransport = http("https://polygon-mumbai.g.alchemy.com/v2/demo"); export const smartAccountClient = createSmartAccountClient({ transport: rpcTransport, diff --git a/site/using-smart-accounts/batch-user-operations.md b/site/using-smart-accounts/batch-user-operations.md index e29ce72652..a23572e828 100644 --- a/site/using-smart-accounts/batch-user-operations.md +++ b/site/using-smart-accounts/batch-user-operations.md @@ -6,16 +6,16 @@ head: content: How to Submit Batch Transactions - - meta - name: description - content: Follow this guide to submit transactions in batches with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to submit transactions in batches with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to submit transactions in batches with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to submit transactions in batches with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Submit Batch Transactions - - meta - name: twitter:description - content: Follow this guide to submit transactions in batches with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to submit transactions in batches with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # How to Submit Batch Transactions diff --git a/site/using-smart-accounts/enhanced-apis/nft.md b/site/using-smart-accounts/enhanced-apis/nft.md index 84a7a43244..969bd9ef6d 100644 --- a/site/using-smart-accounts/enhanced-apis/nft.md +++ b/site/using-smart-accounts/enhanced-apis/nft.md @@ -6,16 +6,16 @@ head: content: How to Fetch a Smart Account's NFTs - - meta - name: description - content: Follow this guide to fetch a smart account's NFTs with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to fetch a smart account's NFTs with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to fetch a smart account's NFTs with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to fetch a smart account's NFTs with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Get a Smart Account's NFTs - - meta - name: twitter:description - content: Follow this guide to fetch a smart account's NFTs with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to fetch a smart account's NFTs with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # How to fetch a Smart Account's NFTs diff --git a/site/using-smart-accounts/enhanced-apis/token.md b/site/using-smart-accounts/enhanced-apis/token.md index b72b074547..6503129e01 100644 --- a/site/using-smart-accounts/enhanced-apis/token.md +++ b/site/using-smart-accounts/enhanced-apis/token.md @@ -6,16 +6,16 @@ head: content: How to Fetch a Smart Account's ERC-20 Tokens - - meta - name: description - content: Follow this guide to fetch a smart account's ERC-20 Tokens with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to fetch a smart account's ERC-20 Tokens with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to fetch a smart account's ERC-20 Tokens with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to fetch a smart account's ERC-20 Tokens with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Fetch a Smart Account's ERC-20 Tokens - - meta - name: twitter:description - content: Follow this guide to fetch a smart account's ERC-20 Tokens with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to fetch a smart account's ERC-20 Tokens with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # How to Fetch a Smart Account's ERC-20 Tokens diff --git a/site/using-smart-accounts/send-user-operations.md b/site/using-smart-accounts/send-user-operations.md index 8883509d40..8637c03e3a 100644 --- a/site/using-smart-accounts/send-user-operations.md +++ b/site/using-smart-accounts/send-user-operations.md @@ -6,16 +6,16 @@ head: content: How to Send a User Operation - - meta - name: description - content: Follow this guide to send a User Operation with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to send a User Operation with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to send a User Operation with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to send a User Operation with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Send a User Operation - - meta - name: twitter:description - content: Follow this guide to send a User Operation with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to send a User Operation with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # How to send a User Operation diff --git a/site/using-smart-accounts/simulate-user-operations.md b/site/using-smart-accounts/simulate-user-operations.md index d4cf8f5b17..e979555702 100644 --- a/site/using-smart-accounts/simulate-user-operations.md +++ b/site/using-smart-accounts/simulate-user-operations.md @@ -6,16 +6,16 @@ head: content: How to Simulate a User Operation - - meta - name: description - content: Follow this guide to simulate a User Operation with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to simulate a User Operation with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to simulate a User Operation with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to simulate a User Operation with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Simulate a User Operation - - meta - name: twitter:description - content: Follow this guide to simulate a User Operation with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to simulate a User Operation with Alchemy's Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. --- # How to simulate a User Operation diff --git a/site/using-smart-accounts/transfer-ownership/light-account.md b/site/using-smart-accounts/transfer-ownership/light-account.md index a994c56b98..6b8ccc537c 100644 --- a/site/using-smart-accounts/transfer-ownership/light-account.md +++ b/site/using-smart-accounts/transfer-ownership/light-account.md @@ -6,18 +6,18 @@ head: content: How to Transfer Ownership of a Light Account - - meta - name: description - content: Follow this guide to transfer ownership of a Light Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to transfer ownership of a Light Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - property: og:description - content: Follow this guide to transfer ownership of a Light Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to transfer ownership of a Light Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. - - meta - name: twitter:title content: How to Transfer Ownership of a Light Account - - meta - name: twitter:description - content: Follow this guide to transfer ownership of a Light Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337. + content: Follow this guide to transfer ownership of a Light Account with Account Kit, a vertically integrated stack for building apps that support ERC-4337 and ERC-6900. next: - text: Packages + text: Alchemy Enhanced Apis --- # How to transfer ownership of a Light Account @@ -39,7 +39,7 @@ There a number of ways you can call this method using Account Kit. ::: code-group ```ts [example.ts] -import { smartAccountClient } from "./smartAccountClient"; +import { smartAccountClient as lightAccountClient } from "./smartAccountClient"; // this will return the address of the smart account you want to transfer ownerhip of const accountAddress = await provider.getAddress(); From 25c770f5e3d45e9986235d7d7dcc43d8e3610580 Mon Sep 17 00:00:00 2001 From: moldy Date: Thu, 8 Feb 2024 16:55:28 -0500 Subject: [PATCH 8/9] fix: gasmanager config was being ignored when creating alchemy clients --- packages/alchemy/src/client/smartAccountClient.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/alchemy/src/client/smartAccountClient.ts b/packages/alchemy/src/client/smartAccountClient.ts index 512582843a..883abf1c86 100644 --- a/packages/alchemy/src/client/smartAccountClient.ts +++ b/packages/alchemy/src/client/smartAccountClient.ts @@ -121,9 +121,10 @@ export function createAlchemySmartAccountClient({ ...opts, feeOptions, }, + gasManagerConfig, + useSimulation, feeEstimator, customMiddleware, gasEstimator, - useSimulation, }); } From 6fcf434e8877497d654317ef79da8d492164fcf5 Mon Sep 17 00:00:00 2001 From: Alchemy Bot Date: Thu, 8 Feb 2024 22:30:28 +0000 Subject: [PATCH 9/9] chore(release): publish v3.0.0-alpha.6 [skip-ci] --- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- packages/accounts/CHANGELOG.md | 4 ++++ packages/accounts/package.json | 2 +- packages/alchemy/CHANGELOG.md | 11 +++++++++++ packages/alchemy/package.json | 2 +- packages/alchemy/src/version.ts | 2 +- 7 files changed, 31 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 348bab0542..594c3f837c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.6](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2024-02-08) + +### Bug Fixes + +- fix broken link for RequestGasAndPaymasterAndDataOverrides ([ce7cb14](https://github.com/alchemyplatform/aa-sdk/commit/ce7cb141013f55cd99df28b660b68f269f26a0ea)) +- gasmanager config was being ignored when creating alchemy clients ([25c770f](https://github.com/alchemyplatform/aa-sdk/commit/25c770f5e3d45e9986235d7d7dcc43d8e3610580)) +- incorrect entrypoint call ([6e14338](https://github.com/alchemyplatform/aa-sdk/commit/6e143388f68019d5806065fb410927e256bb0259)) + +### Features + +- export the create alchemy client from existing method ([d1c82f8](https://github.com/alchemyplatform/aa-sdk/commit/d1c82f8a1f529f3d098b00fa8b894164eddb665e)) + # [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) ### Bug Fixes diff --git a/lerna.json b/lerna.json index 29d9dc140d..bc94103685 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.0.0-alpha.5", + "version": "3.0.0-alpha.6", "npmClient": "yarn", "conventionalCommits": true, "conventionalPrerelease": true, diff --git a/packages/accounts/CHANGELOG.md b/packages/accounts/CHANGELOG.md index d28904a26a..0757fbee22 100644 --- a/packages/accounts/CHANGELOG.md +++ b/packages/accounts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.6](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2024-02-08) + +**Note:** Version bump only for package @alchemy/aa-accounts + # [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) ### Bug Fixes diff --git a/packages/accounts/package.json b/packages/accounts/package.json index 35f2e90b1b..017a0a629a 100644 --- a/packages/accounts/package.json +++ b/packages/accounts/package.json @@ -1,6 +1,6 @@ { "name": "@alchemy/aa-accounts", - "version": "3.0.0-alpha.5", + "version": "3.0.0-alpha.6", "description": "A collection of ERC-4337 compliant smart contract account interfaces", "author": "Alchemy", "license": "MIT", diff --git a/packages/alchemy/CHANGELOG.md b/packages/alchemy/CHANGELOG.md index ce47c20ed1..02bc8c978f 100644 --- a/packages/alchemy/CHANGELOG.md +++ b/packages/alchemy/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.0.0-alpha.6](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2024-02-08) + +### Bug Fixes + +- gasmanager config was being ignored when creating alchemy clients ([25c770f](https://github.com/alchemyplatform/aa-sdk/commit/25c770f5e3d45e9986235d7d7dcc43d8e3610580)) +- incorrect entrypoint call ([6e14338](https://github.com/alchemyplatform/aa-sdk/commit/6e143388f68019d5806065fb410927e256bb0259)) + +### Features + +- export the create alchemy client from existing method ([d1c82f8](https://github.com/alchemyplatform/aa-sdk/commit/d1c82f8a1f529f3d098b00fa8b894164eddb665e)) + # [3.0.0-alpha.5](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-02-07) ### Bug Fixes diff --git a/packages/alchemy/package.json b/packages/alchemy/package.json index e0e73debc8..864b39bcde 100644 --- a/packages/alchemy/package.json +++ b/packages/alchemy/package.json @@ -1,6 +1,6 @@ { "name": "@alchemy/aa-alchemy", - "version": "3.0.0-alpha.5", + "version": "3.0.0-alpha.6", "description": "adapters for @alchemy/aa-core for interacting with alchemy services", "author": "Alchemy", "license": "MIT", diff --git a/packages/alchemy/src/version.ts b/packages/alchemy/src/version.ts index 75e2376dad..8bf4b64c6a 100644 --- a/packages/alchemy/src/version.ts +++ b/packages/alchemy/src/version.ts @@ -1,3 +1,3 @@ // This file is autogenerated by inject-version.ts. Any changes will be // overwritten on commit! -export const VERSION = "3.0.0-alpha.5"; +export const VERSION = "3.0.0-alpha.6";