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

WASM: sdk-common #745

Open
dangeross opened this issue Feb 16, 2025 · 0 comments · May be fixed by breez/breez-sdk-greenlight#1170
Open

WASM: sdk-common #745

dangeross opened this issue Feb 16, 2025 · 0 comments · May be fixed by breez/breez-sdk-greenlight#1170
Assignees
Milestone

Comments

@dangeross
Copy link
Collaborator

Change the sdk-common crate to be compilable to wasm32-unknown-unknown

  • The DNS lookup dependency requires low level TCP/IP access. Temporary remove this from the WASM compilation and look for alternatives (already tested hickory & domain). Would a Breez API to do DNS TXT lookups be acceptable?
  • Exchange the use of the tonic transport feature in WASM for tonic_web_wasm_client
  • Change async traits to be WASM compatible
  • Add necessary wasm_bindgen decorators to exposed types
  • Add CI build test
@dangeross dangeross self-assigned this Feb 16, 2025
@dangeross dangeross linked a pull request Feb 18, 2025 that will close this issue
@roeierez roeierez added this to the v0.7.2 milestone Feb 20, 2025
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

Successfully merging a pull request may close this issue.

2 participants