Open-Attestation/open-attestation

as a developer, I want to understand how v3 wrapping works, and how is it different from v2?

Closed this issue · 3 comments

  • differences between v2 wrap and v3 wrap
  • asynchronous or not

top level differences:

  • v2 is synchronous, v3 is asynchronous.
  • v2 does not follow w3c VC standards
  • v3 follows w3c VC standards, and thus requires an additional VC standards check
  • how it does so is by calling expand on the derived contexts from @govtech/json-ld library.
  • after expanding, it will perform a series of checks to ensure whether the data conforms to the expanded schema

should we move this to the doc section?

moved into readme, closing