mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:03:39 +00:00
Watch-only Wallet Support #560
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#560
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add watch-only wallet parity so QML can create/import wallets with private keys disabled, surface them clearly as watch-only, and gate receive/send/signing actions according to wallet capabilities.
Complexity
LDependencies
10141802Global Constraints
gui-qml/.bitcoin/src/qtcomponents. Reused logic must be moved/ported intogui-qml/.interfaces::Walletorinterfaces::Nodein this version.DefinitionOfDone.md.Scope
Acceptance Criteria (DoD-Aligned)
Required Tests
qml/test/testbridge.h): E2E flow: create watch-only wallet -> import watch-only material or load prepared watch-only wallet -> fund watched address -> verify balance/activity -> attempt send and verify PSBT/unavailable path -> restart and verify persisted state.Implementation Notes
qml/walletqmlcontroller.*,qml/models/walletqmlmodel.*,qml/pages/wallet/CreateWalletWizard.qml, wallet import success/settings surfaces,WalletBadge.qml, and send/receive pages.WalletQmlController::createSingleSigWalletcurrently creates descriptor wallets without disabled-private-key flags; add a dedicated watch-only creation method or wallet-type parameter usingWALLET_FLAG_DISABLE_PRIVATE_KEYS | WALLET_FLAG_BLANK_WALLET | WALLET_FLAG_DESCRIPTORS.WALLET_FLAG_DISABLE_PRIVATE_KEYSasWatch-only; extend that metadata so all wallet surfaces can use it consistently.https://www.figma.com/design/fmpjcEftcnyXudd4cbce20/Bitcoin-Core-App-Design?node-id=7705-668680&t=mIAxBGD0rxcqIN8O-4
I would start with these frames, our list should include single sig, watch-only, external signer (if configured), and import.
Then in the send flow, on the review page, the send button can just export to psbt and the label should reflect that
@epicleafies