@bhutan-ndi/polygon-did-resolver
Version:
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. This release is for testing Ethereum integration
29 lines (18 loc) • 468 B
Markdown
# 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 integration to polygon library.
## Install
```
pnpm install
```
## Usage
In combination with the DID-Resolver:
```js
import { resolveDID } from 'polygon-did-resolver'
const didDocument = await resolveDID(did)
```
The function returns a DID Document.
## Testing
For testing use the command
```
pnpm run test
```