Skip to content

Commit 24378cb

Browse files
authored
Add did:nda driver (#527)
* feat: add did:nda driver * chore: remove networks from docker-compose
1 parent c0cacb3 commit 24378cb

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ You should then be able to resolve identifiers locally using simple `curl` reque
101101
curl -X GET http://localhost:8080/1.0/identifiers/did:empe:testnet:006308981b61932c5eaae1c39ace8ee3892f4a1f
102102
curl -X GET http://localhost:8080/1.0/identifiers/did:bsv:49e48f452457524f036a3f386388500a6256a9fd21e0e003295bbf3a0455baab
103103
curl -X GET http://localhost:8080/1.0/identifiers/did:hedera:testnet:zHirM7oP62rzBmw4oSbWZTSeTLzb9zrDTfQa1cdMBWCPp_0.0.7280148
104+
curl -X GET http://localhost:8080/1.0/identifiers/did:nda:0x8c05abb015f5778ddeb0d0fa236fb8950f7bb637
104105

105106

106107
You can also use an "Accept" header to request the DID document in a specific representation, e.g.:
@@ -198,6 +199,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev
198199
| [did-bsv](https://github.com/teranode-group/uni-resolver-driver-did-bsv) | 1.3.1 | [1.0.0](https://github.com/teranode-group/TNG-Identity-bsvdid-method) | [teranodegroup/universalresolver](https://hub.docker.com/repository/docker/teranodegroup/universalresolver/general) | BSV DID|
199200
| [did-andorra](https://github.com/davidgbvargroup/uni-resolver-driver-did-andorra) | 1.0.0 | [0.1.1](https://github.com/davidgbvargroup/did-andorra-method-spec/blob/main/spec.md) | [davidgbvargroup/uni-resolver-driver-did-andorra](https://hub.docker.com/r/davidgbvargroup/uni-resolver-driver-did-andorra) | Andorra DID |
200201
| [did-hedera](https://github.com/hiero-ledger/identity-collaboration-hub/tree/main/universal-resolver-driver) | 0.1.7 | [1.0](https://github.com/hashgraph/did-method/blob/master/hedera-did-method-specification.md) | [ghcr.io/hiero-ledger/uni-resolver-driver-did-hedera](ghcr.io/hiero-ledger/uni-resolver-driver-did-hedera:v0.1.7-8ae3a53) | Hedera DID Method |
202+
| [did-nda](https://github.com/pilacorp/nda-resolver-driver) | 1.0.0 | [1.0.0](https://did-specs.ndachain.vn/) | [pilacorp/driver-did-nda](https://github.com/orgs/pilacorp/packages/container/package/driver-did-nda) | NDA DID |
201203

202204

203205
## More Information

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,3 +429,8 @@ services:
429429
image: ghcr.io/hiero-ledger/uni-resolver-driver-did-hedera:v0.1.7-8ae3a53
430430
ports:
431431
- "8165:8080"
432+
433+
driver-did-nda:
434+
image: ghcr.io/pilacorp/driver-did-nda:1.0.0
435+
ports:
436+
- "8166:8080"

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,4 +419,9 @@ uniresolver:
419419
acceptHeaderValueDereference: application/ld+json;profile="https://w3id.org/did-resolution"
420420
testIdentifiers:
421421
- did:hedera:testnet:23g2MabDNq3KyB7oeH9yYZsJTRVeQ24DqX8o6scB98e3_0.0.5217215
422-
- did:hedera:testnet:ChQreHtT3MgjuVchee9kimLxsWXxjQRzeTuCjcXvkh7j_0.0.7232365
422+
- did:hedera:testnet:ChQreHtT3MgjuVchee9kimLxsWXxjQRzeTuCjcXvkh7j_0.0.7232365
423+
424+
- pattern: "^(did:nda:.+)$"
425+
url: ${uniresolver_web_driver_url_did_nda:http://driver-did-nda:8080/1.0/identifiers/$1}
426+
testIdentifiers:
427+
- did:nda:0x8c05abb015f5778ddeb0d0fa236fb8950f7bb637

0 commit comments

Comments
 (0)