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

Add websocket support for @caravan/clients and coordinator #33

Open
bucko13 opened this issue Mar 1, 2024 · 2 comments
Open

Add websocket support for @caravan/clients and coordinator #33

bucko13 opened this issue Mar 1, 2024 · 2 comments

Comments

@bucko13
Copy link
Contributor

bucko13 commented Mar 1, 2024

Currently all client connection options rely on HTTP requests for interacting with the blockchain network. The public client options mempool.space and blockstream.info however are subject to rate limits to deal with heavy traffic which can make them unreliable for querying balances one address at a time (and other network requests that need to be made).

Mempool.space has recently made available a websocket client MWCK which offers a solution as it get query wallet data with fewer connections.

Currently though the @caravan/clients library is built only to support individual HTTP requests and @caravan/coordinator is built around this expectation, updating information about individual addresses for each one off request.

We would like to first add support to the clients library for a generic websocket interface that can leverage MWCK, and then update the coordinator wallet to use this.

@narasimha-1511
Copy link

narasimha-1511 commented Apr 17, 2024

Hi @bucko13 ,
I am Narasimha ,
an Applicant of Summer of Bitcoin. ,
Is this the right place for discussion or There is any Other Group?

@bucko13
Copy link
Contributor Author

bucko13 commented Apr 17, 2024

Hey im on the SoB discord if you want to discuss further. Happy to document your ideas here or on discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants