You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've completed the PR template to the best of my ability
I’ve included tests if applicable
I’ve documented my code using JSDoc format if applicable
I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Note
Medium Risk
Changes deposit initiation return values and confirmation history behavior (push vs replace), which can affect navigation from Money flows and external deeplink entry points.
Overview
Adds extension support for https://link.metamask.io/money-account-deposit, aligned with mobile: a new deep link route (with interstitial protection and copy) resolves to /money-home/deposit, which renders a bridge page that waits for Money account availability, starts a deposit, and sends ineligible users or failed setup to wallet home.
useMoneyAccountDeposit now resolves to true/false (including when a second initiation is ignored), and accepts replaceConfirmation and optional goBackTo so the confirmation can replace the bridge and return to Money home on close. navigateToTransaction gains a replace path that navigates with { replace: true } instead of always pushing with goBackAction=pop.
Routing, locale string deepLink_theMoneyDepositPage, and unit tests cover the new route, bridge page, hook behavior, and confirmation navigation.
Reviewed by Cursor Bugbot for commit d46420a. Bugbot is set up for automated code reviews on this repo. Configure here.
The reason will be displayed to describe this comment to others. Learn more.
@Jwhiles is it mandatory that we navigate to Money home first before initiating the deposit? Is it feasible to navigate directly to the Money deposit screen?
The reason will be displayed to describe this comment to others. Learn more.
basically I think we need to have a route for the deposit to open from, since it isn't really a route per se - and the money home makes sense for that.
I think the alternative would be to make something akin to the deeplink bridge that you added to mobile. Happy to do that, but it will make the PR a bit bigger!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
retry-ciTells GitHub Actions to retry failed jobs, label removed automatically before the retrysize-Mteam-earn
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds money deposit deeplink, to achieve parity with mobile
Changelog
CHANGELOG entry: add money deposit deeplink
Related issues
Fixes: n/a
Manual testing steps
Screenshots/Recordings
Before
n/a
After
Screen.Recording.2026-11-03.at.16.33.01.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Changes deposit initiation return values and confirmation history behavior (push vs replace), which can affect navigation from Money flows and external deeplink entry points.
Overview
Adds extension support for
https://link.metamask.io/money-account-deposit, aligned with mobile: a new deep link route (with interstitial protection and copy) resolves to/money-home/deposit, which renders a bridge page that waits for Money account availability, starts a deposit, and sends ineligible users or failed setup to wallet home.useMoneyAccountDepositnow resolves totrue/false(including when a second initiation is ignored), and acceptsreplaceConfirmationand optionalgoBackToso the confirmation can replace the bridge and return to Money home on close.navigateToTransactiongains areplacepath that navigates with{ replace: true }instead of always pushing withgoBackAction=pop.Routing, locale string
deepLink_theMoneyDepositPage, and unit tests cover the new route, bridge page, hook behavior, and confirmation navigation.Reviewed by Cursor Bugbot for commit d46420a. Bugbot is set up for automated code reviews on this repo. Configure here.