Skip to content

Commit

Permalink
Merge branch 'alchemyplatform:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 authored Feb 9, 2024
2 parents 8880f52 + 6fcf434 commit 3b6d38e
Show file tree
Hide file tree
Showing 50 changed files with 238 additions and 96 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
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

- **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
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "3.0.0-alpha.4",
"version": "3.0.0-alpha.6",
"npmClient": "yarn",
"conventionalCommits": true,
"conventionalPrerelease": true,
Expand Down
15 changes: 15 additions & 0 deletions packages/accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
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

- **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
Expand Down
4 changes: 2 additions & 2 deletions packages/accounts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alchemy/aa-accounts",
"version": "3.0.0-alpha.4",
"version": "3.0.0-alpha.6",
"description": "A collection of ERC-4337 compliant smart contract account interfaces",
"author": "Alchemy",
"license": "MIT",
Expand Down Expand Up @@ -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"
}
}
9 changes: 6 additions & 3 deletions packages/accounts/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
],
Expand Down
17 changes: 17 additions & 0 deletions packages/alchemy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
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

- **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
Expand Down
2 changes: 1 addition & 1 deletion packages/alchemy/e2e-tests/light-account.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
4 changes: 2 additions & 2 deletions packages/alchemy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alchemy/aa-alchemy",
"version": "3.0.0-alpha.4",
"version": "3.0.0-alpha.6",
"description": "adapters for @alchemy/aa-core for interacting with alchemy services",
"author": "Alchemy",
"license": "MIT",
Expand Down Expand Up @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion packages/alchemy/src/client/smartAccountClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ export function createAlchemySmartAccountClient({
...opts,
feeOptions,
},
gasManagerConfig,
useSimulation,
feeEstimator,
customMiddleware,
gasEstimator,
useSimulation,
});
}
1 change: 1 addition & 0 deletions packages/alchemy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion packages/alchemy/src/version.ts
Original file line number Diff line number Diff line change
@@ -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.6";
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/version.ts
Original file line number Diff line number Diff line change
@@ -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";
4 changes: 4 additions & 0 deletions packages/ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions packages/signers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/signers/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 4 additions & 0 deletions site/.vitepress/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
],
},
{
Expand Down
6 changes: 3 additions & 3 deletions site/getting-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const signature = await wrapSignatureWith6492({

The original signature wrapped in ERC-6492 format

## Paramters
## Paramaters

### `SignWith6492Params`

Expand Down
2 changes: 1 addition & 1 deletion site/packages/aa-core/utils/getDefaultEntryPointAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const entryPointAddress = getDefaultEntryPointAddress(chain);

The Address of the default EntryPoint contrafct for the input chain

## Paramters
## Paramaters

### `chain: Chain`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion site/packages/aa-core/utils/getUserOperationHash.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const result = getUserOperationHash(

The hash of the user operation

## Paramters
## Paramaters

### `request: UserOperationRequest`

Expand Down
2 changes: 1 addition & 1 deletion site/resources/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/resources/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
6 changes: 3 additions & 3 deletions site/signers/guides/arcana-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions site/signers/guides/capsule.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 3b6d38e

Please sign in to comment.