-
Notifications
You must be signed in to change notification settings - Fork 10
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
HD Keys #8
Comments
https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch05.asciidoc#public-child-key-derivation
So essentially, I'm suggesting the following:
This would yield a did document with an ethereumAddress (/60 is ethereum, /0 is bitcoin)... you can see others here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md |
Each extended public key would need to be multibase encoded, we might choose a different prefix to denote that its an extended key. |
@OR13 - are there already https://github.com/multiformats/multicodec entries for those HD keys? |
No, the table does not contain an entry for secp256k1: |
@OR13 Ah, ok. But there is at least an outstanding PR by Oliver over at multiformats/multicodec#160, so one can at least start using that. |
Thats merged now, I can take a stab at a PR for secp256k1... Tracking here: #15 |
Oh, awesome! |
Wondering if there is way to use did:key to encode a root public key and an hd path...
This would let you use the same entropy source for many different did:keys... At resolve time, each did:key would be decoded, and then the hd path would be applied... bonus points if you can ask for ethereum or bitcoin addresses via the hd path... this would make did key a weird cousin of did:ethr and did:btcr...
The text was updated successfully, but these errors were encountered: