WO-18 — Qt wallet interface prototype

Branch: wo-18-qt-wallet, based on the current wo-17-node branch at 355efd9. Status: implementation updated per resolved decision #28; ready for independent review. Send remains disabled as directed until the node exposes spendable UTXOs. Scope: Qt 6 Widgets frontend wrapping the existing e46-wallet and e46-node executables through QProcess. No new crypto implementation or library refactor.

Implemented

  • Added e46-qt-wallet, an optional Qt 6 Widgets target. Core builds skip it when Qt 6 Widgets is unavailable.

  • Added a compact dark desktop layout with E46 branding and Overview, Miner Dashboard, Console, Send, Receive, Activity, Unlock, and About screens.

  • Wallet actions call the existing CLI: create an E46QTLW2 file, select a file and its external fingerprint, verify/unlock, derive testnet addresses, and clear the app’s selected session. Passwords are entered in masked fields and sent only to child stdin; they never appear in process arguments, environment variables, or UI logs. The UI clears its password fields, temporary UTF-8 values, and secret byte buffer after forwarding. It does not retain a password or seed.

  • Stored app settings contain only wallet path, external fingerprint, and local node data-directory path. The CLI’s --show-secret option is never used.

  • Console exposes only existing node read/mining commands: getblock, gettx, balance, and mine; help is local. It invokes e46-node with an argument list, never through a shell. It rejects malformed/unknown commands without echoing the rejected text; accepted command arguments are also omitted from the UI log. Transaction submission is not exposed until UTXO-backed review is available. Mining is limited to 1–200 blocks per UI run and uses the CLI’s four-worker default.

  • Miner Dashboard starts a separate bounded e46-node process. It cannot attach to a miner already running in another process. The CLI provides no live hashrate, cancellation, or per-block progress, so the dashboard reports results after the command completes and leaves live metrics blank. Do not run a second miner against the same data directory.

  • Balance refresh is a local node CLI query for the last derived address. Values are labeled in base units. Send remains disabled because the current node CLI does not expose spendable UTXOs for coin selection and review.

  • Added the supplied wallet icon as a Qt resource. Did not copy the mockup’s About screen, which contains personal identifying information.

  • Removed the standalone Homebrew Qt 5.15.19 installation at the owner’s request; Qt 6.11.2 remains installed. The removed Qt 5 keg was 192 MB.

  • Added the supplied wallet icon as a Qt resource. Did not copy the mockup’s About screen, which contains personal identifying information.

  • Removed the standalone Homebrew Qt 5.15.19 installation at the owner’s request; Qt 6.11.2 remains installed. The removed Qt 5 keg was 192 MB.

Verification

  • Qt 6.11.2 Widgets is installed locally.

  • cmake --preset release — passed.

  • cmake --build build/release --target e46-qt-wallet -j1 — passed with warnings treated as errors.

  • Launched e46-qt-wallet under Qt’s offscreen platform and confirmed the window event loop starts; then stopped the smoke run cleanly.

  • wallet_cli_integration — passed after adding an unlock through a real pseudo-terminal. The test now exercises the interactive TTY password path as well as the existing piped-password create/unlock, address, signing, and lock-rotation flows. No node mining command was run and no sanitizer pass was run.

Open scope

Decision #28 is resolved with the owner’s CLI-wrapper and stdin-only secret-handling direction. Decision #29 records the allowlisted CLI command surface. The implementation does not invent UTXO selection or enable Send. App-owned password buffers are overwritten after use, but zeroization of transient Qt input-widget and OS pipe internals cannot be guaranteed by this application layer. WO-17’s long local mining exercise remains pending owner-run verification in its report.