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

Account balance is 0 #37

Closed
Adman opened this issue Aug 13, 2018 · 3 comments
Closed

Account balance is 0 #37

Adman opened this issue Aug 13, 2018 · 3 comments

Comments

@Adman
Copy link

Adman commented Aug 13, 2018

I added new coin with blockbook servers to coins.json. Then, I sent some tokens to address generated by trezor emulator. Now, I would like to see balance of the account using connect's method getAccountInfo. I can clearly see transactions returned by blockbook server, but the balance is still zero. Is blockbook responsible for summing up transactions and returning final balance, or is this a problem on trezor-connect's side?

@martinboehm
Copy link
Contributor

Blockbook in the master branch is not summing up the transactions. We are preparing this functionality, but it is not yet finished.

@knaperek
Copy link

How was this done before? Has it always been the responsibility of Blockbook to provide the final balance, or was it the job of trezor connect before?
Is it perhaps possible to make trezor-connect do the caluclation of final balance by itself, not relying on Blockbook?

@martinboehm
Copy link
Contributor

It was so far not the responsibility of Blockbook to provide the final balance. Blockbook is replacement of Bitcore socket.io interface, which is not providing the final balance. Blockbook provides data to our wallet (wallet.trezor.io). The wallet computes the final balance from all transactions belonging to the address.

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