MetaMask / MetaMask/metamask-extension

Create a "submit with one click" button to skip manual approval

Open
#5,110 0 comments 3 reactions 0 assignees View on GitHub
area-permissions type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**What problem are you trying to solve?**
Many transactions on MetaMask are large value transactions, whose initiators do not care about the transaction cost. Examples are decentralized exchange transactions by traders or purchases on digital collectible sites.
Making the user to leave their user flow to go to MetaMask plugin to review transaction details and manually approve a transaction seems like an extra unnecessary step for these people. Below is a way of going around it.

**Describe the solution you'd like**
Create a MetaMask widget that presents gas fee, gas cost, receiving address, a "Submit with One Click" button, and a MetaMask logo, all in one box. 3rd party DAPP providers will have the option to enable usage of this widget as an alternative to "submit" and "approve on metamask" as a way to streamline UX and allow user to skip visiting MetaMask to approve transaction. This button can have logic that determines if user has sufficient funds to complete transaction as well. If there is not sufficient funds, the widget will not appear.

**Additional context**
Check out the "Buy with one click" feature on Amazon. A similar feature on MetaMask will be very helpful in streamlining the UX.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the proposed MetaMask widget requirements: gas fee, gas cost, receiving address, one-click submission, and sufficient-funds handling. Compare them with the current transaction approval flow and DApp integration points; the work is done when the design and implementation define a safe, complete alternative to manual approval.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.