Closed TimoGlastra closed 1 year ago
QuestionL Will the Indy AnonCreds Methods have to compensate for this? Read from the ledger the object, and then (if necessary?) convert it to the AnonCreds format?
Yes, but that's already what is happening at the moment. The data structure that is used by the anoncreds libraries is different from what is stored on the ledger.
The indy-sdk had methods to do this transformation (e.g. parseGetSchemaResponse
would transform the ledger response to the structure the anoncreds code expects)
Updates the schema model to use camelCase for the attrNames property. this is because the AnonCreds data models use camelCase by default.
Model in AnonCreds RS (same as Indy Shared RS): https://github.com/hyperledger/anoncreds-rs/blob/main/anoncreds/src/data_types/anoncreds/schema.rs#L19-L26