MLH-Fellowship / MLH-Fellowship/CryptoDrive

[Edge Case] Payment Rejection in Metamask while Upload

Open
#105 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Retrospective
Dominant language
JavaScript
Stars
29
Forks
14
PR merge metrics
No merged PRs in 30d

Description

While we upload a file it sends a request to pay the gas fee to store the user details and then upload details but if the user clicks on reject then it should be handled so for that we need to handle an alert to state please try again and stating a proper reason.

Contributor guide

Open the contributing guide

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 JavaScript upload flow where the gas-fee payment is requested through MetaMask, then trace how a rejected payment is reported. Done means a rejection shows an alert asking the user to try again with a clear reason and the upload flow handles the failure without proceeding.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, javascript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.