[proposal] add did:pkh support #1024
Labels
bounty
enhancement
New feature or request
good first issue
Good for newcomers
pinned
don't close this just for being stale
Requirements
@veramo/did-provider-pkh
- at least for ethereumThis requires an implementation of
AbstractIdentifierProvider
Since did:pkh doesn't support updates, this provider would be very similar to
@veramo/did-provider-key
, in the sense that most methods would be stubs, and that DIDs are created from a key.The first implementation can support only the ethereum based DIDs,
did:pkh:eip155:...
.The parameters for creating a DID linked to a particular network should be inspired by
@veramo/did-provider-ethr
(the same file has a lot of other code that should prove useful).testing
The PR closing this issue should contain a test where a
did:pkh
is created and used as an issuer in a call tocreateVerifiableCredential()
, then that credential should be verified successfully usingverifyCredential()
.It is acceptable to provide only integration tests for this (meaning tests added to the top level
__tests__
folder)constraints
The text was updated successfully, but these errors were encountered: