Repository navigation
Log Monero wallets in to DFX - #6348
Draft
TaprootFreakAI wants to merge 4 commits into
Draft
TaprootFreakAI wants to merge 4 commits into
TaprootFreakAI wants to merge 4 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.
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.
DFX was no longer offered for Monero wallets because Edge could not sign DFX's login message with them. The Monero engine now signs messages with the wallet's spend key for its primary address, which is the address the login uses. Add Monero to the chains Edge logs in to DFX, which offers DFX for Monero wallets again.
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
This is the follow-up announced in #6346: it adds Monero to the chains Edge logs in to DFX (
DFX_SESSION_CHAINS), which offers DFX for Monero wallets again.DFX logs a wallet in by a signature over its login message. The Monero engine could not sign messages; the two companion pull requests add that (see Dependencies). The login uses the wallet's primary address, which is what the engine returns as its address and the only address it signs for.
Only the last commit belongs to this pull request. The commits before it are #6346, which this branch builds on.
Tests: a
fetchDfxSessionQuerycase for a Monero wallet, and Monero moves to the offered side of thecheckSupportcases.Tested on an Android emulator with both companion branches built in: a Monero wallet opened DFX logged in with its address.
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
package.jsonbefore this merges; this pull request does not bump them yet. Until then the login fails for a Monero wallet and DFX opens without the wallet's address, as it did before Offer DFX only where Edge logs the wallet in #6346.Requirements
If you have made any visual changes to the GUI. Make sure you have: