Skip to content

LedgerDomain/uni-resolver-driver-did-webplus

 
 

Repository files navigation

DIF Logo

Universal Resolver Driver: example

This is an example Universal Resolver driver for fictional did:example identifiers.

Specifications

Example DIDs

did:example:0000000000123456
did:example:0000000000456789

Build and Run (Docker)

docker build -f ./docker/Dockerfile . -t exampleorg/uni-resolver-driver-did-example
docker run -p 8080:8080 exampleorg/uni-resolver-driver-did-example
curl -X GET http://localhost:8080/1.0/identifiers/did:example:0000000000123456

Build and Run (NodeJS)

npm start

Driver Environment Variables

The driver recognizes the following environment variables:

uniresolver_driver_did_example_exampleSetting

  • An example setting for the driver.
  • Default value: (empty string)

Driver Metadata

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

  • exampleMetadata: Example metadata

About

did:webplus Universal Resolver driver

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 89.6%
  • Dockerfile 10.4%