Skip to content

Commit 900d68f

Browse files
authored
Add driver-did-zkjm (decentralized-identity#466)
* added driver for zkjm * Update docker-compose.yml * Update README.md * Update README.md * Update README.md * fixes * Update README.md * fix testDID not found issue * replaced DID in readme
1 parent b0834ce commit 900d68f

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,13 @@ You should then be able to resolve identifiers locally using simple `curl` reque
9292
curl -X GET http://localhost:8080/1.0/identifiers/did:prism:c36cd59bbc62dee1925e1343a8fed051416e417116d6169d060746f1e6816cd4
9393
curl -X GET http://localhost:8080/1.0/identifiers/did:webvh:QmPEQVM1JPTyrvEgBcDXwjK4TeyLGSX1PxjgyeAisdWM1p:gist.githubusercontent.com:brianorwhatever:9c4633d18eb644f7a47f93a802691626:raw
9494
curl -X GET http://localhost:8080/1.0/identifiers/did:quarkid:EiBJ_1z9_OtvrfSgUNnBIs808vsRq7dQCKMP4LuSUosdXQ
95+
96+
curl -X GET http://localhost:8080/1.0/identifiers/did:zkjm:mainnet:d90e52b36a2e2306dc873ec0f7a94351
97+
9598
curl -X GET http://localhost:8080/1.0/identifiers/did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw
9699
curl -X GET 'http://localhost:8080/1.0/identifiers/did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw?gist=f12d4f6fddeed78cb8b1faf1c6f4f171a590c1b05c484118a09847f5caa74d03'
97100
curl -X GET 'http://localhost:8080/1.0/identifiers/did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw?state=7a1a45d22b686cf1bd2f9fbecbed38b725a555e6d8ad68d3780feda9124b1a13'
101+
98102
You can also use an "Accept" header to request the DID document in a specific representation, e.g.:
99103

100104
curl -H "Accept: application/did+ld+json" https://dev.uniresolver.io/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw
@@ -183,8 +187,11 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev
183187
| [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 |
184188
| [did-webvh](https://github.com/brianorwhatever/uni-resolver-driver-did-webvh) | 0.5 | [0.5](https://identity.foundation/didwebvh/) | [uni-resolver-driver-did-webvh](ghcr.io/brianorwhatever/uni-resolver-driver-did-webvh:main) | DID WEBVH - Verifiable History |
185189
| [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
190+
191+
| [did-zkjm](https://github.com/JupiterMetaZK/.github) | 1.0.0 | 1.0.0 | [uni-resolver-driver-did-zkjm](https://hub.docker.com/r/saishibu38380/uni-resolver-driver-zkjm) | ZKJM DID |
186192
| [did-iden3](https://github.com/iden3/driver-did-iden3) | 0.0.8 | [1.0.0](https://github.com/iden3/did-iden3/blob/main/did-iden3-method.md) | [ghcr.io/iden3/driver-did-iden3:v0.0.8](https://github.com/iden3/driver-did-iden3/pkgs/container/driver-did-iden3) | Iden3 DID
187193

194+
188195
## More Information
189196

190197
* [Driver Development](/docs/driver-development.md)

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,3 +388,7 @@ services:
388388
NODE_1_PATTERN: ${uniresolver_driver_did_quarkid_node_pattern} #did:quarkid
389389
NODE_1_BEHAVIOR: ${uniresolver_driver_did_quarkid_node_behavior} #1
390390
UV_THREADPOOL_SIZE: ${uniresolver_driver_did_quarkid_node_threadpool_size} #240000
391+
driver-did-zkjm:
392+
image: saishibu38380/uni-resolver-driver-zkjm:v1.0.0
393+
ports:
394+
- "8081:8080"

uni-resolver-web/src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,10 @@ uniresolver:
357357
url: ${uniresolver_web_driver_url_did_quarkid:http://driver-did-quarkid:8080/}
358358
testIdentifiers:
359359
- did:quarkid:EiA9SoiWkqduxPJcVk3UVoUGWm3WL2S6mox3qH3AWVCwMQ
360+
- pattern: "^(did:zkjm:.+)$"
361+
url: ${uniresolver_web_driver_url_did_zkjm:http://driver-did-zkjm:8080}
362+
testIdentifiers:
363+
- "did:zkjm:mainnet:d90e52b36a2e2306dc873ec0f7a94351"
360364
- pattern: "^(did:iden3:.+)$"
361365
url: ${uniresolver_web_driver_url_did_iden3:http://driver-did-iden3:8080/}
362366
propertiesEndpoint: "true"

0 commit comments

Comments
 (0)