tocwex / tocwex/fund

Smart identification/error handling of connected wallets

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

  1. easy error handling:
  • clicking the button prompts an error dialog and tells the user what address to connect to the site
  1. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.