Storage

Storage Management

1. Store a Credential/Presentation

To store a credential or presentation, use the store method. This method accepts a credential or presentation object.

const credential = your_credential;

await learnCard.store['LearnCard Network'].uploadEncrypted(credential);

2. Resolve a URI to a Credential/Presentation

To resolve a URI to a credential or presentation, use the learnCard.read method. This method accepts a uri parameter.

const uri = 'your_credential_or_presentation_uri';

await learnCard.read.get(uri);

These are the storage-related API calls available in the LearnCard Network API. Use these methods to manage the storage and retrieval of credentials and presentations on the LearnCard Network.

Last updated