demos: add remote signing coordinator#129
Merged
Merged
Conversation
darioAnongba
force-pushed
the
dario/remote-signing-coordinator
branch
5 times, most recently
from
May 13, 2026 14:07
bf04dea to
c1b6d5d
Compare
darioAnongba
marked this pull request as ready for review
May 15, 2026 12:16
darioAnongba
force-pushed
the
dario/remote-signing-coordinator
branch
from
May 15, 2026 12:31
8d54cce to
0f88ec9
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.
Summary
Closes #127.
Depends on #128.
Adds a local remote-signing coordinator demo under
demos/remote-signing-coordinatorwith a Go SDK coordinator server and a Next.js/Tailwind dashboard.The dashboard talks only to the local coordinator API. The Go server owns tapd connectivity, starts high-level SDK issuer calls, pauses when the SDK requests an external Issuance signature, exposes the unsigned virtual PSBT, accepts the signed virtual PSBT, and then lets the SDK finalize the Issuance.
The dashboard also includes a browser-local BDK-WASM software device. It generates/imports a BIP39 mnemonic, derives a taproot descriptor, fills the SDK external Issuance key fields from the descriptor, signs the unsigned virtual PSBT client-side, and submits the signed virtual PSBT back through the coordinator.
Changes
dashboard/package using Next.js, React, Tailwind, and lucide icons..env.exampledefaults for the existing regtest Alice tapd ports and exported credential paths..envautomatically, fund Alice's LND wallet from the regtest miner wallet, and export Alice/Bob tapd TLS + macaroon files from the existing itest Docker Compose stack.Notes
This still uses the Go SDK directly through the coordinator server. It does not try to provide a TypeScript SDK binding yet. The dashboard is intentionally a coordinator UI over the Go demo API, with BDK-WASM used only to mimic an external signing device in the browser.
Coordinator runs are in memory only. Hardware-wallet/HSM transport integration, L1 anchor PSBT review, external script-key signing, regtest block mining from the UI, wallet asset discovery, and persistent runs remain out of scope for this demo.
A small nested
dashboard/go.modkeeps rootgo test ./...from traversing frontendnode_modulesafter Yarn install.