Watch-only wallet creation: add no-private-keys wallet flow #617

Closed
opened 2026-05-06 08:55:23 +00:00 by johnny9 · 1 comment
johnny9 commented 2026-05-06 08:55:23 +00:00 (Migrated from github.com)

Code Gap

The Qt create-wallet dialog supports creating a wallet with private keys disabled. The QML Add Wallet intro copy advertises view-only wallets, and imported watch-only wallets can be described, but there is no generic QML flow to create a no-private-keys/watch-only wallet.

This is a primary wallet type for release. External-signer wallet creation is not a substitute because it requires a detected signer and sets the external signer flag.

Work Needed

  • Add a wallet type choice for no-private-keys/watch-only wallet creation.
  • Create the wallet with descriptor and disable-private-keys flags without requiring an external signer.
  • Disable incompatible encryption/password choices for no-private-keys wallets, matching the selected Qt behavior.
  • Make the created wallet's settings and send/receive affordances reflect watch-only state.
  • Coordinate with Send work for unsigned/PSBT creation from watch-only wallets.
  • Add coverage for successful watch-only creation, duplicate name, settings metadata, password/encryption gating, and first-use routing.
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/75 --> ## Code Gap The Qt create-wallet dialog supports creating a wallet with private keys disabled. The QML Add Wallet intro copy advertises view-only wallets, and imported watch-only wallets can be described, but there is no generic QML flow to create a no-private-keys/watch-only wallet. This is a primary wallet type for release. External-signer wallet creation is not a substitute because it requires a detected signer and sets the external signer flag. ## Work Needed - Add a wallet type choice for no-private-keys/watch-only wallet creation. - Create the wallet with descriptor and disable-private-keys flags without requiring an external signer. - Disable incompatible encryption/password choices for no-private-keys wallets, matching the selected Qt behavior. - Make the created wallet's settings and send/receive affordances reflect watch-only state. - Coordinate with Send work for unsigned/PSBT creation from watch-only wallets. - Add coverage for successful watch-only creation, duplicate name, settings metadata, password/encryption gating, and first-use routing.
pseudoramdom commented 2026-05-20 20:04:08 +00:00 (Migrated from github.com)
Is this same as https://github.com/bitcoin-core/gui-qml/issues/560? If so we have https://github.com/bitcoin-core/gui-qml/pull/565
Sign in to join this conversation.
No description provided.