docs: document deterministic PRISM DID generation#257
Open
Rahul-2k4 wants to merge 1 commit into
Open
Conversation
| ## Mnemonic to DID flow | ||
|
|
||
| 1. Convert BIP-39 mnemonic (+ optional passphrase) to seed bytes. | ||
| 2. Derive the master key with path `m/29'/29'/did-index'/key-usage'/key-index'`. |
Contributor
There was a problem hiding this comment.
In this case the master key have key-usage = 1
| <TabItem value="swift" label="SDK-Swift"> | ||
|
|
||
| ```swift | ||
| let did = try await didCommAgent.createDeterministicPrismDID( |
Contributor
There was a problem hiding this comment.
@goncalo-frade-iohk Does this method already exists?
Contributor
FabioPinheiro
left a comment
There was a problem hiding this comment.
LGTM
You need to have the Signed-off-by: <Name> is not commits for DCO
Signed-off-by: Rahul Tripathi <rahul@Rahuls-Mac-mini.local>
7086b82 to
4462511
Compare
Author
|
@FabioPinheiro thanks for the review. I pushed an update with the requested changes.
@goncalo-frade-iohk could you confirm the intended SDK-Swift API method for deterministic PRISM DID creation? I can add the correct snippet back right away once confirmed. |
|
Author
|
@FabioPinheiro please do review on this and let me know if this looks good |
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.



Summary
This draft PR adds the deterministic PRISM DID docs requested in #249.
Changes
documentation/develop/deterministic-did-creation.mdm/29'/29'/did-index'/key-usage'/key-index'documentation/develop/sidebar.tsdocumentation/develop/cloud-agent/did-management.mdValidation
@mdx-js/mdx(mdx-ok)npm run buildin this environment currently fails on an existing upstream submodule MDX file:sdk-ts/docs/decisions/20231110-sdk-package-release.mdCloses #249