Navigation Menu

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

How to check balance using HDWallet? #197

Open
DiwakarThapa opened this issue Jan 28, 2019 · 3 comments
Open

How to check balance using HDWallet? #197

DiwakarThapa opened this issue Jan 28, 2019 · 3 comments

Comments

@DiwakarThapa
Copy link

DiwakarThapa commented Jan 28, 2019

Current behavior

this code try! blockStore.calculateBalance(address: address) returns 0

Expected behavior

0.1 TBTC is in the test address

Steps to reproduce

Environment

  • BitcoinKit: ?.?
  • Xcode Version: 10.2
  • Swift Version: 4.2
@artemmelnyk
Copy link

The same problem

@mobihunterz
Copy link

I do have same issue. Its not clear on how to check the balance. Frustrated over how I can use. Anybody happy to answer..?

@cacaosteve
Copy link

Have you had any luck? HDWallet has an unavailable deprecated property but it is 0. I am just trying to convert WalletExample to work with HDWallet, since there is no Wallet. The code currently seems to take one address and calculate the balance from that by looking up in the database using some SQL statements.

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

4 participants