build-trust / did

A golang package to work with Decentralized Identifiers (DIDs)
https://w3c-ccg.github.io/did-spec
Apache License 2.0
87 stars 21 forks source link

Add support for Service URIs #6

Open mrinalwadhwa opened 5 years ago

mrinalwadhwa commented 5 years ago

Related to #3 https://github.com/w3c-ccg/did-spec/issues/90 https://github.com/decentralized-identity/did-common-java/blob/master/src/main/resources/did.abnf https://lists.w3.org/Archives/Public/public-credentials/2018Nov/thread.html#msg159

mrinalwadhwa commented 5 years ago

there is debate currently on the exact structure https://github.com/w3c-ccg/did-spec/issues/90#issuecomment-439636972

in the interim, supporting this grammar used in the universal resolver seems reasonable https://github.com/decentralized-identity/did-common-java/blob/master/src/main/resources/did.abnf#L8