Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bijanshahrokhi opened this issue Aug 20, 2018 · 0 comments
Open
Labels
area-permissions Issues relating to exposing permissions from the trusted MetaMask context to less-trusted contexts. type-enhancement

Comments

@bijanshahrokhi
Copy link

bijanshahrokhi commented Aug 20, 2018

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.

@jennypollack jennypollack added the area-permissions Issues relating to exposing permissions from the trusted MetaMask context to less-trusted contexts. label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-permissions Issues relating to exposing permissions from the trusted MetaMask context to less-trusted contexts. type-enhancement
Projects
None yet
Development

No branches or pull requests

3 participants