Repository navigation
feat(payments): redesigned Send screen with address-type detection and multi-source sends - #819
Merged
QuantumExplorer merged 1 commit intoJul 16, 2026
Conversation
…d multi-source sends
Shortcut bar: "Send to Address" now shows as "Address" (new shortTitle,
full title kept in the customization sheet) and opens the send screen
directly, prefilled from the clipboard when it holds a valid address.
Send screen redesign:
- The entered address decides the destination type — Transparent L1
(Base58Check), Platform (bech32m 0xb0/0x80 + 20-byte hash), or
Shielded (bech32m 0x10 + 43 Orchard bytes, previously misclassified
as Platform) — shown as a badge; the Core/Platform toggle is gone.
- Internal-transfer-style From picker filtered to the sources that can
fund the destination: core→core, platform→{platform,core},
shielded→{core,platform,shielded}.
- Amount entered inline (shared TransferAmountRow + numeric keypad);
per-route validation reserves the SDK fee headroom, Max fills the
route envelope, Platform→Core supports partial and full-balance
withdrawal via the preflight.
- Core→Core rides the classic payment processor via a BIP21 URI
carrying the fixed amount; all other routes confirm in the new
SendConfirmSheet (summary, progress checklist, success) and execute
through ShieldedTransferCoordinator, which now accepts external
destinations and gains shielded→shielded transfer and
platform→platform send legs.
- QR scans fill the form (address + BIP21 amount) instead of bypassing
it; PlatformSendConfirmScreen deleted (superseded).
Co-Authored-By: Claude Fable 5 <[email protected]>
|
Important Review skippedToo many files! This PR contains 788 files, which is 738 over the limit of 50. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (408)
📒 Files selected for processing (1051)
You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests (beta)
|
1 of 4 tasks
2 of 5 tasks
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.
Summary
Reworks the external Send flow end-to-end, fixing shielded-address recognition and bringing the screen to parity with the internal transfer form.
Shortcut bar
Send screen
Address-type detection replaces the Core/Platform toggle: the entered/pasted/scanned address is decoded into Transparent L1 (Base58Check), Platform (bech32m, 0xb0/0x80 + 20-byte hash), or Shielded (bech32m, 0x10 + 43 raw Orchard bytes) and shown as a badge. Shielded addresses were previously misclassified as Platform and dead-ended on the P2PKH check.
From picker (internal-transfer-style balance cards), filtered to sources that can actually fund the destination:
Inline amount with DASH/fiat unit toggle, Max, and numeric keypad. Per-route validation reserves the SDK fee headroom; Platform→Core supports both partial and exact-full-balance withdrawal via the preflight.
Confirm & execute: Core→Core rides the classic payment processor via a BIP21 URI carrying the fixed amount (real L1 fee math, existing confirm). All other routes confirm in the new
SendConfirmSheet(summary card with recipient address, progress checklist, success state) and execute throughShieldedTransferCoordinator, which now accepts external destinations and gains shielded→shielded (shieldedTransfer) and platform→platform (PlatformSendExecutor) legs.QR scans fill the form (address + BIP21 amount) instead of bypassing it.
Cleanups
TransferAmountRow,TransferSourceRow) used by both the internal transfer screen and the send screen.PlatformSendConfirmScreendeleted (superseded bySendConfirmSheet).en.lproj.Test plan
dashpaysimulator build (arm64)🤖 Generated with Claude Code