Closed kimdhamilton closed 1 year ago
Note: I was confused because we have a type called DidKey, but (I'd forgotten) it's just the general data model from DID documents (see below). I.e. it's not tied to the did:key
did method, as I'd feared. This is ok for now, but we might consider renaming it if it causes confusion.
export type DidKey = {
id: string
controller: string
subject: string
publicKey: Uint8Array
privateKey: Uint8Array
}
Need better abstractions for did methods. As mentioned in #378, also add support for other methods. (did:ion as well?)