Options
All
  • Public
  • Public/Protected
  • All
Menu

Module key-did-resolver

did:key method resolver

This package contains did:key method resolver implementation

Installation

$ npm install key-did-resolver

Contributing

We are happy to accept small and large contributions. Make sure to check out the Ceramic specifications for details of how the protocol works.

License

Index

Interfaces

Functions

Object literals

Functions

encodeKey

  • encodeKey(key: Uint8Array): string

keyToDidDoc

  • keyToDidDoc(pubKeyBytes: Uint8Array, fingerprint: string): any

keyToDidDoc

  • keyToDidDoc(pubKeyBytes: Uint8Array, fingerprint: string): any

Object literals

Const prefixToDriverMap

prefixToDriverMap: object

231

231: "/home/runner/work/js-ceramic/js-ceramic/packages/key-did-resolver/src/secp256k1" = secp256k1

237

237: "/home/runner/work/js-ceramic/js-ceramic/packages/key-did-resolver/src/ed25519" = ed25519