unisot-did-resolver

1.0.1 • Public • Published

@unisot/unisot-did-resolver

This module encapsulates the logic required to resolve UNISOT DID identities. The exported interface is compatible with the DIF DID-Resolver module.

Please note that this module is not meant to be used directly, but rather through an integration with the DIF DID-Resolver module (as shown in the example below).

Usage examples

In combination with the DIF DID-Resolver:

import {Resolver} from "did-resolver";
import {getResolver} from "unisot-did-resolver";

const resolver = new Resolver(getResolver());
const didDocument = await resolver.resolve(did);
// didDocument now contains the corresponding Did Document in JSON form.

Readme

Keywords

Package Sidebar

Install

npm i unisot-did-resolver

Weekly Downloads

2

Version

1.0.1

License

Apache-2.0

Unpacked Size

15.6 kB

Total Files

4

Last publish

Collaborators

  • mirko.stanic