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

Add driver-did-zkjm #466

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

saishibunb
Copy link

added the resolver for JupiterMetaZK (zkjm) DID

@BernhardFuchs
Copy link
Member

Tried the driver and when resolving the example DID it returns a 404 error with these logs:

 * Serving Flask app 'app'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:8080
 * Running on http://192.168.88.94:8080
Press CTRL+C to quit
192.168.41.120 - - [21/Feb/2025 14:42:48] "GET /1.0/identifiers/1.0/identifiers/did:zkjm:mainnet:dc55d34ae487beb2af68b47e4ab43261 HTTP/1.1" 404 -

@saishibunb
Copy link
Author

Fixed the issue. please check

@BernhardFuchs
Copy link
Member

The logs in the driver look good now:

WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:8080
 * Running on http://192.168.24.76:8080
Press CTRL+C to quit
 * Serving Flask app 'app'
 * Debug mode: off
192.168.62.204 - - [27/Feb/2025 11:48:31] "GET /1.0/identifiers/did:zkjm:mainnet:d90e52b36a2e2306dc873ec0f7a94351 HTTP/1.1" 200 -

but the uni-resolver returns following result:

[notFound] undefined

and the DEREFERNCING METADATA tab show this:

{
  "error": "notFound",
  "contentType": "application/did"
}

Does the driver with the uni-resolver-web application work for you locally?

@peacekeeper
Copy link
Member

@saishibunb Please check DIDs did:zkjm:mainnet:dc55d34ae487beb2af68b47e4ab43261 and did:zkjm:mainnet:d90e52b36a2e2306dc873ec0f7a94351 and test if the resolver and driver work for your locally.

@saishibunb
Copy link
Author

@saishibunb Please check DIDs did:zkjm:mainnet:dc55d34ae487beb2af68b47e4ab43261 and did:zkjm:mainnet:d90e52b36a2e2306dc873ec0f7a94351 and test if the resolver and driver work for your locally.

Yes. It works.

@peacekeeper
Copy link
Member

@saishibunb How exactly are you running it locally?

docker run -p 8081:8080 saishibu38380/uni-resolver-driver-zkjm:v1.0.0
curl -X GET http://localhost:8081/1.0/identifiers/did:zkjm:mainnet:dc55d34ae487beb2af68b47e4ab43261

Returns:

{"didDocument":null,"didDocumentMetadata":{},"didResolutionMetadata":{"error":"notFound"}}

@saishibunb
Copy link
Author

saishibunb commented Feb 27, 2025

did:zkjm:mainnet:dc55d34ae487beb2af68b47e4ab43261

same as you did.

Edit - this DID does not exists, so removed from readme- did:zkjm:mainnet:dc55d34ae487beb2af68b47e4ab43261

i am seeing the dids on dev resolver.

image

@peacekeeper
Copy link
Member

@saishibunb I think this works.. Can you resolve merge conflicts? Then I think we can merge..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants