Replies: 3 comments 13 replies
-
The devil is in the details. Essentially, the wording of CIP-1852 implies that it uses BIP-44-style account discovery — but a key difference between "Shelley" wallets and the Deposit Wallet is that the latter does not do address discovery. The question is: What information do I need in order to restore the entire wallet balance from reading the blockchain? The answers are different:
Hence my decision to introduce a new prefix For reference:
|
Beta Was this translation helpful? Give feedback.
-
A derivative question would be: If we want to define a new derivation scheme separate from CIP-1852's, shouldn't we go through the CIP process in order to receive feedback from potential wallet users and experts? |
Beta Was this translation helpful? Give feedback.
-
Here is a summary of the above discussion. About addresses derivation:
If a shelley wallet and a deposit wallet, parameterised respectively by gap
If a shelley. wallet and a deposit wallet use the same root key but different "address spaces", e.g starting at
In the current design of the deposit wallet, it's been decided that preventing the risk of misuse in case a user would use both a shelley wallet and a deposit wallet was high enough to warrant introducing a new derivation structure. @HeinrichApfelmus @david-a-clark Does it summarise faithfully the situation? |
Beta Was this translation helpful? Give feedback.
-
The Deposit wallet's Agda specification uses
1857
as its root derivation key whereas the Shelley wallet uses1852
as prescribed by CIP-1852.I don't understand the reason why there needs 2 different root keys. On the contrary, it seems to me using the same root key in the deposit wallet than in the Shelley wallet will considerably smoothen the transition from one to the other and therefore foster adoption of Deposit wallet.
Could someone more knowledgeable than me shed light on this decision? @HeinrichApfelmus @david-a-clark
Beta Was this translation helpful? Give feedback.
All reactions