Add Pearl wallet support - #6586
Merged
Merged
Conversation
Keep optional address backfill failures from blocking login. Align BTC and Pearl replacement and transfer routing.
Show My Wallet when sending Pearl from Privacy Wallet, generate and parse pearl: amount URIs, and display Pearl chain icons.
Route BTC and Pearl through one UTXO generator while keeping chain-specific address rules. Cross-check TIP derivations with GoSDK and align Pearl with standard BIP32 vectors.
calcFee built a dummy transaction with a hardcoded 1-sat amount, which now trips the chain-specific minimum-output check added for Pearl/BTC and crashes with 'Amount must be at least 0.001'. Use the chain's minimum transfer amount instead; vsize is unaffected since Coin values serialize to a fixed 8 bytes.
Replace the prl1qexampleaddress placeholder (witness v0, invalid checksum) with the canonical taproot address for the BIP39 test mnemonic, and wire isAddressValid into the Pearl URI parse test so an invalid address is rejected.
Reuse the debug token-detail entry so Pearl outputs can be inspected, refreshed, and listed by chain id.
Catch builder failures in calcFee so low-balance probes fall back instead of throwing. Load privacy-wallet destinations from the local deposit cache first, prefetch while the wallet list is open, and pin minimumTransferAmount in builder tests.
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.
No description provided.