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?
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:
Open the Zcash app.
Navigate to Settings > Public key export approval .
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.
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!?