-
Notifications
You must be signed in to change notification settings - Fork 160
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
[ZIP 332] Wallet Recovery from zcashd HD Seeds #675
Comments
Assigned ZIP number 332, and added a stub. |
Can we add a URL linking to any tests that check which addresses are generated from which seeds in various regimes? Also especially useful would be test vectors that can be referenced across projects. |
A thread that might serve as an outline here:
|
As a part of this effort, we should submit a PR so that the resulting ZIP should be referenced from https://walletsrecovery.org (https://walletsrecovery.org/FAQ#how-to-contribute) |
When Sapling was released,
zcashd
implemented HD derivation of Sapling addresses in a fashion that was inconsistent with HD derivation according to BIP 44. In version 4.7.0zcashd
introduced HD derivation from a mnemonic seed according to BIP 32 and BIP 44, with a nonstandard accommodation in the generation of the mnemonic seed to make it possible to also reproduce previously derived Sapling keys. This accommodation needs to be documented, along with the process for correct discovery of such previously-derived Sapling keys.In addition, in order to continue allow
zcashd
's legacy transparent APIs such asgetnewaddress
andz_getnewaddress
to continue to function,zcashd
introduced the idea of theZCASH_LEGACY_ACCOUNT
constant for use in address derivation consistent with the previous semantics of those methods. Derivation of keys underZCASH_LEGACY_ACCOUNT
is also nonstandard with respect to BIP 32 and BIP 44, and so needs to be properly documented here in order to make it possible for other wallet implementations to correctly rediscover funds controlled by keys derived using this mechanism.The text was updated successfully, but these errors were encountered: