#nostr decentralized identity -- DIDs done right
Discussion
Where can I read more about this?
Some early notes, I can update you if you have questions
https://github.com/nostrapps/event-ld#eventld-decentralized-json-ld-representation-of-nostr-events
In a nutshell:
const jsonLD = {
'@id': '',
mainEntity: {
'@context': 'https://w3id.org/nostr/context',
'@id': 'nostr:event:' + event.id,
'@type': 'Event',
...event
}
}
return jsonLD