The proof object is another complex JSON constructed by searching the storage for credentials that could be used to respond to a particular proof request. The best approach for this might take some experimentation but it should abstract away the complexity of this code from an application developer, providing a friendly API to programmatically construct proofs.
Things to consider include the different types of proof attributes - self_attested, revealed, predicates. The fact that there might be multiple credentials to match a proof request and the need to let the application decide which to use.
The first task is to create a proposal for how to develop this class.
Are you interested in working on this improvement yourself?.
Description
The proof object is another complex JSON constructed by searching the storage for credentials that could be used to respond to a particular proof request. The best approach for this might take some experimentation but it should abstract away the complexity of this code from an application developer, providing a friendly API to programmatically construct proofs.
Things to consider include the different types of proof attributes - self_attested, revealed, predicates. The fact that there might be multiple credentials to match a proof request and the need to let the application decide which to use.
The first task is to create a proposal for how to develop this class.
Are you interested in working on this improvement yourself?.
Additional Context
An example can be found under the present proof tutorial - https://github.com/OpenMined/PyDentity/blob/master/tutorials/aries-basic-controller/notebooks/bob/Part%206%20-%20Present%20Proof.ipynb