[SDK] Feature: add flag for skipping default ecosystem info fetch #6052
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If an ecosystem has account abstraction settings turned on in the Thirdweb dashboard, there's currently no way through the SDK to allow users to log into their ecosystem wallets - they'll always be wrapped into their smart wallets for chains that use an account factory strategy (e.g., Arbitrum Sepolia chain ID 421614). We have a need to allow ecosystem wallet access for transferring assets that may have been mistakenly sent to that address.
PR-Codex overview
This PR introduces an optional flag for ecosystem wallet creation that allows users to skip fetching default ecosystem information. This enhances flexibility in wallet creation by providing developers with more control over the data retrieval process.
Detailed summary
skipEcosystemInfo
flag intypes.ts
to skip fetching ecosystem info.ecosystem.ts
to passskipEcosystemInfo
to wallet creation options.in-app-core.ts
to conditionally fetch ecosystem info based onskipEcosystemInfo
.