hyperledger / aries-vcx

aries-vcx is set of crates to work with DIDs, DID Documents, DIDComm, Verifiable Credentials and Hyperledger Aries.
https://didcomm.org
Apache License 2.0
124 stars 83 forks source link

Extract `protocols` crate #698

Closed Patrik-Stas closed 1 year ago

Patrik-Stas commented 1 year ago

Module aries-vcx/src/protocols/ should be a separate crate completely unaware of existence of ledger, wallet or particular credential types. Instead, these particular implementations should be injectable.

It's worth of note that with current approach, the state machines are still aware of anoncreds implementation details, as the interfaces require passing quite specific information like tails_dir or rev_reg_id. So the current state machines are currently not generic enough to support different type of credentials, like LD or BBS, but I think that's fine for now.

Patrik-Stas commented 1 year ago

Turns out to be duplicate of https://github.com/hyperledger/aries-vcx/issues/113