Skip to content

azuzi/uni-resolver-driver-did-sov

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Universal Resolver driver for did:sov identifiers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 93.6%
  • Dockerfile 6.1%
  • Shell 0.3%