MetaMask / MetaMask/metamask-mobile

[Bug]: When deeplinked to Ramps page with chainID Solana, the from currency is not SOL but ETH

Open
#18,869 2 comments 0 reactions 0 assignees View on GitHub
deeplink INVALID-ISSUE-TEMPLATE non-evm QA regression-prod-7.60.4 regression-RC-7.54.0 Sev2-normal solana team-new-networks type-bug Vivek
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**

When deeplinked to Ramps page with chainID Solana, the from currency is not SOL but ETH

You can test on the current 7-54 RC

You can use this link [https://link.metamask.io/create-account?chainId=solana%3A5eykt4UsFv8P8NJdTREpY1vzqKqZ[…]-rSdEG1YfbXztlUEH0gjLdrtTOdxSf3-aA1RBA5n3GWpWIfufPRWuVwhPzwg](https://link.metamask.io/create-account?chainId=solana%3A5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp&utm_campaign=cmp-42525823-afbf08&utm_medium=email&utm_source=hubspot&sig=5Xz7Vu4ROWHI7ks9Ii3RhdpOQN-rSdEG1YfbXztlUEH0gjLdrtTOdxSf3-aA1RBA5n3GWpWIfufPRWuVwhPzwg)

**Expected behavior**

If the deeplink is clicked, it should populate the Source Currency with SOL not ETH

**Steps to reproduce**

1. Install Mobile Build which gives you a Solana Default Account with balance 0
2. Click on the link - [https://link.metamask.io/create-account?chainId=solana%3A5eykt4UsFv8P8NJdTREpY1vzqKqZ[…]-rSdEG1YfbXztlUEH0gjLdrtTOdxSf3-aA1RBA5n3GWpWIfufPRWuVwhPzwg](https://link.metamask.io/create-account?chainId=solana%3A5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp&utm_campaign=cmp-42525823-afbf08&utm_medium=email&utm_source=hubspot&sig=5Xz7Vu4ROWHI7ks9Ii3RhdpOQN-rSdEG1YfbXztlUEH0gjLdrtTOdxSf3-aA1RBA5n3GWpWIfufPRWuVwhPzwg)

**Error messages or log output**

```shell

```

**Detection stage**

During release testing

**Version**

7.54

**Build type**

None

**Device**

iOS /Android

**Operating system**

iOS

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the deeplink on the iOS or Android mobile build and inspect how the chainId is handled when opening the Ramps page. Trace the source-currency selection for the Solana chain; done means the deeplink populates SOL instead of ETH.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.