MetaMask / MetaMask/metamask-extension

Add token after fiat on ramp order

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

Description

On v10.10.0 we [enable the purchase of stablecoins via the on ramp feature](https://github.com/MetaMask/metamask-extension/pull/13398) on BSC, Polygon, Avanlanche, Fantom, Celo and Ethereum Mainnet.
But if a user purchase stablecoins and doesn't have token detection on or is in a network where we don't support token detection, the stablecoin won't appear in the users' wallet and make them confused.
To avoid this confusion, **we should automatically add the stablecoin to the users' wallet after a successful on ramp order.** This is similar to what we currently do for swaps.

For reference:
[Slack thread](https://consensys.slack.com/archives/G018FR294E9/p1645112468008049)
[Mobile PR](https://github.com/MetaMask/metamask-mobile/pull/3797/commits/9a1189960e7ac31baacc088f307065d6bb493118)

Contributor guide

Open the contributing guide

Research direction

Start by comparing the mobile PR linked in the issue with the extension's existing swap behavior for adding tokens. Trace the successful on-ramp order flow and identify where the purchased stablecoin can be added to the wallet; done means the stablecoin appears after a successful order even when token detection is disabled or unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, payments
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.