Skip to content

feat(node): serve Sage-parity wallet RPC + bidirectional WS wallet/control transport (#368, #369)#24

Merged
MichaelTaylor3d merged 1 commit into
mainfrom
feat/ws-transport-serve
Jul 12, 2026
Merged

feat(node): serve Sage-parity wallet RPC + bidirectional WS wallet/control transport (#368, #369)#24
MichaelTaylor3d merged 1 commit into
mainfrom
feat/ws-transport-serve

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

WIP — draft. Closes #369, #368.

The SPINE of the thin-client epic #365: serve the node-custodied wallet surface on the shipped dig-node binary and give the extension a live bidirectional WebSocket wallet+control channel.

#368 — serve the Sage-parity wallet RPC on the shipped node

  • Build a live WalletBackend (SQLite wallet DB + fallback tier + shared EventBus) in the dig-node-service bring-up and store it in AppState.
  • Serve the Sage method surface on the extension-reachable loopback (POST /{method}, port 9778) + the mTLS 9257 listener for node-class/Sage-drop-in parity.
  • Runtime signer loading: the served backend resolves its signer from the node-custodied WalletCustody (unlock loads a signer; require_signer no longer always errors "locked").

#369 — bidirectional WS wallet+control transport + sync-status push

  • Extend /ws/status into a full bidirectional /ws wallet+control transport (request/response correlation ids).
  • First-class sync_status push (syncing/synced/height/disconnected).
  • Paired-token (#370/#371) authz over the WS for wallet/control ops; unauthorized calls rejected.
  • Resolver/content transport UNCHANGED.

Version: minor bump 0.19.0 → 0.20.0.

…ntrol transport (#368, #369)

Serve the wallet RPC on 9778 (browser HTTP/CORS) + mTLS 9257; add the bidirectional /ws wallet+control transport with first-class sync-status push, paired-token authz, runtime custody signer load, and a production WalletService assembler. v0.20.0.

Co-Authored-By: Claude <noreply@anthropic.com>
@MichaelTaylor3d MichaelTaylor3d force-pushed the feat/ws-transport-serve branch from 2ab73ee to 214bc99 Compare July 12, 2026 02:16
@MichaelTaylor3d MichaelTaylor3d changed the title feat(wallet): serve Sage-parity wallet RPC on shipped node + bidirectional WS wallet/control transport feat(node): serve Sage-parity wallet RPC + bidirectional WS wallet/control transport (#368, #369) Jul 12, 2026
@MichaelTaylor3d MichaelTaylor3d marked this pull request as ready for review July 12, 2026 02:24
@MichaelTaylor3d MichaelTaylor3d merged commit 9004a80 into main Jul 12, 2026
9 of 10 checks passed
@MichaelTaylor3d MichaelTaylor3d deleted the feat/ws-transport-serve branch July 12, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant