Skip to content

vpapanchev/universal-resolver

 
 

Repository files navigation

DIF Logo

DIF Universal Resolver

This repository was forked from DIF Universal Resolver to be used locally by our Interoperable SSI Access Control System. All credits go to DIF Identifiers&Discovery Working Group.

DID Resolver

This is driver-architecture resolver for Decentralized Identifiers (DIDs) - Each DID Method Resolution is handled by the appropriate driver for this DID Method. Currently supported DID Methods:

Driver Name Driver Version DID Method Spec Version Docker Image or URL Description
did-kilt 2.3.0 1.1 kiltprotocol/kilt-did-driver KILT Protocol

Setup

TODO: Explain how to configure drivers: docker-compose and config.json

How to use

TODO: Define API endpoint with an example

Send HTTP GET requests to this service to resolve DIDs. See examples:

curl -X GET http://localhost:8080/1.0/identifiers/did:kilt:light:014t2hLQ3vmCoNf7jDZnQqzFF9JWaYP9qrFW6VTr3ayHtW2MyK:z1Ac9CMtYCTRWjetJfJqJoV7FcNH49Aqrz4yFeVRQKtH8EvsjjsYzirQ2bB8jRJdRTxr5pJVwP9MiCf78JpaS6U

You can also use an "Accept" header to request the DID document in a specific representation, e.g.:

curl -H "Accept: application/did+ld+json" https://dev.uniresolver.io/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw
curl -H "Accept: application/did+json" https://dev.uniresolver.io/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw
curl -H "Accept: application/did+cbor" https://dev.uniresolver.io/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw

About

Universal Resolver implementation and drivers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 81.8%
  • Python 8.5%
  • JavaScript 4.8%
  • Shell 2.5%
  • Dockerfile 2.4%