A Universal Resolver is an identifier resolver that works with any decentralized identifier system, including Decentralized Identifiers (DIDs).
See this blog post and this webinar for an introduction.
See https://uniresolver.io/ for a publicly hosted instance of a Universal Resolver.
You can deploy the Universal Resolver on your local machine by cloning this Github repository, and using docker-compose
to build and run the Universal Resolver as well as its drivers:
git clone https://github.com/decentralized-identity/universal-resolver
cd universal-resolver/
docker-compose -f docker-compose.yml pull
docker-compose -f docker-compose.yml up
You should then be able to resolve identifiers locally using simple curl
requests as follows:
curl -X GET http://localhost:8080/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw
curl -X GET http://localhost:8080/1.0/identifiers/did:btcr:xkrn-xzcr-qqlv-j6sl
curl -X GET http://localhost:8080/1.0/identifiers/did:v1:test:nym:3AEJTDMSxDDQpyUftjuoeZ2Bazp4Bswj1ce7FJGybCUu
curl -X GET http://localhost:8080/1.0/identifiers/did:ipid:QmYA7p467t4BGgBL4NmyHtsXMoPrYH9b3kSG6dbgFYskJm
curl -X GET http://localhost:8080/1.0/identifiers/did:uport:2omWsSGspY7zhxaG6uHyoGtcYxoGeeohQXz
curl -X GET http://localhost:8080/1.0/identifiers/did:jolo:e76fb4b4900e43891f613066b9afca366c6d22f7d87fc9f78a91515be24dfb21
curl -X GET http://localhost:8080/1.0/identifiers/did:stack:v0:16EMaNw3pkn3v6f2BgnSSs53zAKH4Q8YJg-0
curl -X GET http://localhost:8080/1.0/identifiers/did:erc725:ropsten:2F2B37C890824242Cb9B0FE5614fA2221B79901E
curl -X GET http://localhost:8080/1.0/identifiers/did:hcr:0f674e7e-4b49-4898-85f6-96176c1e30de
If this doesn't work, see Troubleshooting.
The following resolver implementations are available here:
Are you developing a DID method and Universal Resolver driver? Click Driver Development for instructions.
Driver Name | Driver Version | DID Spec Version | DID Method Spec Version | Docker Image |
---|---|---|---|---|
did-btcr | 0.1-SNAPSHOT | 0.11 | 0.1 | universalresolver/driver-did-btcr |
did-sov | 0.1-SNAPSHOT | 0.11 | 0.1 | universalresolver/driver-did-sov |
did-erc725 | 0.1-SNAPSHOT | 0.11 | 0.1 | universalresolver/driver-did-erc725 |
did-stack | 0.1 | 0.11 | (missing) | universalresolver/driver-did-stack |
did-dom | 0.1-SNAPSHOT | 0.11 | (missing) | universalresolver/driver-did-dom |
did-uport | 1.1.0 | 0.11 | 1.0 | uport/uni-resolver-driver-did-uport |
did-v1 | 0.11 | 1.0 | ||
did-ipid | 0.11 | 0.1 | ||
did-jolo | 0.1 | 0.11 | 0.1 | jolocomgmbh/jolocom-did-driver |
did-hacera | 0.1 | 0.11 | (missing) | hacera/hacera-did-driver |
Decentralized Identity Foundation - http://identity.foundation/
Supported by NLnet and NGI0 PET, which is made possible with financial support from the European Commission's Next Generation Internet programme.