feat(node): serve Sage-parity wallet RPC + bidirectional WS wallet/control transport (#368, #369)#24
Merged
Merged
Conversation
…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>
2ab73ee to
214bc99
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP — draft. Closes #369, #368.
The SPINE of the thin-client epic #365: serve the node-custodied wallet surface on the shipped
dig-nodebinary and give the extension a live bidirectional WebSocket wallet+control channel.#368 — serve the Sage-parity wallet RPC on the shipped node
WalletBackend(SQLite wallet DB + fallback tier + sharedEventBus) in thedig-node-servicebring-up and store it inAppState.POST /{method}, port 9778) + the mTLS 9257 listener for node-class/Sage-drop-in parity.WalletCustody(unlock loads a signer;require_signerno longer always errors "locked").#369 — bidirectional WS wallet+control transport + sync-status push
/ws/statusinto a full bidirectional/wswallet+control transport (request/response correlation ids).sync_statuspush (syncing/synced/height/disconnected).Version: minor bump 0.19.0 → 0.20.0.