@evan.network/did-resolver
Resolving DIDs on the evan.network by calling the resolver smart agent
Last updated 5 months ago by philser .
AGPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @evan.network/did-resolver 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 months ago)

1 Versions

  • 1.0.0                                ...           5 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |