MetaMask / MetaMask/metamask-extension

Improve "insufficient funds" error. Add link to Buy ETH

Open
#10,222 0 comments 0 reactions 0 assignees View on GitHub
journey-confirmation needs-design type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

#Description
As a user, I want to have more specific “insufficient funds” messages and have link to Buy ETH, so I can finish my transaction

#Situation
GIVEN: I am confirming a transaction (transaction confirmation, approve, etc)
WHEN: I have insufficient funds
THEN: I should get an alert notifying if I have insufficient token balance or insufficient ETH to pay gas
AND: Have a link to Buy ETH (be directed to onramp flow) in order to to finish the transaction

Contributor guide

Open the contributing guide

Research direction

Trace the transaction confirmation and approval flows that produce insufficient-funds alerts, then identify how token balance and ETH gas balance are currently checked. Update the relevant alerts to distinguish those cases and include a Buy ETH link that enters the onramp flow; verify confirmation, approval, token-shortfall, and gas-shortfall scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
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.