decentralized-identity / decentralized-identity/web5-js

Allow to use object as serviceEndpoint in did dht

Open
#991 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
142
Forks
56
PR merge metrics
No merged PRs in 30d

Description

According to the [did-core](https://www.w3.org/TR/did-core/#dfn-serviceendpoint) spec:

> The value of the serviceEndpoint property MUST be a string, a map, or a set composed of one or more strings and/or maps.

That would enable using the did:dht with the DIDComm protocol as it is defined at [DIDComm protocol spec](https://identity.foundation/didcomm-messaging/spec/v2.1/#service-endpoint).

I already created a PR https://github.com/TBD54566975/web5-js/pull/990 demonstrating a way how to implement it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.