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

Vidos resolver example #35

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

Conversation

toteto
Copy link

@toteto toteto commented Apr 16, 2024

This PR adds Vidos as optional resolver that can be used in verify DID examples.

Implementation overview

  • VidosResolver is an example implementation of Resolvable that uses Vidos resolver instance as resolution mechanism.
  • The configuration is being made via the .env file, the .env.example is updated with placeholder variable names.
  • The creation of the didResolver has been moved to createDidResolver that creates the most appropriate resolver for the given configuration. This will create the VidosResolver if there is Vidos configuration, otherwise the regular Onyx resolver via the getSupportedResolvers helper method. This method returns object of the resolver and the methods in order for future expansions in the examples to be able to use these objects.

Other

I have accepted the contribution CLA and have send it, as described in https://github.com/jpmorganchase/onyx-ssi-sdk-examples/blob/main/CONTRIBUTING.md

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.

1 participant