or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
Decentralized Web Node Companion Guide (DWN)
The companion guide is intended to be a supportive guide to the core spec guide. It is intended to make DWN's more accessible for the general audience.
Overview
Target audience of this document
Terminology
This is explaining terminology on a funcational level, not a specification level.
Technology Comparison
Note from @andorsk : I had a conversation with Simon about this, and @simon will be adding his comparisions to this.
TODO: what technology should beon t
DWN vs DIDComm vs. KERI
Note from @andorsk. This is really early. I need to go through this more carefully tbh, and there are details I need to review.
Using a DWN
Architecture
TODO: Commentary on architecture
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Data Flow
TODO: Commentary on data flow
Building your own applications
Examples
In this section, focus will be to show how this would work, and elaborate on the advantages a DWN based solution would have over a DIDComm based solution.
Chat App
Todo App
Buying a Plane Ticket
Coordinating Travel Plans
Applying for a job
Multi-exchange example
Hook example
Share music playlist
Medical Health Record: Query attributes of the data
DWNS at Scale
Reference Implementations
Use Cases
Limitations
Other Considerations
Action Item:
DWN Companion Guide
Use Cases
Status IN PROGRESS
Example Use case table
Actors
Exchange Credentials
Description:
Stakeholders:
How it works:
Advantages of using DWNs:
Share Music Playlist
Description:
Stakeholders:
How it works:
Advantages of using DWNs:
Apply for a Job
Description:
Stakeholders:
How it works:
Advantages of using DWNs:
Rent a car
Description:
Stakeholders:
How it works:
Advantages of using DWNs:
Chat Service
Description: Alice wishes to chat with a friend Bob
Precondition: Both Alice and her friend Bob have chat client apps. Alice and Bob are also able to communicate out of band. Out of band Bob shares via a QR code with Alice the DID of his DWN.
Stakeholders: n/a
How it works: Alice opens her chat client app and scans the DID Bob shared ith her and adds Bob as a new contact in the chat app. Alice types "Hi Bob" into the chat client. This message data is stored in Alice's DWN as well as transmitted to Bob's DWN. This message appears in Bob's client and is stored in Bob's DWN.
Advantages: This respects Alice's and Bob's privacy by eliminating the need for them to trust a service, app or site provided by an intermediary entity. The message content is end-to-end encrypted and never stored by an intermediary (e.g. a social networking site like Twitter, Facebook, etc.) and although it may pass through relay servers, it does so only transiently.
Buy a plane ticket
Description:
Stake Holders:
How it works:
Advantages of using DWNs:
Buy a concert ticket
Description:
Stake Holders:
How it works:
Advantages of using DWNs:
Manage Payroll
Description:
Stake Holders:
How it works:
Advantages of using DWNs:
Protocol Interplay : DWN and DIDComm
Status: IN PROGRESS
Problem Statement
Given a finite set of \(\{n_{DWN}, n_{DIDCOMM}\} \in N\) nodes, with a distributed traction, what are the communication models that power a web of trust.
Assumptions
Not a winner takes all system: Given a finite number of actors using decentralized identity solutions, a vector \(W\) represents the distribution of protcols in the SSI ecosystem. \(\{{w_{DIDComm}, w_{DWN}, w_{\lambda}} \in W\}\) and \(\sum{W} = 1\).
Modeling the Interplay
Given \({n_0, n_1, n_n} \in n_{DID}\),
Actors
5P2: 20 permutations
5P3: 60 permutations ( not quite right )
5P4: 120 permutations
Use Cases