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

feat: esplora client #12

Merged
merged 32 commits into from
Dec 13, 2024
Merged

feat: esplora client #12

merged 32 commits into from
Dec 13, 2024

Conversation

darioAnongba
Copy link
Contributor

In an effort to align as close as possible with the bdk API and the other FFI packages, the EsploraClient is exposed instead of wrapped inside a wallet, allowing the Wallet to be contained without external communications (storage or network).

This also aligns very well with Clean Architecture principles.

@darioAnongba darioAnongba self-assigned this Dec 11, 2024
src/bitcoin/wallet.rs Show resolved Hide resolved
tests/esplora.rs Outdated Show resolved Hide resolved
@riverKanies
Copy link
Contributor

Yes I think this is the direction to go.
For wasm it is safe to assume esplora, at least in most cases, but that can hopefully change in the future so this should be worth in the long run

tests/esplora.rs Outdated Show resolved Hide resolved
Co-authored-by: River Kanies <[email protected]>
@darioAnongba darioAnongba merged commit a856741 into main Dec 13, 2024
9 checks passed
@darioAnongba darioAnongba deleted the feat/esplora-client branch December 13, 2024 10:24
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 this pull request may close these issues.

3 participants