0.3.0-unstable.10 • Published 1 year ago

@transmute/did-key-common v0.3.0-unstable.10

Weekly downloads
436
License
Apache-2.0
Repository
github
Last release
1 year ago

did:key common

This module contains commont interfaces and factories for did:key.

npm i @transmute/did-key-common@latest --save

Usage

import { Ed25519KeyPair } from '@transmute/ed25519-key-pair';
const resolve = getResolver(Ed25519KeyPair);
const { didDocument } = await resolve(did, {
  accept: 'application/did+json',
});