Zcash on Ledger Nano S -> Account addresses and Balances?


#1

Hi,
how can i track the whole balance from my zcash account on the ledger nano s hd-wallet for example putting it on a webapp to show the whole balance from the ledger wallet.
For one address it works if i ask a blockchain explorer api for that address, but when i have made multiple payments, there are new balances on new change addresses, which never shows up in the ledger nano s wallet!?

For BTC you can use the xpub key on some BTC-Blockchain explorers to track the whole balance of all addresses from this leder hd-account.
But for Zcash, i didn´t found any blockchain explorer which supports a xpub-key!?

and the Ledger wallet does not show the individual change addresses either!?

So, is there a any good way to get the whole ballanc of an ledger nano s zcash hd-wallet account?

Thanks and best regards,
dave


#2

Does this help?
The Zcash app can export your extended public key (xpub) to web apps in a U2F compatible web browser (Chrome, Opera or Firefox). The xpub is privacy-sensitive information, as all public addresses can be generated from it.

Public key exports by default require manual approval on the device to prevent inadvertent sharing of your public addresses. This setting can be configured as follows:

  1. Open the Zcash app.
  2. Navigate to Settings > Public key export approval .
  3. Choose one of two options:
  • Manual approval (default): public key exports require a confirmation on the device.
  • Auto approval: public key exports are automatically approved.

There is also this Reddit thread


#3

Are you using Ledger Live? https://shop.ledger.com/pages/ledger-live


#4

yes, i´m using ledger live.


#5

Thanks CriticAcid, this works. Thought about it theoreticly, but seeing that this could be a known practice confirms me.

But that just seems to me to be very overlaborate.

Since you do not know how many addresses are already being used, you always have to generate eg. 100, and check them individually via the blockchain if they have credit.

I would have thought that maybe there is something simpler. How does the ledger live software do it?

Is there an API from Ledger to query xpub-key accounts from there?

there must be an zcash blockchain explorer which supports xpub-keys!?