Some checks failed
ci / gate (push) Has been cancelled
Restoring a phrase now scans for the account numbers it already uses, instead of opening account 1 and leaving the rest to be guessed at. Each number is derived under both schemes, the chain is asked in one request which of those addresses exist (a System::Account entry is there for an account that has ever been funded), and the scan carries on while a batch held any, stopping after a gap of 20 empty numbers, as the mobile wallet's import does. Numbers found are opened and remembered like a hand-added one, so they come back on the next unlock. The same scan is a "Find accounts" button on every open wallet with a phrase, and it says what it found. A wallet with no phrase, or a chain that is not connected, offers no scan; a failure during restore is swallowed, since the wallet is open either way and the button retries. On the dev node: 7 DEV sent from the CLI to account 3 of the dev phrase, then that phrase restored here. Without pressing anything the wallet opened accounts 1, 2 and 3 under both schemes, account 3 showing the 7 DEV, after looking at 40 numbers; settings recorded 1 and 2. On a freshly created phrase, Find accounts looked at 20 numbers, added nothing, and said so. Closes #69 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ftBXYuba8ARhQeF74oUgW