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

Blockchain data #72

Open
mwitte opened this issue Jun 18, 2024 · 2 comments
Open

Blockchain data #72

mwitte opened this issue Jun 18, 2024 · 2 comments

Comments

@mwitte
Copy link

mwitte commented Jun 18, 2024

I am currently developing an app in which I am integrating BitBox. I am wondering how I can best access the Bitcoin balances and transaction details on the blockchain of my users in order to display the data to them.
What options are there and which would you recommend?

@benma
Copy link
Contributor

benma commented Jun 24, 2024

Can you elaborate more on what you are trying to build?

This package can help you interact with the BitBox02 and invoke API calls, such as getting an xpub from the device, displaying receive addresses, signing transactions, etc.

This package is not offer generic host wallet functionality such as querying balances and transactions. We don't have any particular recommendations for how to do things like these. The BitBoxApp for example connects to Electrum servers and fetches address details from there, which involves client side address generation and scanning. Blockbook is another server software with an API, which is easier to integrate, as it can be queried with xpubs instead of with individual addresses, which should be simpler to use. There might also be Bitcoin API services out there that run such servers with an API that you could use, but I am not familiar with any of them.

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

No branches or pull requests

3 participants
@benma @mwitte and others