Skip to content

Mempool.space support #1962

@darioAnongba

Description

@darioAnongba

Describe the enhancement
Hi all, my latest tests show that mempool.space does not work with bdk_esplora. The first error appearing is that mempool.space does not support the scripthash endpoints, only the address endpoints so we get this:

Cannot GET /api/v1/scripthash/.../txs as a 404
Also fee estimates does not work as the endpoint is not fee-estimates but fees/recommended.

I'll be very happy to work on this if it's decided to either add support to bdk_esplora or to create a dedicated bdk_mempool_space (valuable for websockets).

Use case
Esplora being too heavy on resources, it is not suitable for node runners. Most will directly connect to their node or use an indexer such as Electrum. Sadly Electrum or the node do not work on the browser for different reasons.
Mempool.space being a fork of Esplora, it exposes a REST API and a websocket API, ideal for browsers and Node through bdk-wasm.

Additional context
Mempool.space being a fork of Esplora, we could expect it to simply work out of the box yet it doesn't. People running their own node on Umbrel or Start9 can easily run their own mempool.space instance, as easily as running Electrs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions