Skip to content

getAddressByKey

getAddressByKey(input): CordAddress

Internal: derive the address part of the DID when it is created from authentication key.

Parameters

input: Pick<DidVerificationKey, "type" | "publicKey">

The authentication key.

Returns

CordAddress

The expected address of the DID.

Source

did/src/Did.utils.ts:126