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

Typescript bindings #386

Closed
demattosanthony opened this issue Jul 11, 2023 · 3 comments
Closed

Typescript bindings #386

demattosanthony opened this issue Jul 11, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@demattosanthony
Copy link

Describe the enhancement
Would love for typescript bindings to be added

Use case
I want to use this in a browser environment for a wallet PWA I am creating. I am using the LDK typescript bindings for a lightning node and would love to use this instead of bitcoinjs-lib

@demattosanthony demattosanthony added the enhancement New feature or request label Jul 11, 2023
@notmandatory
Copy link
Member

notmandatory commented Nov 15, 2023

We don't currently have any plans to support typescript since there's no planned to support it in the uniffi-rs framework which we rely on. See: mozilla/uniffi-rs#1361

@demattosanthony
Copy link
Author

@notmandatory it is possible to compile to wasm and use that in a typescript app?

@thunderbiscuit
Copy link
Member

You would not compile this to WASM, but you could use the WASM bindings for bdk directly! I have not used them myself, but my understanding is that they are used by a fair number of projects, the most prominent of which is probably Mutiny Wallet. Check out their codebase for ideas on how to leverage the WASM bindings, or open an issue on the Rust bdk repo directly! Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants