Description
User Story
As a user, I want to only get the prompt for backing my SRP once I have non-zero token balances
Figma/Notion links:
Context:
Currently, we show this prompt once the user has non-zero funds for the base token (e.g ETH) or once they add a token to their list.
As it obscures part of the UI, prevents the user from interacting with what's behind it and cannot be closed, we should update it to also check if the added token has a non-zero balance and, if yes, only then show the prompt.
We should also exclude testnet assets from this non-zero balance detection as those tokens don't have value.
We should also exclude hardware wallet accounts from this non-zero balance detection as those keys are not generated with MetaMask Secret Recovery Phrase so backing it up won’t make the user more safe.
Acceptance Criteria
- Don't show the banner when the users only have balance on testnets;
- Don't show the banner when the users have added new tokens with zero balance (and don't have any other non-zero balance in their wallet).
- Don’t show the banner when the users only have balance on hardware accounts.
- The banner is show in all networks even if the user doesn't have balance on that specific network (but meets one of other criterias needed for the warning to be shown).
Open question(s)
- How to the do QA because we don't have value on the main assets (Eth or others main tokens)?