Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.59 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.59 KB

DIF Logo

Universal Resolver Driver: did:abt

This is a Universal Resolver driver for ABT DID provided by ArcBlock did:abt identifiers.

More info:

Specifications

Example DIDs

did:abt:z116ygT18P67xBp3scBtZLU6xVoDy268bgnU
did:abt:z11MVbRGLFt6RXaHzX7Xj7rmHfeiyFkJiiRE

Configuration

For downloading the dependencies of this project a Personal Access Token for GitHub must be configured in file settings.xml according to Creating a personal access token for the command line. Then, add the USER Name and TOKEN to the environment variable as follows,

GITHUB_READ_PACKAGES_OWNER=OWNER
GITHUB_READ_PACKAGES_TOKEN=TOKEN

Build and Run (Docker)

make build
make run
curl -X GET http://localhost:8080/1.0/identifiers/did:abt:z116ygT18P67xBp3scBtZLU6xVoDy268bgnU

Build (native Java)

Maven build:

mvn --settings settings.xml clean install

Driver Metadata

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

  • version: The DID version.
  • proof: Some proof info about the DID document.
  • created: The DID create time.
  • updated: The DID document last update time.