Home

Awesome

DIF Logo

Universal Resolver Driver: did:key

This is a Universal Resolver driver for did:key identifiers.

Specifications

Example DIDs

did:key:z6Mkfriq1MqLBoPWecGoDLjguo1sB9brj6wT3qZ5BxkKpuP6
did:key:z6MksQ35B5bwZDQq4QKuhQW2Sv6dcqwg4PqcSFf67pdgrtjB
did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH

Build and Run (Docker)

docker build -f ./docker/Dockerfile . -t universalresolver/driver-did-key
docker run -p 8080:8080 universalresolver/driver-did-key
curl -X GET http://localhost:8080/1.0/identifiers/did:key:z6Mkfriq1MqLBoPWecGoDLjguo1sB9brj6wT3qZ5BxkKpuP6

Build and Run (NodeJS)

npm start

Driver Environment Variables

The driver recognizes the following environment variables:

(none)

Driver Metadata

The driver returns the following metadata in addition to a DID document:

(none)