@evan.network/did-resolver
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Evan DID Resolver

This package can be used to query the evan.network DID resolver API.

const{
    EvanDIDDocument,
    EvanDIDResolver
 } = require('@evan.network/did-resolver')

const resolver = new EvanDIDResolver("https://evan.network/did/api");
const did = "did:evan:0x126E901F6F408f5E260d95c62E7c73D9B60fd734";
try {
    const didDocument: EvanDIDDocument = resolver.resolve(did);
    console.log(didDocument);
} catch(e) {
    console.error(e);
}

Package Sidebar

Install

npm i @evan.network/did-resolver

Weekly Downloads

0

Version

1.0.1

License

AGPL-3.0

Unpacked Size

49.9 kB

Total Files

11

Last publish

Collaborators

  • vineetpant
  • tschuck
  • wulfraem
  • s3bb1