diff --git a/examples/alchemy-daapp/src/surfaces/onboarding/OnboardingController.ts b/examples/alchemy-daapp/src/surfaces/onboarding/OnboardingController.ts index 2f88f9d0a5..9539d50199 100644 --- a/examples/alchemy-daapp/src/surfaces/onboarding/OnboardingController.ts +++ b/examples/alchemy-daapp/src/surfaces/onboarding/OnboardingController.ts @@ -11,16 +11,16 @@ import { useAccount, useNetwork, type Chain } from "wagmi"; import { localSmartContractStore } from "~/clients/localStorage"; import { NFTContractABI } from "../../clients/nftContract"; import { - DAAppConfiguration, - daappConfigurations, + DAAppConfiguration, + daappConfigurations, } from "../../configs/clientConfigs"; import { - MIN_ONBOARDING_WALLET_BALANCE, - OnboardingContext, - OnboardingStep, - OnboardingStepIdentifier, - initialStep, - metaForStepIdentifier, + MIN_ONBOARDING_WALLET_BALANCE, + OnboardingContext, + OnboardingStep, + OnboardingStepIdentifier, + initialStep, + metaForStepIdentifier, } from "./OnboardingDataModels"; async function pollForLambdaForComplete( diff --git a/packages/accounts/src/light-account/__tests__/account.test.ts b/packages/accounts/src/light-account/__tests__/account.test.ts index ea88ac085f..f385a69a6d 100644 --- a/packages/accounts/src/light-account/__tests__/account.test.ts +++ b/packages/accounts/src/light-account/__tests__/account.test.ts @@ -1,7 +1,6 @@ import { LocalAccountSigner, SmartAccountProvider, - type Address, type BatchUserOperationCallData, type SmartAccountSigner, } from "@alchemy/aa-core"; diff --git a/site/smart-accounts/signers/capsule.md b/site/smart-accounts/signers/capsule.md index 3737eda5f6..8fdfce7141 100644 --- a/site/smart-accounts/signers/capsule.md +++ b/site/smart-accounts/signers/capsule.md @@ -80,6 +80,8 @@ import { sepolia } from "viem/chains"; import { capsuleSigner } from "./capsule"; const chain = sepolia; +const entryPointAddress = getDefaultEntryPointAddress(chain); +const factoryAddress = getDefaultLightAccountFactoryAddress(chain); const provider = new AlchemyProvider({ apiKey: "ALCHEMY_API_KEY", chain, diff --git a/site/smart-accounts/signers/dynamic.md b/site/smart-accounts/signers/dynamic.md index 6a1a681fbc..9ec3ccc7e8 100644 --- a/site/smart-accounts/signers/dynamic.md +++ b/site/smart-accounts/signers/dynamic.md @@ -91,6 +91,8 @@ import { sepolia } from "viem/chains"; import { dynamicSigner } from "./dynamic"; const chain = sepolia; +const entryPointAddress = getDefaultEntryPointAddress(chain); +const factoryAddress = getDefaultLightAccountFactoryAddress(chain); const provider = new AlchemyProvider({ apiKey: "ALCHEMY_API_KEY", chain, diff --git a/site/smart-accounts/signers/magic.md b/site/smart-accounts/signers/magic.md index ddf0b24dc2..a7b7df20c0 100644 --- a/site/smart-accounts/signers/magic.md +++ b/site/smart-accounts/signers/magic.md @@ -61,6 +61,9 @@ import { sepolia } from "viem/chains"; import { createMagicSigner } from "./magic"; const chain = sepolia; +const entryPointAddress = getDefaultEntryPointContract(chain); +const factoryAddress = getDefaultLightAccountFactory(chain); + // NOTE: the below is async because it depends on creating a magic signer. You can choose to break that up how you want // eg. use a useEffect + useState to create the signer and then pass it down to the provider const provider = new AlchemyProvider({ diff --git a/site/smart-accounts/signers/turnkey.md b/site/smart-accounts/signers/turnkey.md index 04d66eb00d..d9a60bef4f 100644 --- a/site/smart-accounts/signers/turnkey.md +++ b/site/smart-accounts/signers/turnkey.md @@ -69,6 +69,8 @@ import { newTurnkeySigner } from "./turnkey"; async function main() { const owner = await newTurnkeySigner(); const chain = sepolia; + const entryPointAddress = getDefaultEntryPointAddress(chain); + const factoryAddress = getDefaultLightAccountFactoryAddress(chain); const provider = new AlchemyProvider({ apiKey: "ALCHEMY_API_KEY", chain, diff --git a/site/smart-accounts/signers/web3auth.md b/site/smart-accounts/signers/web3auth.md index 9ba91a60b4..f7e360200d 100644 --- a/site/smart-accounts/signers/web3auth.md +++ b/site/smart-accounts/signers/web3auth.md @@ -61,6 +61,8 @@ import { sepolia } from "viem/chains"; import { web3authSigner } from "./web3auth"; const chain = sepolia; +const entryPointAddress = getDefaultEntryPointAddress(chain); +const factoryAddress = getDefaultLightAccountFactoryAddress(chain); const provider = new AlchemyProvider({ apiKey: "ALCHEMY_API_KEY", chain,