feat: create solana account and call discoverAccounts during creation and import of hd keyring#14775
Merged
Conversation
…t-keyring-selection
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14775 +/- ##
==========================================
+ Coverage 67.81% 67.85% +0.03%
==========================================
Files 2339 2340 +1
Lines 50384 50405 +21
Branches 7427 7431 +4
==========================================
+ Hits 34168 34202 +34
+ Misses 14052 14036 -16
- Partials 2164 2167 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
341417f to
3d1dc7b
Compare
Contributor
|
|
owencraston
approved these changes
May 8, 2025
owencraston
left a comment
Contributor
There was a problem hiding this comment.
Tested the import and with an existing MM vault flow and it worked as expected. The code also looks good to me.
screen-20250508-200436.2.mp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Description
This PR enables the discover Accounts call during import srp and creation of a new vault.
Changes:
multiSrp/indexto calladdDiscoveredAccountsand add tests.SolanaNewFeatureContent.test.tsxto use theMultichainWalletSnapFactorygetMultichainAccountNameinAddNewAccountAuthenticationaddDiscoveredAccountsis called aftercreateNewVaultandRestoreandcreateNewVaultAndKeychainRelated issues
Fixes:
Manual testing steps
Using the beta build.
Onboarding flow
Import new srp during onboarding
With an existing MM vault.
Secrete Recovery PhraseScreenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist