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/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev
| [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 |
| [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-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: 10 additions & 0 deletions 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 @@ -76,6 +77,7 @@ services:
uniresolver_web_driver_url_did_webs:
uniresolver_web_driver_url_did_content:
uniresolver_web_driver_url_did_iden3:
uniresolver_web_driver_url_did_earthid: http://driver-did-earthid:8080/1.0/identifiers/

driver-did-btcr:
image: universalresolver/driver-did-btcr:latest
Expand Down Expand Up @@ -374,3 +376,11 @@ services:
image: ghcr.io/iden3/driver-did-iden3:v0.0.4
ports:
- "8152:8080"

driver-did-earthid:
image: vibhi09/driver-did-earthid:latest
Copy link
Member

Choose a reason for hiding this comment

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

Please use a stable version instead of "latest"

Copy link
Author

Choose a reason for hiding this comment

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

Sure let me retest and update the request.

Copy link
Author

Choose a reason for hiding this comment

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

Hi @peacekeeper , I've updated the repo with a stable version and updated port number kindly review my latest commit in the current pull request and let me know if any changes required.
Thank you!

platform: linux/arm64/v8
environment:
baseUrl: "https://did.myearth.id/v1/resolve"
ports:
- "8153:8080"
Copy link
Contributor

@FabioPinheiro FabioPinheiro Oct 24, 2024

Choose a reason for hiding this comment

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

We are using 8153 for the driver-did-prism

Suggested change
- "8153:8080"
- "8154:8080"

Copy link
Author

Choose a reason for hiding this comment

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

I've updated the port number as suggested. Please let me know if any changes.

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 @@ -339,4 +339,7 @@ uniresolver:
propertiesEndpoint: "true"
testIdentifiers:
- did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw

- pattern: "^(did:earthid:.+)$"
url: ${uniresolver_web_driver_url_did_earthid:http://driver-did-earthid:8080/1.0/identifiers/}
testIdentifiers:
- did:earthid:66dab28d276a3d08d4f92fd2
Loading