Repository navigation
Offer DFX only where Edge logs the wallet in - #6346
Draft
TaprootFreakAI wants to merge 3 commits into
Draft
TaprootFreakAI wants to merge 3 commits into
TaprootFreakAI wants to merge 3 commits into
Conversation
DFX was offered for Solana and Monero wallets, but Edge cannot log those wallets in. DFX then opened without the wallet's address, and the user could not finish the order from there. Limit the supported assets to the chains with a session login. The other chains can return once their wallets can sign DFX's ownership message.
Author
|
Could you please review this? If it looks good, please merge it: it removes the dead end Monero and Solana users currently hit when they pick DFX, which improves the experience in the app. |
Offer DFX only where Edge logs the wallet in DFX was offered for Solana and Monero wallets, but Edge does not log those wallets in to DFX. DFX then opened with the quote choices but without the wallet's address. Limit the supported assets to the chains in DFX_SESSION_CHAINS.
TaprootFreak
approved these changes
Nov 24, 2026
This was referenced Nov 24, 2026
peachbits
added a commit
that referenced
this pull request
Nov 24, 2026
#6346 removes DFX_CHAINS, which the DFX sell override still read.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
DFX is currently offered for Monero and Solana wallets, but Edge does not log those wallets in to DFX:
fetchDfxSessionQueryreturns no session for them. DFX then opens with the quote choices but without the wallet's address.This limits DFX's supported assets to the chains in
DFX_SESSION_CHAINS(Bitcoin, Ethereum, Arbitrum, Optimism, Polygon, Base, BNB Smart Chain), so DFX is no longer listed for a wallet that Edge does not log in to DFX. Nothing changes for the seven listed chains.Monero and Solana can be offered again once Edge logs those wallets in to DFX. A follow-up PR is planned to add that login for Monero; it is not part of this PR.
Tests:
checkSupportcases for chains where Edge does and does not log the wallet in, and the twomakeDfxRequestQuerycases that used Monero and Solana now use Bitcoin and Polygon.The last commit is an
amend!commit: it carries the corrected commit message for the autosquash.CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
none
Requirements
If you have made any visual changes to the GUI. Make sure you have: