MetaMask / MetaMask/metamask-mobile

[MetaMask Connect] Decouple UI from the “active account”

Open
#3,748 0 comments 0 reactions 1 assignee Claimed by @andrepimenta View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

We will be using the connected account which is different for each connected dapp

- Start with dapp requests:
- Send transaction
- Sign
- Others
- Example
- Dapp uniswap.exchange requests
- eth_sendTransaction
- Params: [txParams, FROM account]
- Compare FROM account === connected account (we can put it as a constant)
- If they are the same then requests popup appears
- When user confirms the transaction, we need to make sure the transaction is submitted with the connected account

Right now, when we submit, it gets the active account (we need to modify this)
ETA 2-3 weeks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.