Alice did:dht:y6yh… Alice's DWN dwn.alice.io DHT resolver Bob's DWN dwn.bob.io Bob did:dht:3fk8… identity identity
DID Document
type DecentralizedWebNode
url https://dwn.bob.io
key X25519 encryption key
Bob's DWN verifies
Ed25519 signature valid
Protocol authorises write
Stored + indexed in SMT
WebSocket
sub RecordsSubscribe
event new encrypted record
Decrypt
HKDF(root, protocol, path)
ECDH-ES unwrap CEK
AES-256-GCM → plaintext
Live connection
sub RecordsSubscribe
All devices receive events
instantly, in real time