Skip to content

Feature/scan for safes#2492

Open
Oxbobby wants to merge 6 commits into
v2from
feature/scan-for-safes
Open

Feature/scan for safes#2492
Oxbobby wants to merge 6 commits into
v2from
feature/scan-for-safes

Conversation

@Oxbobby

@Oxbobby Oxbobby commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

Adds on-demand discovery of Safe accounts during account import and changes smart account discovery so smart-account keys are derived only when the user explicitly scans for linked smart accounts.

Changes

  • Add Safe discovery helpers that use Safe API Kit to:
    • find Safes by owner address
    • fetch Safe creation/config data
    • return import-ready Safe metadata
  • Add AccountPickerController.scanForSafeAccounts(ownerAddrs) to discover Safes for selected owner accounts across enabled Safe-supported networks.
  • Track separate loading/completion state for linked smart account scans and Safe scans.
  • Make linked smart account discovery explicit/on-demand instead of deriving smart-account-only keys during initial page load.
  • Preserve the initial account page as basic EOAs only until smart account discovery is requested, improving hardware wallet flows such as Ledger.
  • Refactor Safe import lookup to reuse the new shared getSafeImportInfo helper.
  • Treat already-imported Safe accounts as imported with the same keys.
  • Update account picker tests for the new on-demand smart account derivation flow

@Oxbobby Oxbobby requested a review from superKalo June 17, 2026 05:29
@Oxbobby Oxbobby self-assigned this Jun 17, 2026
@Oxbobby Oxbobby added the enhancement New feature or request label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant