@transmute/did-web
v0.7.0-unstable.82
Published
``` npm i @transmute/did-web@latest --save ```
Downloads
86
Readme
@transmute/did-web
npm i @transmute/did-web@latest --save
Usage
DID Web Resolver
import didWeb from '@transmute/did-web';
const resolve = async (did) => {
if (did.startsWith('did:web')){
const didDocument = await didWeb.resolve(did);
return { didDocument, didResolutionMetadata: {}};
}
}