Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Tauri #198

Open
tvolk131 opened this issue Jan 28, 2024 · 1 comment
Open

Support Tauri #198

tvolk131 opened this issue Jan 28, 2024 · 1 comment

Comments

@tvolk131
Copy link

I'm on the Resolvr team and we're building a desktop-based Nostr app using Tauri (which is similar to Electron but with a Rust backend). We'd love to integrate Bitcoin Connect, but Tauri uses WebView with a stripped down window object that's missing some key properties that Bitcoin Connect uses, such as window.open() and window.opener. I don't know what all would be involved in getting Bitcoin Connect working with Tauri, but if it's possible it would allow for extremely easy integration of Bitcoin & Lightning into desktop apps.

@rolznz
Copy link
Collaborator

rolznz commented Jan 29, 2024

Hi @tvolk131

Thanks for raising this!

I believe Bitcoin Connect uses these in an upstream dependency (Alby JS SDK) to launch the new NWC connection popup for Alby/Umbrel/etc.

Does the actual compilation fail due to this issue? or just when using NWC to connect with Alby?

If Tauri cannot launch windows, do you have any suggestions on how users would create a new app connection? users could always copy-paste the NWC url into the generic NWC connection option, but hopefully there is a better way.

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

No branches or pull requests

2 participants