Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Create a service method that creates a new DID #12

Closed
ebaizel opened this issue Oct 25, 2018 · 1 comment
Closed

Create a service method that creates a new DID #12

ebaizel opened this issue Oct 25, 2018 · 1 comment
Assignees

Comments

@ebaizel
Copy link
Contributor

ebaizel commented Oct 25, 2018

Given a passed in request body, generate a DID of the form did:side-eth:xyz where xyz is the hash of the passed in request body. This function should return the generated DID

This ticket is for the service function, not the API route.

@ebaizel ebaizel self-assigned this Oct 25, 2018
@ebaizel
Copy link
Contributor Author

ebaizel commented Oct 26, 2018

Looks like this is handled by sidetree-core https://github.com/decentralized-identity/sidetree-core/blob/master/src/RequestHandler.ts#L102

We would pass in the did:side-eth prefix to the sidetree-core constructor

@ebaizel ebaizel closed this as completed Nov 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant