Skip to content

Commit

Permalink
feat: add did:itn driver (#418)
Browse files Browse the repository at this point in the history
* add did:itn driver

* reverted unnecessary changes
  • Loading branch information
AlexMesser committed Apr 24, 2024
1 parent d3de045 commit 438f423
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ uniresolver_driver_did_com_network=https://lcd-mainnet.commercio.network
uniresolver_driver_did_ev_node_url=https://polygon-mumbai.g.alchemy.com/v2/jLMUummm16stzMQjW1OB79IwuDjsJqS7
uniresolver_driver_did_ev_address_im=0x4E4f55190185f2694D331E5c9Fd70a2B75Eb4Bd2
uniresolver_driver_did_ev_base_blocks=2700000

uniresolver_driver_did_itn_resolverUrl=https://resolver.itn.mobi
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ You should then be able to resolve identifiers locally using simple `curl` reque
curl -X GET http://localhost:8080/1.0/identifiers/did:webs:peacekeeper.github.io:did-webs-iiw-tutorial:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP
curl -X GET http://localhost:8080/1.0/identifiers/did:content:3SqTXtoMpiPeNo5vEP2p7yNGQUeCGjqW1wnctv8yaCWXojD29GYcUEo
curl -X GET http://localhost:8080/1.0/identifiers/did:algo:426165491c77a6c95eeed8d0420b38b0afbe9057c4f33147eb90fafd32aaad22-591154170
curl -X GET http://localhost:8080/1.0/identifiers/did:itn:PA7xLNkMAqzzrDp4UBnrZm

You can also use an "Accept" header to request the DID document in a specific representation, e.g.:

Expand Down Expand Up @@ -175,6 +176,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev
| [did-webs](https://github.com/hyperledger-labs/did-webs-resolver) | 0.1 | [0.1](https://trustoverip.github.io/tswg-did-method-webs-specification/) | [gleif/did-webs-resolver](https://hub.docker.com/r/gleif/did-webs-resolver) | KER, Web |
| [did-content](https://github.com/KataruInc/did-content-spec) | 0.1 | [0.1](https://github.com/KataruInc/did-content-spec) | [kataru/content-did-driver](https://hub.docker.com/repository/docker/kataru/content-did-driver) | Content DID |
| [did-algo](https://github.com/algorandfoundation/did-algo) | 0.6.0 | [2.0](https://github.com/algorandfoundation/did-algo/blob/main/README.md) | [ghcr.io/aidtechnology/algoid-resolver](https://ghcr.io/aidtechnology/algoid-resolver) | Algorand Blockchain DID Method |
| [did-itn](https://github.com/itn-trust/uni-resolver-driver-did-itn) | 1.0.0 | [1.0](https://github.com/itn-trust/itn-did-spec) | [ghcr.io/itn-trust/driver-did-itn](https://ghcr.io/itn-trust/driver-did-itn) | Integrated Trust Network (ITN) DID Method |


## More Information
Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,9 @@ services:
image: ghcr.io/aidtechnology/algoid-resolver:0.6.0
ports:
- "8149:9091"
driver-did-itn:
image: ghcr.io/itn-trust/driver-did-itn:1.0.0
ports:
- "8150:8080"
environment:
DID_RESOLVER_URL: ${uniresolver_driver_did_itn_resolverUrl}
5 changes: 5 additions & 0 deletions uni-resolver-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,8 @@ uniresolver:
url: http://driver-did-algo:9091/
testIdentifiers:
- did:algo:426165491c77a6c95eeed8d0420b38b0afbe9057c4f33147eb90fafd32aaad22-591154170
- pattern: "^(did:itn:.+)$"
url: http://driver-did-itn:8080/
testIdentifiers:
- did:itn:PA7xLNkMAqzzrDp4UBnrZm
- did:itn:EzfteTXcoHXh5W1PURHrS3

0 comments on commit 438f423

Please sign in to comment.