decentralized-identity / decentralized-identity/confidential-storage

Proposal for minimal changes to EDV Data Model to support Hubs

Open
#97 9 comments 0 reactions 1 assignee Claimed by @OR13 View on GitHub
hub replication
Dominant language
TypeScript
Stars
84
Forks
24
PR merge metrics
No merged PRs in 30d

Description

1. JWE headers may contain synchronization primitives (vector clocks / hash links / counters, CRDT_TYPE)
2. A new HTTP endpoint `/sync` should be exposed, and it should leverage the JWE headers to return a result set of EDV Documents.
3. EDV Documents with JWE Headers including `CRDT_TYPE: AutoMerge` contain AutoMerge deltas.

### Developer user story

1. Developer creates a new Vault for Music
2. Developer creates a new AutoMerge Document Music Playlist with ID 123
3. Developer shares access to Vault with 3 Other Applications (Tablet , Phone, Home Server)
4. Applications construct and submit AutoMerge Deltas as Documents.
5. Developer calls `/sync` on tablet....
6. Hub Client on Table uses EDV client to pull down all deltas for ID 123, and applies auto merge and returns a JSON object containing changes from 3 devices with no conflicts.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.