Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Earthid driver integration #441

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ 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_web_driver_url_did_earthid=http://driver-did-earthid:8080/1.0/identifiers/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev
| [did-iota](https://github.com/iotaledger/uni-resolver-driver-iota) | 0.1.2 | 1.0 | [iotaledger/uni-resolver-driver-iota](https://hub.docker.com/r/iotaledger/uni-resolver-driver-iota) | IOTA DID |
| [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-earthid](https://github.com/vibhi09/driver-did-earthid) | 0.1.0 | [1.0](https://github.com/earthid/earthid-did-method-specification) | [vibhi09/driver-did-earthid](https://hub.docker.com/r/vibhi09/driver-did-earthid) | EarthID DID Method |



## More Information
Expand Down
10 changes: 9 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ networks:
name: universal-resolver

services:

uni-resolver-web:
image: universalresolver/uni-resolver-web:latest
ports:
Expand Down Expand Up @@ -77,7 +78,7 @@ services:
uniresolver_web_driver_url_did_content:
uniresolver_web_driver_url_did_iden3:
uniresolver_web_driver_url_did_prism:

uniresolver_web_driver_url_did_earthid:

driver-did-btcr:
image: universalresolver/driver-did-btcr:latest
Expand Down Expand Up @@ -380,3 +381,10 @@ services:
image: ghcr.io/fabiopinheiro/uni-resolver-driver-did-prism:0.2
ports:
- "8153:9090"
driver-did-earthid:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls fix issue with indendation

image: vibhi09/driver-did-earthid:v1.0.1
platform: linux/arm64/v8
environment:
baseUrl: "https://did.myearth.id/v2/resolve"
ports:
- "8154:8080"
2 changes: 1 addition & 1 deletion driver/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
/target
/bin/
/.idea/
*.iml
*.iml
5 changes: 4 additions & 1 deletion uni-resolver-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,7 @@ uniresolver:
- did:prism:c36cd59bbc62dee1925e1343a8fed051416e417116d6169d060746f1e6816cd4
- did:prism:0d8481c41b654794f02922601f84811763c655dcfc376acf841eb996846d5e68 # deactivated
- did:prism:52e163e8e53466b808e53df870bccd0a066aa4d05af9b689f5c73edcbe23d625 # with updates

- pattern: "^(did:earthid:.+)$"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls fix issue with indendation

url: ${uniresolver_web_driver_url_did_earthid:http://driver-did-earthid:8080/1.0/identifiers/}
testIdentifiers:
- did:earthid:testnet:6XXVvDkgXCjD6fy62dWaQdyk5368yE1QFdkDpoCFS1d1:0.0.5032772
Loading