Concept
Verifiable Credentials Verifier (VCV) is a module that provides verifiable presentations verification for transactions on the app - D-Chain.
For every message in a transaction, the AnteHandler decorator routes the corresponding verifiable
presentation (in the ExtensionOptions
) to the predefined verifier contract and conditions. This allows other modules
and dApps on D-Chain to reuse the verification mechanism.
- provides an AnteHandler decorator to verify D-Chain transactions that requires verifiable presentation verification;
- stores verifiers (smart contracts) addresses;
- stores the logic on how and when to use them;
- allows the governance to manage the verifiers and the usage logic.
This module depends on the x/wasm
module and assumes that the relevant verifier addresses has valid contract codes.
Currently the SD-JWT verifier is supported. It is also used in the AVIDA protocol. This allows for selectively disclosed JWTs as verifiable credential presentations to be verified on-chain.