Skip to main content

Concept

Verifiable Credentials Verifier (VCV) is a module that provides verifiable presentations verification for transactions on the app - Dchain.

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 Dchain to reuse the verification mechanism.

  1. provides an AnteHandler decorator to verify Dchain transactions that requires verifiable presentation verification;
  2. stores verifiers (smart contracts) addresses;
  3. stores the logic on how and when to use them;
  4. 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.