Skip to content

uport-project/uport-did-driver

Repository files navigation

uport-did-driver

Driver for the uPort DID methods to be used in the Universal Resolver. The Docker image is hosted on Docker Hub here:

https://hub.docker.com/r/uport/uni-resolver-driver-did-uport/

The file src/server.js is a small Express Node app acting as a thin wrapper around the Javascript DID resolver. It listens to port 8081.

The following DID methods are supported:

Curl Tests

Run service with

npm start

then run queries

curl -X GET http://localhost:8081/1.0/identifiers/did:web:did.actor:alice
curl -X GET http://localhost:8081/1.0/identifiers/did:ethr:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736

Example DIDs

  • did:ethr:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
  • did:ethr:0x02b97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71
  • did:ethr:mainnet:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
  • did:ethr:goerli:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
  • did:ethr:0x1:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
  • did:ethr:0x5:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
  • did:ethr:ewc:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
  • did:web:pulsar.veramo.io
  • did:web:did.actor:alice
  • did:ens:vitalik.eth