Closed andrea-dintino closed 8 months ago
This can be done by using the universal resolver, it is not working at the moment but it seems a simply GET to
https://dev.uniresolver.io/1.0/identifiers/*did*
For now I think it's enough that we resolve did:dyne What you mention, it's something we should look at in the near future :-)
We can perform a GET from https://dev.uniresolver.io/1.0/identifiers/*did*
and in case of failure, if the did starts with did:dyne: then we can perform a GET from https://did.dyne.org/dids/*did*
in this way it can work with all DIDs and even if the universarl resolver is down we can still resolve our DIDs
Statement:
Given I resolve the did 'my_did' from 'my_url' and save the output into 'my_variable'
Since the W3C-DID method are (kinda) standardize, it should be easy to have a statement that resolves a DID (or at least just for did:dyne DIDs), this can come in handy in plenty of situations. Something like:
Given I resolve the did named 'myDid' and store into 'didDocument'
Input:
Output: