Skip to content

bitreq doesn't support WASM transport #625

Closed

Description

@luisschwab

bitreq has no support for a WASM transport, breaking compatibility for bdk_esplora.

ref: bitcoindevkit/bdk#2189

Activity

  1. alexgrad42 commented on Jun 16, 2026

    @alexgrad42
    Contributor

    Hi All,

    I would like to look into this issue and add WASM transport support to bitreq.

    Since bitreq is a lightweight client with minimal dependencies, I wanted to double-check the approach.

    What is better for the target_arch = "wasm32" implementation?

    1. A manual implementation using raw browser APIs via web-sys / wasm-bindgen (Fetch API) to avoid adding high-level external dependencies.
    2. Bringing in a lightweight, WASM-specific HTTP client (like gloo-net or a similar micro-crate) gated behind the wasm32 configuration flag.

    Also, please let me know if exposing an async entry point for WASM is acceptable, or the existing transport design has specific constraints.

    Thanks!

  2. tnull commented on Jun 16, 2026

    @tnull
    Collaborator

    I think @tankyleo is already working on adding WASM support and has made some progress.

  3. jamillambert commented on Sep 1, 2026

    @jamillambert
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions