6.0.2 • Published 2 years ago

bedrock-web-vc-store v6.0.2

Weekly downloads
9
License
-
Repository
github
Last release
2 years ago

Bedrock Web Verifiable Credentials Store (bedrock-web-vc-store)

A Javascript library for storing Verifiable Credentials for Bedrock web apps

Table of Contents

Background

TBD

See also (related specs):

Install

To install locally (for development):

git clone https://github.com/digitalbazaar/bedrock-web-vc-store.git
cd bedrock-web-vc-store
npm install

Usage

import {getRemoteStorage} from 'bedrock-web-data-hub';
import VerifiableCredentialStore from 'bedrock-web-vc-store';

const hub = await getRemoteStorage({accountId: 'test'});

const vcStore = new VerifiableCredentialStore({hub});

vcStore.init(); // create necessary indexes

await vcStore.insert({credential});

Contribute

See the contribute file!

PRs accepted.

Small note: If editing the Readme, please conform to the standard-readme specification.

Commercial Support

Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com

License

Bedrock Non-Commercial License v1.0 © Digital Bazaar

5.1.0

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

6.0.2

2 years ago

5.0.0

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

4 years ago

1.0.0

4 years ago

0.1.0

5 years ago