EarthProgram / did-earth

Apache License 2.0
0 stars 1 forks source link

Sequence Diagrams #2

Closed lohanspies closed 2 years ago

lohanspies commented 2 years ago

@wip-abramson @jandrieu please find the create, read and deactivate sequence diagrams for did:earth here - https://github.com/EarthProgram/did-earth/tree/draft/diagrams. You can copy and paste them into this tool to render the diagrams.

Believe that from my discussions with @jandrieu the create sequence is nearly where we want it to be.

Deactivate should be fairly simple as my view is that we only need to update the metadata attribute active to False to deactivate a DID in the DID registry.

Read is a bit more complex, took a stab at a first draft but sure it needs a discussion between us so that we can agree on the read sequence. Once the read sequence is completed, we can work on the update sequence as it will be very similar and fairly quick and easy to complete.

jandrieu commented 2 years ago

Converted into mermaid. Closing.