Skip to content

A small package for consuming the evan.network did resolver web endpoint

License

Notifications You must be signed in to change notification settings

evannetwork/did-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

A small package for consuming the evan.network did resolver web endpoint

Resources

License

Stars

Watchers

Forks

Packages

No packages published