Home

Awesome

DIF Logo

Universal Registrar

The Universal Registrar creates/updates/deactivates Decentralized Identifiers (DIDs) across many different DID methods, based on the W3C DID Core 1.0 and DID Registration specifications.

See https://uniregistrar.io/ for a publicly hosted instance of a Universal Registrar. See Docker Hub for images.

Quick Start

You can deploy the Universal Registrar on your local machine by cloning this Github repository, and using docker compose to build and run the Universal Registrar as well as its drivers:

git clone https://github.com/decentralized-identity/universal-registrar
cd universal-registrar/
docker compose -f docker-compose.yml pull
docker compose -f docker-compose.yml up

You should then be able to create/update/deactivate identifiers locally using simple curl requests as follows:

curl -X POST 'http://localhost:9080/1.0/create?method=v1' -d '{"options":{"ledger":"test","keytype": "ed25519"}}'
curl -X POST 'http://localhost:9080/1.0/create?method=sov' -d '{"options":{"network":"danube"}}'
curl -X POST 'http://localhost:9080/1.0/create?method=btcr' -d '{"options":{"chain":"TESTNET"}}'
curl -X POST 'http://localhost:9080/1.0/create?method=key' -d '{"options":{"keyType": "Ed25519VerificationKey2018"}}'
curl -X POST 'http://localhost:9080/1.0/create?method=ion' -d '{}'
curl -X POST 'http://localhost:9080/1.0/create?method=web' -d '{}'
curl -X POST 'http://localhost:9080/1.0/create?method=ebsi' -d '{"secret":{"token":"ey......"}}'
curl -X POST 'http://localhost:9080/1.0/create?method=oyd' -d '{"didDocument":{"@context":"https://www.w3.org/ns/did/v1","authentication":[]}}'
curl -X POST 'http://localhost:9080/1.0/create?method=cheqd' -d '{"didDocument":{...}}'
curl -X POST 'http://localhost:9080/1.0/create?method=ethr' -d '{"options":{"network":"goerli"}}'
curl -X POST 'http://localhost:9080/1.0/create?method=dyne' -d '{"didDocument":{}}'

If this doesn't work, see Troubleshooting.

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

Drivers

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

Driver NameDriver VersionDID Method Spec VersionDocker Image or URL
did-btcr0.1-SNAPSHOT0.1universalregistrar/driver-did-btcr
did-sov0.1-SNAPSHOT0.1universalregistrar/driver-did-sov
did-v10.1-SNAPSHOT0.1universalregistrar/driver-did-v1
did-key1.0.00.7universalregistrar/driver-did-key
did-ion1.0.00.0universalregistrar/driver-did-ion
did-web1.0.00.0universalregistrar/driver-did-web
did-ebsi1.0.0(missing)universalregistrar/driver-did-ebsi
did-oyd0.5.00.5oydeu/oydid-registrar
did-cheqd2.0.61.0cheqd/did-registrar
did-ethr0.2.00.0universalregistrar/driver-did-ethr
did-dyne0.2.01.0dyne/did-registrar

More Information

About

<img align="left" src="https://raw.githubusercontent.com/decentralized-identity/universal-registrar/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-registrar/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.

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

Supported by NGI TRUSTCHAIN, which is made possible with financial support from the European Commission's Next Generation Internet programme.