Feature Parity 21: External Signer / HWI Flow #525

Closed
opened 2026-02-28 16:54:53 +00:00 by johnny9 · 3 comments
johnny9 commented 2026-02-28 16:54:53 +00:00 (Migrated from github.com)

Summary

Deliver external signer flow parity for transaction signing with hardware/external devices.

Complexity

  • XL

Dependencies

  • 18
  • 16
  • 10
  • 02

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Add signer detection surface using Node::listExternalSigners.
  • Integrate send + PSBT flow for external signing path.
  • Expose signer configuration guidance and unavailable-state handling.
  • Support partial-sign and finalize loops.

Acceptance Criteria (DoD-Aligned)

  1. User can detect available external signer and complete supported signing flow.
  2. Missing signer, multiple signer, and signer error conditions are explicit and recoverable.
  3. PSBT/external signer interoperability is validated end-to-end.

Required Tests

  • C++ unit tests: Unit tests with signer mocks/stubs for detection and flow branching.
  • QML QTest: QTests for signer state UI and action enablement.
  • Python E2E (qml/test/testbridge.h): E2E flow with mocked external signer path including failure/retry behavior.

Implementation Notes

  • Treat this as late-stage parity once PSBT core flow is stable.
## Summary Deliver external signer flow parity for transaction signing with hardware/external devices. ## Complexity - `XL` ## Dependencies - `18` - `16` - `10` - `02` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Add signer detection surface using `Node::listExternalSigners`. - Integrate send + PSBT flow for external signing path. - Expose signer configuration guidance and unavailable-state handling. - Support partial-sign and finalize loops. ## Acceptance Criteria (DoD-Aligned) 1. User can detect available external signer and complete supported signing flow. 2. Missing signer, multiple signer, and signer error conditions are explicit and recoverable. 3. PSBT/external signer interoperability is validated end-to-end. ## Required Tests - C++ unit tests: Unit tests with signer mocks/stubs for detection and flow branching. - QML QTest: QTests for signer state UI and action enablement. - Python E2E (`qml/test/testbridge.h`): E2E flow with mocked external signer path including failure/retry behavior. ## Implementation Notes - Treat this as late-stage parity once PSBT core flow is stable.
GBKS commented 2026-03-23 08:35:32 +00:00 (Migrated from github.com)

Can someone maybe share screenshots of what this looks like in the UI? I found this walkthrough from 2021, is that still somewhat accurate?

Can someone maybe share screenshots of what this looks like in the UI? I found this [walkthrough from 2021](https://hwi.readthedocs.io/en/latest/examples/walkthrough/walkthrough.html), is that still somewhat accurate?
johnny9 commented 2026-04-04 05:32:32 +00:00 (Migrated from github.com)

Can someone maybe share screenshots of what this looks like in the UI? I found this walkthrough from 2021, is that still somewhat accurate?

Settings for HWI script path and create wallet:
https://github.com/user-attachments/assets/b396e1ed-098b-42f2-a28f-57b685202ae7

Create transaction and send/sign on device
https://github.com/user-attachments/assets/57e7861d-7419-4d43-a7e9-4783f79d1ce5

> Can someone maybe share screenshots of what this looks like in the UI? I found this [walkthrough from 2021](https://hwi.readthedocs.io/en/latest/examples/walkthrough/walkthrough.html), is that still somewhat accurate? Settings for HWI script path and create wallet: https://github.com/user-attachments/assets/b396e1ed-098b-42f2-a28f-57b685202ae7 Create transaction and send/sign on device https://github.com/user-attachments/assets/57e7861d-7419-4d43-a7e9-4783f79d1ce5
johnny9 commented 2026-04-04 05:33:13 +00:00 (Migrated from github.com)

I'm going to start working on getting this setup on gui-qml this week

I'm going to start working on getting this setup on gui-qml this week
Sign in to join this conversation.
No description provided.