Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.98 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.98 KB

DIF Logo

Universal Resolver Driver: did:indy

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

Specifications

Example DIDs

did:indy:sovrin:WRfXPg8dantKVubE3HX8pw
did:indy:sovrin:staging:WRfXPg8dantKVubE3HX8pw

Build and Run (Docker)

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

Build (native Java)

Maven build:

mvn clean install

Driver Environment Variables

The driver recognizes the following environment variables:

  • uniresolver_driver_did_indy_libIndyPath: The path to the Indy SDK library.
  • uniresolver_driver_did_indy_openParallel: Whether to open Indy pools in parallel threads. This speeds up startup, but may consume more memory.
  • uniresolver_driver_did_indy_poolConfigs: A semi-colon-separated list of Indy network names and pool configuration files.
  • uniresolver_driver_did_indy_poolVersions: A semi-colon-separated list of Indy network names and pool protocol versions.
  • uniresolver_driver_did_indy_walletNames: A semi-colon-separated list of Indy network names and wallet names.
  • uniresolver_driver_did_indy_submitterDidSeeds: A semi-colon-separated list of Indy network names and seeds for submitter DIDs.

Driver Output Metadata

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

  • nymResponse: Response to the Indy GET_NYM operation, including txnTime, state_proof, and other information.
  • attrResponse: Response to the Indy GET_ATTR operation, including txnTime, state_proof, and other information.