dhiway / cord.js

Cord JS API
Apache License 2.0
69 stars 49 forks source link

'credential': provide better variable and method names #49

Closed amarts closed 1 year ago

amarts commented 1 year ago

In the VC ecosystem, 'Credential' is used synonyms with Verifiable Credential. But in our SDK, credential is used as synonym with a 'stream' with signature, which is source for a VC (or any other format if we need to build output conversion libraries), but not VC by itself.

This should be properly captured in SDK's codebase, and documentation. We can go ahead with 'document' as the variable name in the codebase and documentation for this. (Please suggest better name too).

amarts commented 1 year ago

@dhiway/engineering