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

Make EsploraBlockchain accessable to outside libraries #568

Closed
benthecarman opened this issue Mar 13, 2022 · 5 comments
Closed

Make EsploraBlockchain accessable to outside libraries #568

benthecarman opened this issue Mar 13, 2022 · 5 comments

Comments

@benthecarman
Copy link
Contributor

I am working on a project and need to make requests to a esplora backend. Would be nice if I could use bdk's implementation.

@LLFourn
Copy link
Contributor

LLFourn commented Mar 14, 2022

Hey @benthecarman. It'd be useful to know what bits of esplora you'd like to use from BDK. We're currently thinking about a v1.0 release and a big part of that might be removing all API surface area for esplora except for the bit that keeps the wallet up to date.

Having said that I think it makes sense to expose at least a user agent that can make requests to a specific path in the api (you'd have to deserilaize the responses into types yourself though).

But perhaps since we've already implemented it we could keep and expose the esplora API (even the bits we don't use) and just rely on people who use those parts to make PRs and keep it up to date.

@benthecarman
Copy link
Contributor Author

It'd be nice to have full api coverage. It probably makes sense to make it a separate library that bdk relies on

@LLFourn
Copy link
Contributor

LLFourn commented Mar 14, 2022

Sure thanks. Yep the plan is to make it separate.

@afilini
Copy link
Member

afilini commented Sep 7, 2022

We've recently moved our esplora client into this separate crate: https://github.com/bitcoindevkit/rust-esplora-client

The goal now is to integrate it into BDK for the next release

@notmandatory
Copy link
Member

Closing now that rust-esplora-client is published and #764 is merged.

https://crates.io/crates/esplora-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: Done
Development

No branches or pull requests

4 participants