diff --git a/.env b/.env index d825066a..8c523bb8 100644 --- a/.env +++ b/.env @@ -64,3 +64,8 @@ uniresolver_driver_did_iota_smrNodeAuthToken= uniresolver_driver_did_iota_customNetworkName=rms uniresolver_driver_did_iota_customNodeEndpoint=https://api.testnet.shimmer.network/ uniresolver_driver_did_iota_customNodeAuthToken= + +uniresolver_driver_did_quarkid_node_url=https://lbquarkid2.extrimian.com/ +uniresolver_driver_did_quarkid_node_pattern=did:quarkid +uniresolver_driver_did_quarkid_node_behavior=1 +uniresolver_driver_did_quarkid_node_threadpool_size=240000 \ No newline at end of file diff --git a/README.md b/README.md index dc1228fa..0b7f777f 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ You should then be able to resolve identifiers locally using simple `curl` reque curl -X GET http://localhost:8080/1.0/identifiers/did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw curl -X GET http://localhost:8080/1.0/identifiers/did:prism:c36cd59bbc62dee1925e1343a8fed051416e417116d6169d060746f1e6816cd4 curl -X GET http://localhost:8080/1.0/identifiers/did:tdw:QmbnQXj7DhWFrmgjDPKZCybn8fkKW7Wze57SQHpwsSQ7NZ:gist.githubusercontent.com:brianorwhatever:9c4633d18eb644f7a47f93a802691626:raw - + curl -X GET http://localhost:8080/1.0/identifiers/did:quarkid:EiBJ_1z9_OtvrfSgUNnBIs808vsRq7dQCKMP4LuSUosdXQ You can also use an "Accept" header to request the DID document in a specific representation, e.g.: curl -H "Accept: application/did+ld+json" https://dev.uniresolver.io/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw @@ -183,7 +183,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev | [did-iden3](https://github.com/iden3/driver-did-iden3) | 0.0.4 | [1.0.0](https://github.com/iden3/did-iden3/blob/main/did-iden3-method.md) | [ghcr.io/iden3/driver-did-iden3:v0.0.4](https://github.com/iden3/driver-did-iden3/pkgs/container/driver-did-iden3) | Iden3 DID | | [did-prism](https://github.com/FabioPinheiro/uni-resolver-driver-did-prism) | 0.2 | [1.0](https://github.com/input-output-hk/prism-did-method-spec) | [ghcr.io/fabiopinheiro/uni-resolver-driver-did-prism](https://github.com/FabioPinheiro/uni-resolver-driver-did-prism/pkgs/container/uni-resolver-driver-did-prism) | PRISM DID | | [did-tdw](https://github.com/brianorwhatever/uni-resolver-driver-did-tdw) | 0.4 | [0.4](https://identity.foundation/trustdidweb/) | [uni-resolver-driver-did-tdw](https://hub.docker.com/r/brianrichter/uni-resolver-driver-did-tdw) | Trust DID Web | - +| [did-quarkid](https://github.com/ssi-quarkid/api-proxy) | 1.0 | 1.0 | [uni-resolver-driver-did-quarkid](extrimianpublic.azurecr.io/modena-resolver:metadataSupport) | QuarkID ## More Information diff --git a/docker-compose.yml b/docker-compose.yml index 7d10b40f..0a26213e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -383,3 +383,13 @@ services: image: brianrichter/uni-resolver-driver-did-tdw:0.4 ports: - "8154:8080" + driver-did-quarkid: + image: quarkid/api-proxy:latest + ports: + - 8155:8080 + environment: + #- NODE_1_URL:https://quarkid-main.extrimian.com/ + NODE_1_URL: ${uniresolver_driver_did_quarkid_node_url} #https://lbquarkid2.extrimian.com/ + NODE_1_PATTERN: ${uniresolver_driver_did_quarkid_node_pattern} #did:quarkid + NODE_1_BEHAVIOR: ${uniresolver_driver_did_quarkid_node_behavior} #1 + UV_THREADPOOL_SIZE: ${uniresolver_driver_did_quarkid_node_threadpool_size} #240000 diff --git a/uni-resolver-web/src/main/resources/application.yml b/uni-resolver-web/src/main/resources/application.yml index 3a009fdd..cec7579e 100644 --- a/uni-resolver-web/src/main/resources/application.yml +++ b/uni-resolver-web/src/main/resources/application.yml @@ -346,3 +346,7 @@ uniresolver: testIdentifiers: - did:tdw:QmbkyrrjFQ3Z2WiDfmesKpmeUhemaiqkWgwemovmVaTJfQ:demo.identifier.me:client:c9dd16b7-e079-43da-b0a9-36515e726c6f - did:tdw:QmbnQXj7DhWFrmgjDPKZCybn8fkKW7Wze57SQHpwsSQ7NZ:gist.githubusercontent.com:brianorwhatever:9c4633d18eb644f7a47f93a802691626:raw + - pattern: "^(did:quarkid:.+)$" + url: ${uniresolver_web_driver_url_did_quarkid:http://driver-did-quarkid:8080/} + testIdentifiers: + - did:quarkid:EiA9SoiWkqduxPJcVk3UVoUGWm3WL2S6mox3qH3AWVCwMQ