Implement a permitify service endpoint to enable the creation of dynamic recipes
swcurran opened this issue · 2 comments
swcurran commented
Create a permitify endpoint that requests the prerequisite credential definitions for a given credential issued by the Service. Something like:
/api/credential/prerequisites?credential=<credDef>
Returns:
{
"prerequisites" : [
"prerequisite" : "<credDef>"
]
}
The endpoint would be called recursively from a goal credential to create a Permitify recipe.
Use that endpoint to dynamically generate a recipe page, including constructing a proof request that is passed to your wallet to determine which of the credentials you already have, and the ordering needed for getting the rest of the credentials.
swcurran commented
@nrempel - is this for you? Reassign as appropriate. I assume this is active work so have put in Sprint Backlog.
nrempel commented
Yep, this looks to be pretty much what I'm working 👍🏼