Currently the library is designed with one DID method in mind, i.e. we intend one registry to be instantiated, and used throughout the relying applications. Furthermore, in some cases (e.g. the publicKeyToDID function, the DidDocument.fromPublicKey function, the did:jolo DID prefix is assumed), which can cause further interoperability issues.
TODO
[ ] Provide a generalized registry interface that can be extended with extra registries, and used to resolve DIDs "dynamically" based on the prefix.
Description
Currently the library is designed with one DID method in mind, i.e. we intend one
registry
to be instantiated, and used throughout the relying applications. Furthermore, in some cases (e.g. thepublicKeyToDID
function, theDidDocument.fromPublicKey
function, thedid:jolo
DID prefix is assumed), which can cause further interoperability issues.TODO
registry
interface that can be extended with extra registries, and used to resolve DIDs "dynamically" based on the prefix.