Elastos IO adapter
For some operations, the DID SDK requires a DID adapter to be a provider. A DID adapter is basically a single method, that can query the Elastos Identity blockchain in order to retrieve DID Document, or Verifiable credentials.
For convenience, the connectivity SDK provides a simple DID adapter, that communicates with the elastos.io identity node (service provided by the gelaxy core blockchain team). Of course, dApp developers are free to implement their own custom DID adapters to talk to the identity blockchain node or their choice instead of using this one.
The adapter can be instantiated like this:
Last updated