Skip to content

Latest commit

 

History

History

did-resolver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@zcloak/did-resolver

The repo define DidDocument and DidResolver

Resolve the DID synctax liked string and then fetching the DID Document from the registry, the registry might be a centralized database or a blockchain.

Each resolver should extend the class DIDResolver and implement the resolve method that accepts a DID and returns the DidDocument.

Usage

Installation -

yarn add @zcloak/did-resolver

Functions can be imported as follows:

import { ArweaveDidResolver } from '@zcloak/did-resolver';