jam icon indicating copy to clipboard operation
jam copied to clipboard

Specter Integration

Open k9ert opened this issue 3 years ago • 3 comments

With our newest v1.8.x release there is the possibility to integrate via extensions. Components which are client-only are specifically easy to integrate. I spend about 2h creating this. I don't had a joinmarket-dev-env running so this might even not work at all and i'm also not very familiar with react.

Here is a gif showing how it looks like. In the README.md at the very bottom, it's described how to get it to run.

joinmwebui-specter

What do you think about such an integration? Would it be interesting to collaborate here?

k9ert avatar Feb 04 '22 14:02 k9ert

@k9ert can you explain how this integration will work in detail, from the user's perspective?

dergigi avatar Feb 07 '22 16:02 dergigi

To be honest, i don't know yet. One the one hand side, this is not much different than an integration with the node-providers (umbrel/rapsiblitz/...). It's also for now not addressing the deployment/operation of joinmarket itself (I just came across the docker-setup just now). Specter from that angle is just a way of shipping the software to the user. We had some discussion about security concerns but i think i've found a way to overcome them with a piggiback-extension. If we would keep it like that, one possible user-story would be like:

  • The user is downloading one of the specter-apps for his platform (windows/öinux/macOS)
  • The user starts specter
  • Like in the above animated gif he'll find the joinmarket-WEBUI in the extensions
  • He can use it right away if he fulfilled the other dependencies
  • There is somewhere a button which brings him back to specter
  • The idea with the "embedded mode" is not possible in piggyback-mode but the upside would be that the amount of work is much lower and our security headaches are also lower (we have some concerns with npm from a security perspective).

Potentially, we can do more integrations even if this stays a piggyback-extension:

  • We could pass Bitcoin-Core credentials to the webui
  • Ups, that's a short list

Maybe let me explain/discuss in the next devcall.

k9ert avatar Feb 09 '22 09:02 k9ert

Thank you for the background info.

Maybe let me explain/discuss in the next devcall.

Sounds good! Looking forward to it!

dergigi avatar Feb 10 '22 21:02 dergigi