[DID 기술 분석] Universal Resolver

서로다른 블록체인 기술 기반의 DID 호환을 가능하게 하는 방법

8 min readAug 16, 2019

--

1 Universal Resolver 대두 배경

DID를 구현하는 방식은 BTC, ETH, Hyperledger Indy 등 기존의 블록체인 기술뿐만 아니라 자체 블록체인 기술을 활용한 방식으로 구현이 가능하므로 현재의 DID 프로젝트는 각각 개별적인 생태계를 구축하고 있으므로 다양한 DID 플랫폼의 출시가 예상된다. 그러므로 DID 보유자와 서비스 제공자 입장에서는 많은 유저 확보와 서비스의 공급이 필요하게 되므로 DID의 확산 관점에서는 DID의 Interoperability 가 대두됨으로써 DID의 Universal Resolver가 필요하게 됨.

출처: 금융보안원 자료

Universal Resolver

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.

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: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.

Implementations

The following resolver implementations are available here:

Drivers

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

Driver NameDriver VersionDID Spec VersionDID Method Spec VersionDocker Imagedid-btcr0.1-SNAPSHOT0.110.1universalresolver/driver-did-btcrdid-sov0.1-SNAPSHOT0.110.1universalresolver/driver-did-sovdid-erc7250.1-SNAPSHOT0.110.1universalresolver/driver-did-erc725did-stack0.10.11(missing)universalresolver/driver-did-stackdid-dom0.1-SNAPSHOT0.11(missing)universalresolver/driver-did-domdid-uport1.1.00.111.0uport/uni-resolver-driver-did-uportdid-v10.111.0did-ipid0.110.1did-jolo0.10.110.1jolocomgmbh/jolocom-did-driverdid-hacera0.10.11(missing)hacera/hacera-did-driver

More Information

About

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.

참고

Universal Resolver

Universal Resolver github

DID 분야에 종사하시는 분을 포함하여 단순하게 관심이 있는 분들과 소통하고 나아가가서 상호 협력을 위하여 커뮤니티를 만들었습니다.아래의 링크를 클릭해서 들어오시면 ‘공지사항’, ‘문의’,’정보공유및토론’의 채널에 들어오시면 됩니다.

https://app.slack.com/client/TLX101GU8/DM8GABM8U/details/members

또한 페이스북에도 채널을 구성해두었으니 참고하여 주세요

https://www.facebook.com/KDIDC1/

--

--

Sovrin, W3C CCG 및 ToIP 멤버. 다수의 블록체인 프로젝트 수행/어드바이저 담당. GDG, GIST, Udemy(온라인 강좌) 등에서 강의 진행. 마스터링 자기주권신원 한글판 번역 및 마스터링 이더리움의 한글판 베타리딩에 참여. 공공기관의 사업평가위원 및 EBRD 자문