Home

Awesome

DIF Logo

Universal Resolver

The Universal Resolver resolves Decentralized Identifiers (DIDs) across many different DID methods, based on the W3C DID Core 1.0 and DID Resolution specifications. It is a work item of the DIF Identifiers&Discovery Working Group.

See this blog post and this webinar for an introduction.

See https://dev.uniresolver.io/ for a DIF-hosted instance of the Universal Resolver that can be used for testing purposes. See Docker Hub for images.

Quick Start

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:jwk:eyJraWQiOiJ1cm46aWV0ZjpwYXJhbXM6b2F1dGg6andrLXRodW1icHJpbnQ6c2hhLTI1NjpGZk1iek9qTW1RNGVmVDZrdndUSUpqZWxUcWpsMHhqRUlXUTJxb2JzUk1NIiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsImFsZyI6IkVkRFNBIiwieCI6IkFOUmpIX3p4Y0tCeHNqUlBVdHpSYnA3RlNWTEtKWFE5QVBYOU1QMWo3azQifQ
curl -X GET http://localhost:8080/1.0/identifiers/did:dyne:demo:FFqGYxShyDGAHd4QyLY1KFCSGBb1mBP9sZebEyBM7JPi
curl -X GET http://localhost:8080/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw
curl -X GET http://localhost:8080/1.0/identifiers/did:btcr:xz35-jznz-q6mr-7q6
curl -X GET http://localhost:8080/1.0/identifiers/did:v1:test:nym:z6Mkmpe2DyE4NsDiAb58d75hpi1BjqbH6wYMschUkjWDEEuR
curl -X GET http://localhost:8080/1.0/identifiers/did:key:z6Mkfriq1MqLBoPWecGoDLjguo1sB9brj6wT3qZ5BxkKpuP6
curl -X GET http://localhost:8080/1.0/identifiers/did:web:did.actor:alice
curl -X GET http://localhost:8080/1.0/identifiers/did:web:did.actor:bob
curl -X GET http://localhost:8080/1.0/identifiers/did:web:did.actor:mike
curl -X GET http://localhost:8080/1.0/identifiers/did:ethr:mainnet:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
curl -X GET http://localhost:8080/1.0/identifiers/did:ethr:sepolia:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
curl -X GET http://localhost:8080/1.0/identifiers/did:ethr:0x02b97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71
curl -X GET http://localhost:8080/1.0/identifiers/did:ethr:ewc:0x02b97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71
curl -X GET http://localhost:8080/1.0/identifiers/did:ens:vitalik.eth
curl -X GET http://localhost:8080/1.0/identifiers/did:peer:2.Ez6LSpSrLxbAhg2SHwKk7kwpsH7DM7QjFS5iK6qP87eViohud.Vz6MkqRYqQiSgvZQdnBytw86Qbs2ZWUkGv22od935YF4s8M7V.SeyJ0IjoiZG0iLCJzIjoiaHR0cHM6Ly9leGFtcGxlLmNvbS9lbmRwb2ludDEiLCJyIjpbImRpZDpleGFtcGxlOnNvbWVtZWRpYXRvciNzb21la2V5MSJdLCJhIjpbImRpZGNvbW0vdjIiLCJkaWRjb21tL2FpcDI7ZW52PXJmYzU4NyJdfQ
curl -X GET http://localhost:8080/1.0/identifiers/did:eosio:eos:eoscanadacom
curl -X GET http://localhost:8080/1.0/identifiers/did:eosio:4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11:caleosblocks
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:hcr:0f674e7e-4b49-4898-85f6-96176c1e30de
curl -X GET http://localhost:8080/1.0/identifiers/did:neoid:priv:b4eeeb80d20bfb38b23001d0659ce0c1d96be0aa
curl -X GET http://localhost:8080/1.0/identifiers/did:elem:ropsten:EiCtwD11AV9e1oISQRHnMJsBC3OBdYDmx8xeKeASrKaw6A
curl -X GET http://localhost:8080/1.0/identifiers/did:github:gjgd
curl -X GET http://localhost:8080/1.0/identifiers/did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw
curl -X GET http://localhost:8080/1.0/identifiers/did:ont:AN5g6gz9EoQ3sCNu7514GEghZurrktCMiH
curl -X GET http://localhost:8080/1.0/identifiers/did:kilt:4rNTX3ihuxyWkB7wG3oLgUWSBLa2gva1NBKJsBFm7jJZUYfc
curl -X GET http://localhost:8080/1.0/identifiers/did:factom:testnet:6aa7d4afe4932885b5b6e93accb5f4f6c14bd1827733e05e3324ae392c0b2764
curl -X GET http://localhost:8080/1.0/identifiers/did:mpg:7PGGnRdvKKFftSXU3Jw75Vk5npfg
curl -X GET http://localhost:8080/1.0/identifiers/did:io:0x476c81C27036D05cB5ebfe30ae58C23351a61C4A
curl -X GET http://localhost:8080/1.0/identifiers/did:bba:t:45e6df15dc0a7d91dcccd24fda3b52c3983a214fb0eed0938321c11ec99403cf
curl -X GET http://localhost:8080/1.0/identifiers/did:schema:public-ipfs:json-schema:Qma2beXKwZeiUXcaRaQKwbBV1TqyiJnsMTYExUTdQue43J
curl -X GET http://localhost:8080/1.0/identifiers/did:ion:EiClkZMDxPKqC9c-umQfTkR8vvZ9JPhl_xLDI9Nfk38w5w
curl -X GET http://localhost:8080/1.0/identifiers/did:gatc:2xtSori9UQZdTqzxrkp7zqKM4Kj5B4C7
curl -X GET http://localhost:8080/1.0/identifiers/did:icon:01:64aa0a2a479cb47afbf2d18d6f9f216bcdcbecdda27ccba3
curl -X GET http://localhost:8080/1.0/identifiers/did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC
curl -X GET http://localhost:8080/1.0/identifiers/did:unisot:1EjHm7VtgsqNzCkvA8XRgGXZ1UKo1txSM4
curl -X GET http://localhost:8080/1.0/identifiers/did:sol:devnet:2eK2DKs6vdzTEoj842Gfcs6DdtffPpw1iF6JbzQL4TuK
curl -X GET http://localhost:8080/1.0/identifiers/did:lit:AEZ87t1bi5bRxmVh3ksMUi
curl -X GET http://localhost:8080/1.0/identifiers/did:ebsi:z25ZZFS7FweHsm9MX2Qvc6gc
curl -X GET http://localhost:8080/1.0/identifiers/did:emtrust:0x242a5ac36676462bd58a
curl -X GET http://localhost:8080/1.0/identifiers/did:meta:0000000000000000000000000000000000000000000000000000000000005e65
curl -X GET http://localhost:8080/1.0/identifiers/did:tz:tz1YwA1FwpgLtc1G8DKbbZ6e6PTb1dQMRn5x
curl -X GET http://localhost:8080/1.0/identifiers/did:pkh:tz:tz2BFTyPeYRzxd5aiBchbXN3WCZhx7BqbMBq
curl -X GET http://localhost:8080/1.0/identifiers/did:orb:hl:uEiBuxTFn4L_Hn8KsOWo8e9kqWP38MThBaToB_5yV3c5QTg:uoQ-BeEJpcGZzOi8vYmFma3JlaWRveXV5d3B5Zjd5NnA0Zmxiem5pNmh4d2prbGQ2N3ltanlpZnV0dWFwN3RzazUzdHNxank:EiD_igS1OSEftg5BGfisJGOS1rgcx5AkQhX0h1B4dHTUYA
curl -X GET http://localhost:8080/1.0/identifiers/did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh
curl -X GET http://localhost:8080/1.0/identifiers/did:moncon:z6MkfrVYbLejh9Hv7Qmx4B2P681wBfPFkcHkbUCkgk1Q8LoA
curl -X GET http://localhost:8080/1.0/identifiers/did:dock:5EAp6DB2pkKuAfbhQiqAXFY4XPZkJrvtWKad4ChDmWwDrC8n
curl -X GET http://localhost:8080/1.0/identifiers/did:mydata:z6MkjgVfx2YE7SUBZBej65E7UHSjAyMLukPvdPjPytpTy1ZM
curl -X GET http://localhost:8080/1.0/identifiers/did:dns:danubetech.com
curl -X GET http://localhost:8080/1.0/identifiers/did:indy:idunion:2GMSLg2A8JXcdYVsPC4Jui
curl -X GET http://localhost:8080/1.0/identifiers/did:everscale:47325e80e3cef5922d3a3583ae5c405ded7bda781cb069f2bc932a6c3d6ec62e
curl -X GET http://localhost:8080/1.0/identifiers/did:ala:quor:redT:ec27f358fd0d11d8934ceb51305622ae79b6ad15
curl -X GET http://localhost:8080/1.0/identifiers/did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN
curl -X GET http://localhost:8080/1.0/identifiers/did:com:1l6zglh8pvcrjtahsvds2qmfpn0hv83vn8f9cf3
curl -X GET http://localhost:8080/1.0/identifiers/did:kscirc:k2f2PhnVHabRenKbaKfLMyuxRU94S1HfAwsR2dMHxTqVeEzmPxsd
curl -X GET http://localhost:8080/1.0/identifiers/did:iscc:miagwptv4j2z57ci
curl -X GET http://localhost:8080/1.0/identifiers/did:ev:bmM8apgHQD8cPbwNsMSJKqkYRCDYhkK55uxR9
curl -X GET http://localhost:8080/1.0/identifiers/did:iid:3QUs61mk7a9CdCpckriQbA5emw8pubj6RMtHXP6gD66YbcungS6w2sa
curl -X GET http://localhost:8080/1.0/identifiers/did:evan:testcore:0x126E901F6F408f5E260d95c62E7c73D9B60fd734
curl -X GET http://localhost:8080/1.0/identifiers/did:bid:ef214PmkhKndUcArDQPgD5J4fFVwqJFPt
curl -X GET http://localhost:8080/1.0/identifiers/did:polygonid:polygon:amoy:2qZBvRQPTZwYEKDVT3xY8W8zXvznqykyeqjSmXdz4U
curl -X GET http://localhost:8080/1.0/identifiers/did:pdc:8801:0xf47b66bc0d9b7c73f9ff27bf1f49a2b69dc167fc
curl -X GET http://localhost:8080/1.0/identifiers/did:tys:4B4AbVzzcJSnCZsdX4VaKyQgHRnC
curl -X GET http://localhost:8080/1.0/identifiers/did:plc:yk4dd2qkboz2yv6tpubpc6co
curl -X GET http://localhost:8080/1.0/identifiers/did:evrc:issuer:polygon:62eeb90e-eee4-4d31-8927-1075e82b2a74
curl -X GET http://localhost:8080/1.0/identifiers/did:keri:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP
curl -X GET http://localhost:8080/1.0/identifiers/did:webs:peacekeeper.github.io:did-webs-iiw-tutorial:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP
curl -X GET http://localhost:8080/1.0/identifiers/did:content:3SqTXtoMpiPeNo5vEP2p7yNGQUeCGjqW1wnctv8yaCWXojD29GYcUEo
curl -X GET http://localhost:8080/1.0/identifiers/did:algo:mainnet:app:1845671812:da490f2d15a625459bf970a3d55e1a646dfd3a956d011546e953e945d39fdada
curl -X GET http://localhost:8080/1.0/identifiers/did:itn:PA7xLNkMAqzzrDp4UBnrZm
curl -X GET http://localhost:8080/1.0/identifiers/did:iota:0xf4d6f08f5a1b80dd578da7dc1b49c886d580acd4cf7d48119dfeb82b538ad88a
curl -X GET http://localhost:8080/1.0/identifiers/did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw
curl -X GET http://localhost:8080/1.0/identifiers/did:prism:c36cd59bbc62dee1925e1343a8fed051416e417116d6169d060746f1e6816cd4
curl -X GET http://localhost:8080/1.0/identifiers/did:tdw:QmbnQXj7DhWFrmgjDPKZCybn8fkKW7Wze57SQHpwsSQ7NZ:gist.githubusercontent.com:brianorwhatever:9c4633d18eb644f7a47f93a802691626:raw
curl -X GET http://localhost:8080/1.0/identifiers/did:quarkid:EiBJ_1z9_OtvrfSgUNnBIs808vsRq7dQCKMP4LuSUosdXQ

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

If this doesn't work, see Troubleshooting.

Note that there is also a Universal Resolver frontend that can optionally be installed separately.

It is possible to "deep link" to the resolution result of a specific DID as follows:

https://dev.uniresolver.io/#did:indy:sovrin:WRfXPg8dantKVubE3HX8pw

Drivers

Are you developing a DID method and Universal Resolver driver? Click Driver Development for instructions.

Driver NameDriver VersionDID Method Spec VersionDocker Image or URLDescription
did-btcr0.1-SNAPSHOT0.1universalresolver/driver-did-btcrBitcoin Reference
did-sov0.1-SNAPSHOT0.1universalresolver/driver-did-sovSovrin public ledger
did-stack0.11.0universalresolver/driver-did-stack
did-dom0.1-SNAPSHOT(missing)universalresolver/driver-did-dom
did-ethr5.0.311.0.0uport/uni-resolver-driver-did-uportEthereum addresses or secp256k1 publicKeys
did-ens5.0.30.1.1uport/uni-resolver-driver-did-uportENS names
did-web5.0.33.0.0uport/uni-resolver-driver-did-uportDomain name
did-peer5.0.31.0-draftuport/uni-resolver-driver-did-uportPeer DID
did-eosio0.1.30.1gimlyblockchain/eosio-universal-resolver-driverEOSIO blockchain platform
did-v10.11.0veresone/uni-resolver-did-v1-driverVeres One Blockchain
did-jolo0.10.1jolocomgmbh/jolocom-did-driverJolocom identity management
did-hacera0.1(missing)hacera/hacera-did-driverHACERA autonomous data exchange network
did-elem1.0.01.0Sidetree protocol (Ethereum and IPFS)
did-seraphid0.1(missing)swisscomblockchainag/seraph-id-did-driverSeraph ID (SSI solution on the NEO blockchain platform)
did-github0.1(missing)Github
did-ccp0.1-SNAPSHOT0.1hello2mao/driver-did-ccpBaidu Cloud
did-ont0.11.0ontio/ontid-driverOntology ONT ID
did-kilt2.5.01.3kiltprotocol/kilt-did-driverKILT Protocol
did-factom0.2.0-SNAPSHOT1.0sphereon/uni-resolver-driver-did-factomFactom Protocol
did-key1.0.00.7universalresolver/driver-did-keyPublic keys (in general)
did-io0.1.0(missing)iotex/uni-resolver-driver-did-ioIoTeX Network
did-bba0.2.21.0blobaa/bba-did-driverBlobaa blockchain-based authentication on the Ardor blockchain
did-schema0.1.10.151nodes/schema-registry-did-resolverIdentify and address schema definitions in a schema registry
did-ion0.8.10.1identityfoundation/driver-did-ionION network (Sidetree implementation on top of Bitcoin)
did-ace1.0(missing)aceblock/ace-did-driverAceBlock blockchain framework
did-gatc2.0.01.0 WDgatacaid/universal-resolver-driverGATACA (blockchain-agnostic digital identity platform)
did-icon-zzeung0.1.21.0 WDamuyu/driver-did-iconICON decentralized network
did-vaa1.0.01.0 WDcaict/driver-did-vaaBIF blockchain
did-unisot1.0.01.0.0unisot/unisot-did-driverUNISOT distributed identity system (atop Bitcoin SV blockchain)
did-sol3.3.03.3.0identitydotcom/driver-did-solSolana blockchain
did-lit0.1.10.1.1ibct/driver-did-litLEDGIS blockchain
did-ebsi2.0.02.0.0URLEBSI Platform (European Blockchain Services Infrastructure)
did-emtrust0.10.1halialabsdev/emtrust_did_driverEmTrust WAI distributed identity system
did-meta1.01.0URLMetadium Decentralized Identifiers
did-tz0.1.00.1ghcr.io/spruceid/didkit-httpTezos DID method
did-pkh0.0.10.1ghcr.io/spruceid/didkit-httpPublic Key Hash DID method
did-orbv1.0.0-rc30.2trustbloc/orb-did-driverOrb DID method
did-oyd0.4.50.4oydeu/oydid-resolverself-sustained environment for managing DIDs
did-moncon0.40.3camicasii/didresolver-g
did-dock1.0.01.0 WD0.1docknetwork/dock-did-driver
did-mydata1.31.1 WDigrantio/uni-resolver-driver-did-mydataiGrant.io
did-dns0.1-SNAPSHOT0.1universalresolver/driver-did-dnsDomain name
did-indy0.9.00.1universalresolver/driver-did-indyHyperledger Indy
did-everscale0.10.1radianceteamssi/everscale-did-resolver-driverEverscale Blockchain
did-alastria-mvp21.0.0MVP2alastria/universal-resolverAlastriaID MVP2
did-cheqd3.6.11.0cheqd/did-resolvercheqd network
did-com1.0.01.0ghcr.io/commercionetwork/uni-resolver-driver-did-comCommercio public ledger
did-dyne0.11.0dyne/w3c-did-driverDyne.org Decentralized Identifiers
did-jwk0.11.0transmute/restricted-resolverDID Json Web Key
did-kscirc1.0.11.0.1k4security/kschain-resolverKSChain blockchain
did-iscc0.1.00.1ghcr.io/iscc/iscc-did-driverInternational Standard Content Code - ISCC
did-ev1.0.40.1ghcr.io/kaytrust/driver-did-evKayTrust default method based on Ethereum smart contracts
did-iid0.1.00.1zoeyian/driver-did-iid:latestInspur DID Method
did-evan0.1.20.9evannetwork/evan-did-driverevan.network
did-bid2.0.02.0 WDcaictdevelop/driver-did-bidBIF blockchain
did-polygonid0.0.41.0.0ghcr.io/iden3/driver-did-iden3:v0.0.4PolygonID DID
did-pdc0.0.1(missing)w744219971/driver-did-pdcPDC DID
did-tys1.01.0itpeoplecorp/tys-did-driverTYS DID
did-plc0.0.1devbnewbold/uni-resolver-driver-did-plcPLC DID
did-evrc1.01.0viitorcloud/uni-resolver-driver-did-evrcEveryCRED DID Method
did-keri0.10.1gleif/did-keri-resolverKERI
did-webs0.10.1gleif/did-webs-resolverKER, Web
did-content0.10.1kataru/content-did-driverContent DID
did-algo1.0.02.0ghcr.io/algorandfoundation/did-algoAlgorand Blockchain DID Method
did-itn1.0.01.0ghcr.io/itn-trust/driver-did-itnIntegrated Trust Network (ITN) DID Method
did-iota0.1.21.0iotaledger/uni-resolver-driver-iotaIOTA DID
did-iden30.0.41.0.0ghcr.io/iden3/driver-did-iden3:v0.0.4Iden3 DID
did-prism0.21.0ghcr.io/fabiopinheiro/uni-resolver-driver-did-prismPRISM DID
did-tdw0.40.4uni-resolver-driver-did-tdwTrust DID Web
did-quarkid1.01.0uni-resolver-driver-did-quarkidQuarkID

More Information

About

<img align="left" src="https://raw.githubusercontent.com/decentralized-identity/universal-resolver/main/docs/logo-dif.png" width="115">

Decentralized Identity Foundation - https://identity.foundation/

<br clear="left" /> <img align="left" src="https://raw.githubusercontent.com/decentralized-identity/universal-resolver/main/docs/logo-ngi0pet.png" width="115">

Supported by NLnet and NGI0 PET, which is made possible with financial support from the European Commission's Next Generation Internet programme.