The polygon resolver library is used for resolving DID’s in Polygon Method Space. The module is supposed to be used as an integration to polygon library.
npm install
In combination with the DID-Resolver:
import { resolveDID } from 'polygon-did-resolver'
const didDocument = await resolveDID(did)
The function returns a DID Document.
For testing use the command
npm run test