Smart identification/error handling of connected wallets
Nobody has claimed this yet.
- Dominant language
- hoon
- Stars
- 12
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently, if you have the wrong wallet connected to the site (i.e. currently selected in metamask) , clicking a button that prompts a metamask transaction will fail silently.
The expected behavior here is one of two things:
- easy error handling:
- clicking the button prompts an error dialog and tells the user what address to connect to the site
- smart error handling:
- clicking the button, if the correct wallet is allowed to connect to the site, it auto switches while warning the user (warning is native to metamask, afaict).
- if the correct wallet is not allowed to connect to the site (i.e. not it metamask, or lacking current perms) the button prompts an error dialog and tells the user what address to connect to the site
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the button flow that prompts a MetaMask transaction and trace how a wrong connected wallet currently fails silently. Determine whether the project can detect the required address and handle MetaMask permissions; done means the user receives an actionable error or the wallet switches with a warning, according to the selected behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100