Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 514 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 514 Bytes

Polygon DID Resolver

The polygon resolver library is used for resolving DID’s in Polygon Method Space. The module is supposed to be used as an integeration to polygon library.

Install

npm install

Usage

In combination with the DID-Resolver:

import { resolveDID } from "polygon-did-resolver";
const didDocument = await resolveDID(did, privateKey, url?, contractAddress?);

The function returns a DID Document.

Testing

Testing

For testing use the command

npm run test