ianco / uni-resolver-driver-did-sov

A Universal Resolver driver for did:sov identifiers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

Maven build:

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.

About

A Universal Resolver driver for did:sov identifiers.

License:Apache License 2.0


Languages

Language:Java 90.7%Language:Dockerfile 9.0%Language:Shell 0.3%