Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentralized-identity/uni-resolver-driver-did-sov
A Universal Resolver driver for did:sov identifiers.
https://github.com/decentralized-identity/uni-resolver-driver-did-sov
decentralized-identifiers universal-resolver wg-id
Last synced: about 2 months ago
JSON representation
A Universal Resolver driver for did:sov identifiers.
- Host: GitHub
- URL: https://github.com/decentralized-identity/uni-resolver-driver-did-sov
- Owner: decentralized-identity
- License: apache-2.0
- Created: 2020-01-06T14:25:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T14:05:25.000Z (6 months ago)
- Last Synced: 2024-06-28T00:04:58.059Z (6 months ago)
- Topics: decentralized-identifiers, universal-resolver, wg-id
- Language: Java
- Size: 390 KB
- Stars: 3
- Watchers: 13
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![DIF Logo](https://raw.githubusercontent.com/decentralized-identity/universal-resolver/master/docs/logo-dif.png)
# Universal Resolver Driver: did:sov
This is a [Universal Resolver](https://github.com/decentralized-identity/universal-resolver/) driver for **did:sov** identifiers.
## Specifications
* [Decentralized Identifiers](https://w3c.github.io/did-core/)
* [DID Method Specification](https://sovrin-foundation.github.io/sovrin/spec/did-method-spec-template.html)## 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_openParallel`
* Specifies whether to open Indy pools in parallel threads. This speeds up startup, but may consume more memory.
* Default value: false### `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/_.txn;staging;./sovrin/staging.txn;builder;./sovrin/builder.txn;danube;./sovrin/danube.txn;idu;./sovrin/idu.txn;eesdi;./sovrin/eesdi.txn;indicio;./sovrin/indicio.txn;indicio:test;./sovrin/indicio-test.txn;indicio:demo;./sovrin/indicio-demo.txn;bbu;./sovrin/bbu.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;idu;2;eesdi;2;indicio;2;indicio:test;2;indicio:demo;2;bbu;2`### `uniresolver_driver_did_sov_walletNames`
* Specifies a semi-colon-separated list of Indy network names and wallet names. The default network is `_`.
* Default value: `_;w1;staging;w2;builder;w3;danube;w4;idu;w5;eesdi;w6;indicio;w7;indicio:test;w8;indicio:demo;w9;bbu;w10`### `uniresolver_driver_did_sov_submitterDidSeeds`
* Specifies a semi-colon-separated list of Indy network names and seeds for submitter DIDs. The default network is `_`.
* Default value: `_;_;staging;_;builder;_;danube;_;idu;_;eesdi;_;indicio;_;indicio:test;_;indicio:demo;_;bbu;_`## 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.