Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 1.5 KB

GENERALIZE.md

File metadata and controls

53 lines (37 loc) · 1.5 KB

If GreenLight is to be decoupled from TheOrgBook, there are a few changes that will need to be made. This is a rough list of expected changes to help you get started.

Current Claims Exchange API

This is a provisional implementation that will likely evolve over time. You may want to change this for your implementation.

  1. Make a claim offer to the holder.

POST <TheOrgBook>/bcovrin/generate-claim-request

{
  "did": <issuer did>,
  "seqNo": <schema sequence number>,
  "claim_def": <claim definition json>
}

returns claim request json

  1. Send claim to holder.

POST <TheOrgBook>/bcovrin/store-claim

{
  "claim_type": <relevant schema name>,
  "claim_data": <claim json>
}
  1. Send proof request

POST /bcovrin/construct-proof

{
  "filters": <object of filters>,
  "proof_request": <proof request json>
}

Important Files