Skip to content
A Universal Resolver driver for did:sov identifiers.
Java Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
docker Move files to root. Jan 6, 2020
sovrin
src
.gitignore
.gitlab-ci.yml Added .gitlab-ci.yml Jan 10, 2020
README.md Move files to root. Jan 6, 2020
pom.xml

README.md

DIF Logo

Universal Resolver Driver: did:sov

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

Specifications

Example DIDs

did:sov:WRfXPg8dantKVubE3HX8pw
did:sov:stn:WRfXPg8dantKVubE3HX8pw

Build and Run (Docker)

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

Build (native Java)

  1. First, build https://github.com/decentralized-identity/universal-resolver/tree/master/resolver/java
  2. Then, build https://github.com/hyperledger/indy-sdk/tree/master/wrappers/java

Then run:

mvn clean install

Driver Environment Variables

The driver recognizes the following environment variables:

uniresolver_driver_did_sov_libIndyPath

  • Specifies the path to the Indy SDK library.
  • Default value: (empty string)

uniresolver_driver_did_sov_poolConfigs

  • Specifies a semi-colon-separated list of Indy network names and pool configuration files. The default network is _.
  • Default value: _;./sovrin/mainnet.txn;staging;./sovrin/stagingnet.txn;builder;./sovrin/buildernet.txn;danube;./sovrin/danube.txn

uniresolver_driver_did_sov_poolVersions

  • Specifies a semi-colon-separated list of Indy network names and pool protocol versions. The default network is _.
  • Default value: _;2;staging;2;builder;2;danube;2

uniresolver_driver_did_sov_walletName

  • Specifies the name of the Indy wallet.
  • Default value: default

Driver 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.
You can’t perform that action at this time.