DIP: Canonical, Deterministic Wallet & XPub IDs#134
Open
coolaj86 wants to merge 1 commit intodashpay:masterfrom
Open
DIP: Canonical, Deterministic Wallet & XPub IDs#134coolaj86 wants to merge 1 commit intodashpay:masterfrom
coolaj86 wants to merge 1 commit intodashpay:masterfrom
Conversation
c177474 to
63d2201
Compare
Author
|
Note: the methodology has been simplified to use the HD Key as the basis of the ID for both the Wallet Phrase and the XPub / XPrv use cases. |
This was referenced Jul 15, 2023
f: add xpub id
63d2201 to
761ed6c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Defines a 64-bit Wallet ID (and encodings) for applications that manage multiple Wallets Phrases.
Also provides an alternate HD Key ID, as Hierarchical Deterministic Wallets: Key Identifiers actually recommends NOT using their 32-bit fingerprint for these types of scenarios (and ripemd160 is weak and deprecated).
Preview
https://github.com/dashhive/DIPs/blob/aj-wallet-fingerprint/aj-wallet-id.md
Example
Wallet
Wallet Phrase:
Wallet Salt:
Wallet ID
HD Key (a.k.a. X Key, a.k.a. XPub)
Wallet
ZoR59UQ1QPA @ m/44'/5'/0'/0:XPub ID:
In Pseudocode
Implementation