Skip to content

Commit

Permalink
feat: update did-algo driver (#424)
Browse files Browse the repository at this point in the history
* feat: update did-algo driver

* update did:algo testIdentifiers
  • Loading branch information
joe-p authored May 17, 2024
1 parent f9454a1 commit 8e5e34c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ You should then be able to resolve identifiers locally using simple `curl` reque
curl -X GET http://localhost:8080/1.0/identifiers/did:keri:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP
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:algo:mainnet:app:1845671812:da490f2d15a625459bf970a3d55e1a646dfd3a956d011546e953e945d39fdada
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 @@ -174,7 +174,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev
| [did-keri](https://github.com/hyperledger-labs/did-webs-resolver) | 0.1 | [0.1](https://trustoverip.github.io/tswg-did-method-webs-specification/) | [gleif/did-keri-resolver](https://hub.docker.com/r/gleif/did-keri-resolver) | KERI |
| [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-algo](https://github.com/algorandfoundation/did-algo) | 1.0.0 | [2.0](https://github.com/algorandfoundation/did-algo/blob/main/SPEC.md) | [ghcr.io/algorandfoundation/did-algo](https://ghcr.io/algorandfoundation/did-algo) | 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 |


Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ services:
ports:
- "8148:8888"
driver-did-algo:
image: ghcr.io/aidtechnology/algoid-resolver:0.6.0
image: ghcr.io/algorandfoundation/did-algo:v1.0.0
ports:
- "8149:9091"
driver-did-itn:
Expand Down
23 changes: 12 additions & 11 deletions uni-resolver-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ server:
resolve: "/1.0/identifiers"
methods: "/1.0/methods"
testIdentifiers: "/1.0/testIdentifiers"
port: '8080'
port: "8080"
spring:
profiles:
active: ${uniresolver_web_spring_profiles_active:default}
uniresolver:
drivers:
- pattern: "^(did:btcr:.+)$"
url: ${uniresolver_web_driver_url_did_btcr:http://driver-did-btcr:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:btcr:xz35-jznz-q9yu-ply
- did:btcr:xkrn-xz7q-qsye-28p
- did:btcr:x705-jznz-q3nl-srs
- pattern: "^(did:sov:(?:(?:\\w[-\\w]*(?::\\w[-\\w]*)*):)?(?:[1-9A-HJ-NP-Za-km-z]{21,22}))$"
url: ${uniresolver_web_driver_url_did_sov:http://driver-did-sov:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:sov:WRfXPg8dantKVubE3HX8pw
- did:sov:test:6cgbu8ZPoWTnR5Rv5JcSMB
Expand All @@ -31,7 +31,7 @@ uniresolver:
- did:sov:indicio:demo:KKyAeG7woJMV6MhhAREVKp
- pattern: "^(did:indy:.+)$"
url: ${uniresolver_web_driver_url_did_indy:http://driver-did-indy:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:indy:sovrin:WRfXPg8dantKVubE3HX8pw
- did:indy:sovrin:test:6cgbu8ZPoWTnR5Rv5JcSMB
Expand All @@ -42,18 +42,18 @@ uniresolver:
- did:indy:nxd:LLDnZr8iaYM3F77pUWXnVX
- pattern: "^(did:v1:nym:.+)$"
url: ${uniresolver_web_driver_url_did_v1_nym:http://uni-resolver-did-v1-driver:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:v1:nym:z6Mkmpe2DyE4NsDiAb58d75hpi1BjqbH6wYMschUkjWDEEuR
- pattern: "^(did:v1:test:nym:.+)$"
url: ${uniresolver_web_driver_url_did_v1_test_nym:http://uni-resolver-did-v1-driver:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:v1:test:nym:z6MkgF4uJbLMoUin2uKaBf4Jb1F7SHzuALE8Ldq8FPPpHE9t
- did:v1:test:nym:z6MkmWLiAt5FtfwgFJwMDGS1GiFn1KpUXsd7bn1v2hLyXvud
- pattern: "^(did:stack:.+)$"
url: ${uniresolver_web_driver_url_did_stack:http://driver-did-stack:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:stack:v0:16EMaNw3pkn3v6f2BgnSSs53zAKH4Q8YJg-0
- pattern: "^(did:web:.+)$"
Expand Down Expand Up @@ -157,7 +157,7 @@ uniresolver:
- did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC
- pattern: "^(did:unisot:.+)$"
url: ${uniresolver_web_driver_url_did_unisot:http://unisot-did-driver:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:unisot:test:n1aAmTXAg4o44Z9k8YCQncEY91r3TV7WU4
- pattern: "^(did:sol:.+)$"
Expand Down Expand Up @@ -222,7 +222,7 @@ uniresolver:
- did:mydata:z6MkjgVfx2YE7SUBZBej65E7UHSjAyMLukPvdPjPytpTy1ZM
- pattern: "^(did:dns:.+)$"
url: ${uniresolver_web_driver_url_did_dns:http://driver-did-dns:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:dns:danubetech.com
- pattern: "^(did:everscale:.+)$"
Expand Down Expand Up @@ -287,7 +287,7 @@ uniresolver:
- did:bid:ef214PmkhKndUcArDQPgD5J4fFVwqJFPt
- pattern: "^(did:polygonid:.+)$"
url: ${uniresolver_web_driver_url_did_polygonid:http://driver-did-polygonid:8080/}
propertiesEndpoint: 'true'
propertiesEndpoint: "true"
testIdentifiers:
- did:polygonid:polygon:amoy:2qZBvRQPTZwYEKDVT3xY8W8zXvznqykyeqjSmXdz4U
- pattern: "^(did:pdc:.+)$"
Expand Down Expand Up @@ -322,7 +322,8 @@ uniresolver:
- pattern: "^(did:algo:.+)$"
url: http://driver-did-algo:9091/
testIdentifiers:
- did:algo:426165491c77a6c95eeed8d0420b38b0afbe9057c4f33147eb90fafd32aaad22-591154170
- did:algo:mainnet:app:1845671812:da490f2d15a625459bf970a3d55e1a646dfd3a956d011546e953e945d39fdada
- did:algo:app:1845671812:da490f2d15a625459bf970a3d55e1a646dfd3a956d011546e953e945d39fdada
- pattern: "^(did:itn:.+)$"
url: http://driver-did-itn:8080/
testIdentifiers:
Expand Down

0 comments on commit 8e5e34c

Please sign in to comment.